Skip to content

Instantly share code, notes, and snippets.

@istallia
Created August 14, 2020 01:57
Show Gist options
  • Save istallia/da34c5847d50d005cecef2b57d0d6291 to your computer and use it in GitHub Desktop.
Save istallia/da34c5847d50d005cecef2b57d0d6291 to your computer and use it in GitHub Desktop.
[Stormworks] 公開したマイコンのロジックとプロパティの説明 (Description of the logic and properties of the published microcontroller)

Auto Chasing Controller v2

Input

Name 説明(JP) Description(EN)
On/Off 自動追跡のOn/Off Automatic chasing On/Off
Vehicle Number ビークルの順番を表す番号 Number for the order of the vehicle
Switch Frequency 周波数の切り替え Frequency Switching
Received Data ラジオで受け取ったデータ(コンポジット) Data received by radio (composite)
Engine On/Off エンジンの状態 Engine condition
W/S Input 速度をコントロールするためのキーボード入力 Keyboard input for controlling speed
GPS XY GPSセンサに接続 Connect to GPS sensor
Angle (Compass) コンパスセンサに接続 Connect to compass sensor
A/D Input ヨーを制御するためのキーボード入力 Keyboard input for controlling yaw
Speed ビークルの速度(単位は自由) Speed of vehicle (Unit is free)

Output

Name 説明(JP) Description(EN)
Send Data (composite) ラジオで送信するデータ Data to be sent over the radio
Send Data (On/Off) ラジオの送受信モードの切り替え Switching the radio transmit/receive mode
Radio Frequency ラジオアンテナに接続 Connect to radio antenna
Engine On/Off 先頭ビークルのエンジンの状態 Engine condition of first vehicle
W/S Output 速度をコントロールするための出力 Output for controlling speed
A/D Output ヨーを制御するための出力 Output for controlling yaw

Property

Name 説明(JP) Description(EN)
Inter-Vehicular Distance [m] ビークル同士の距離 The distance between the vehicles
Radio Frequency 1 (On) / 2 (Off) ラジオの周波数 Frequency of radio
[W/S] PID Gain 車間を保つためのPIDパラメータ PID parameters for keeping the distance between vehicles
Distance Threshold [m] キューに到達したとする範囲の半径 The radius of the area where you claim to have reached the queue
[A/D] PID Gain ヨーを操作するためのPIDパラメータ PID parameters for controlling yaw
[A/D] Clamp ヨーの制御量を制限 Limiting the level of yaw control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment