bitcraze / crazyflie-simulation

MIT License
64 stars 27 forks source link

gazebo motor commands don't respond #57

Closed knmcguire closed 5 months ago

knmcguire commented 7 months ago

The commands for the motor speeds for the gazebo model do exist, but when this command is executed:

gz topic -t /crazyflie/gazebo/command/motor_speed --msgtype ignition.msgs.Actuators -p 'velocity:[250,250,250,250]'

the props on the gazebo simulation do not respond. Haven't figured out why yet.

knmcguire commented 5 months ago

so this is due to that the simulation has to be started with -r

gz sim -r worlds/crazyflie_world.sdf

Found this out with a day long of reinstalls... I'll fix it in documentation asap but I need to take a bit of a break :)

knmcguire commented 5 months ago

Also the reason it didn't work before was just because the sim is paused upon startup