Controls: left/right arrow keys to rotate robot, up arrow key to move forward press space to execute DMS This is a test of using trigonometry to create a dead man's switch(DMS) for a robot that 1. creates a virtual x and y map 2. lists down every movement and rotation 3. calculates x and y pos via trigonometry (opposite and tangent) 4. When DMS is activated, calculates distance and angle needed to return to 0,0 via trigonometry 5. executes rotation and movement ~~~~~~~~~~~~~~~~~~日本語~~~~~~~~~~~~~~~~~~~ 説明:矢印キーで回転・前に移動 スペースキーでDMS発動 このプロジェクトは三角法を使ってロボットにデッドマンズスイッチ(https://en.wikipedia.org/wiki/Dead_man%27s_switch)(DMS)を投入してみた ・動きながら回転と促進距離を利用しxとyを計算して ・DMS発動時、xとyを利用して0,0に行くのに必要な角度と距離を計算して ・計算した距離・角度にいく
This is a test for the 2022 FLL robotics competition 2022FLL(ファーストレゴリーグ)のテストです。