Robotics StackExchange | Archived questions

change rostopic parameter of /motor_status on hector quadrotor demo

How can I change the running and on parameters that are set to be False to True in rostopic /motor_status on hector quadrotor demo?

The /motor_status data is as follows:

header: seq: 36144 stamp: secs: 361 nsecs: 450000000 frame_id: '' on: False running: False voltage: [0.0, 0.0, 0.0, 0.0] frequency: [0.0, 0.0, 0.0, 0.0]

Asked by jean01 on 2020-04-25 13:28:12 UTC

Comments

I don't have the specific demo, but if it is in a launch file, look to see if the topic is defined. Likely, you'll be able to see if it is True or False.

Asked by pring on 2020-04-25 14:16:50 UTC

let me take a look at all the launch files and find the one with motor_status. I am not sure which one carries the motor_status topic inside the demo project

Asked by jean01 on 2020-04-25 16:09:26 UTC

I could not see anything on launch files. There must be some other solution.

Asked by jean01 on 2020-04-26 13:23:32 UTC

Answers