pylon_interfaces/msg/MotorCommand
型一覧 · Topic一覧 · 上流のMotorCommand.msg
サイトに保存した定義から生成しています。上流の最新版とは異なる場合があります。取得元・表記規約を参照してください。
bash
ros2 interface show pylon_interfaces/msg/MotorCommandフィールド
| 名前 | 型 | 値 / 明示既定値 |
|---|---|---|
header | std_msgs/Header | — |
vessel_id | string | — |
controller_id | string | — |
lease_id | string | — |
sequence | uint64 | — |
id | string | — |
mode | uint8 | — |
enabled | bool | — |
position | float64 | — |
velocity | float64 | — |
effort | float64 | — |
timeout_sec | float64 | — |
定数
| 名前 | 型 | 値 / 明示既定値 |
|---|---|---|
MODE_POSITION | uint8 | 0 |
MODE_VELOCITY | uint8 | 1 |
MODE_EFFORT | uint8 | 2 |
元の定義
text
std_msgs/Header header
# Optional compatibility guard against commands for a previous active_vessel.
# Leave empty: the bridge binds commands to active_vessel.
string vessel_id
# Optional producer stream identity for duplicate rejection, not ownership.
# Leave both IDs and sequence at defaults for bridge-managed numbering.
string controller_id
string lease_id
uint64 sequence
string id
uint8 MODE_POSITION=0
uint8 MODE_VELOCITY=1
uint8 MODE_EFFORT=2
uint8 mode
bool enabled
float64 position
float64 velocity
float64 effort
float64 timeout_sec