Unable to echo different MAVROS topics
Hello everyone,
I am using a raspberry pi for accessing Pixhawk cube black (PX4 firmware) data over mavros. I have connected a FTDI cable to Telem 2 port and set the MAV_1_Config parameters.
I am able to launch MAVROS successfully and I am able to execute
rostopic echo /mavro/state
however when I try to execute
rostopic echo /mavros/imu/data or rostopic echo /mavros/local_position/pose
I do not receive any output.
I also tried setting up the mavros stream rate using
rosservice call /mavros/set_stream_rate 0 10 1
the command execute without any errors but still I am not receiving any data in different rostopics.
Please suggest, I would really appreciate the help. Thank you.