bitcraze / crazyflie-simulation

MIT License
61 stars 26 forks source link

/crazyflie/gazebo/command/motor_speed topic don't seem #32

Closed omr-web closed 1 year ago

omr-web commented 1 year ago

I run crazyflie_world.sdf but I dont see /crazyflie/gazebo/command/motor_speed topic so, when I write ign topic -t /crazyflie/gazebo/command/motor_speed --msgtype ignition.msgs.Actuators -p 'velocity:[2500,2500,2500,2500]' , nothing happend.

knmcguire commented 1 year ago

which version of gazebo are you using?

omr-web commented 1 year ago

I use gazebo ignition garden, I solved the problem. I had to start the gazebo with the -r parameter

knmcguire commented 1 year ago

Great, then I'll close the issue

omr-web commented 1 year ago

I wanted to subscribe to a topic that came with the ros2 bridge to the plugin code you wrote. How can I do that? How can I subscribe to a topic from Ros Bridge in an ignition gazebo?

knmcguire commented 1 year ago

The solution of the last comment is in https://github.com/bitcraze/crazyflie-simulation/issues/33