ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Topic for SCALED_PRESSURE2

asked 2016-06-27 01:24:41 -0500

balduros gravatar image

Hi all

I'm working on a project involving a pixhawk running ArduSub. The pixhawk is serially connected to an Odroid running mavros. Beside from the pixhawk's internal barometer, it is equipped with an external barometer used for measuring water depth. From QGC MAVLink Inspector I can see the two sensor values as SCALED_PRESSURE (internal barometer) and SCALED_PRESSURE2 (external barometer).

My question is: Is there a mavros topic I can subscribe in order to get access to the external barometer pressure values (SCALED_PRESSURE2). Running: $ rostopic echo /mavros/imu/atm_pressure/fluid_pressure will provide me with the internal barometer pressure values (SCALED_PRESSURE).

Best Regards, Andreas

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-04-02 13:43:47 -0500

clyde gravatar image

This is an old message, but I recently stumbled upon it looking for the same information.

The upshot is that mavros doesn't handle the SCALED_PRESSURE2 message. You would have to add a plugin to mavros, or perhaps build a ROS node that uses pymavlink to bridge this message.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-06-27 01:24:41 -0500

Seen: 298 times

Last updated: Apr 02 '23