Skip to content

pylon_interfaces/msg/MotorCommand ​

型一覧 · Topic一覧 · 上流のMotorCommand.msg

サイトに保存した定義から生成しています。上流の最新版とは異なる場合があります。取得元・表記規約を参照してください。

bash
ros2 interface show pylon_interfaces/msg/MotorCommand

フィールド ​

名前型値 / 明示既定値
headerstd_msgs/Header—
vessel_idstring—
controller_idstring—
lease_idstring—
sequenceuint64—
idstring—
modeuint8—
enabledbool—
positionfloat64—
velocityfloat64—
effortfloat64—
timeout_secfloat64—

定数 ​

名前型値 / 明示既定値
MODE_POSITIONuint80
MODE_VELOCITYuint81
MODE_EFFORTuint82

元の定義 ​

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

PyLoNを使ったROS2アプリケーション開発のためのガイドとAPIリファレンス