Robotics StackExchange | Archived questions

Question about enableSubTopic

How do you send false to this command? Like, what command do I run? I can't find it in my topic list. When I send 0 while false in parameter inside sdf, it doesn't land.

This is all I get from ign topic after run ign topic -l

bwuk@robots:~/feagi/third_party/gazebo/simulation$ ign topic -l
/Camera0/image
/IR0/image
/IR1/image
/IR2/image
/M0
/M1
/M2
/M3
/S0
/S1
/clock
/gazebo/resource_paths
/gui/camera/pose
/gui/record_video/stats
/imu
/model/freenove_smart_car/battery/linear_battery/state
/stats
/ultrasonic0
/world/free_world/clock
/world/free_world/dynamic_pose/info
/world/free_world/pose/info
/world/free_world/scene/deletion
/world/free_world/scene/info
/world/free_world/state
/world/free_world/stats
bwuk@robots:~/feagi/third_party/gazebo/simulation$

In the doc says it will turn off once it receives zero if parameter is set to false. I did that and it didn't do anything. I'm using the plugin:

ignition-gazebo-multicopter-motor-model-system
ignition::gazebo::systems::MulticopterMotorModel

and I am able to send it through ign topic -t "/X3/gazebo/command/twist" -m ignition.msgs.Twist -p "linear: {x:0 y: 0 z: 0} angular {z: 0}"

I just can't disable the rotor though. I just wanted to stop rotors as it is in the sky. I was kinda expecting it to fall or land. I'm able to move it but I don't know how to turn the rotor off like real life drone. Do you know how to turn it off?

Asked by kakcalu13 on 2022-09-06 09:16:53 UTC

Comments

Answers