Topic for SCALED_PRESSURE2
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 SCALEDPRESSURE (internal barometer) and SCALEDPRESSURE2 (external barometer).
My question is: Is there a mavros topic I can subscribe in order to get access to the external barometer pressure values (SCALEDPRESSURE2). Running: $ rostopic echo /mavros/imu/atmpressure/fluidpressure will provide me with the internal barometer pressure values (SCALEDPRESSURE).
Best Regards, Andreas
Asked by balduros on 2016-06-27 01:24:41 UTC
Answers
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.
Asked by clyde on 2023-04-02 13:43:47 UTC
Comments