change rostopic parameter of /motor_status on hector quadrotor demo

asked 2020-04-25 13:28:12 -0500

jean01 gravatar image

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]

edit retag flag offensive close merge delete

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.

pring gravatar image pring  ( 2020-04-25 14:16:50 -0500 )edit

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

jean01 gravatar image jean01  ( 2020-04-25 16:09:26 -0500 )edit

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

jean01 gravatar image jean01  ( 2020-04-26 13:23:32 -0500 )edit