Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish PX4 uorb messages to standard ROS2 topics #6

Open
AlexKlimaj opened this issue Jun 13, 2023 · 2 comments
Open

Publish PX4 uorb messages to standard ROS2 topics #6

AlexKlimaj opened this issue Jun 13, 2023 · 2 comments
Assignees

Comments

@AlexKlimaj
Copy link
Member

AlexKlimaj commented Jun 13, 2023

We want to take PX4 uorb topics coming in on DDS and publish them to standard ROS2 topics. Here is a non exhaustive list of some of the corresponding messages.

@dagar

https://github.com/ros2/common_interfaces/tree/humble
https://github.com/PX4/PX4-Autopilot/tree/main/msg

DebugArray.msg -> DiagnosticArray.msg
DebugValue.msg -> DiagnosticStatus.msg

VehicleAcceleration.msg -> Accel.msg

BatteryStatus.msg -> BatteryState.msg
VehicleImu.msg -> Imu.msg
VehicleMagnetometer.msg -> MagneticField.msg
vehicle_gps_position(SensorGps.msg) -> NavSatFix.msg
vehicle_gps_position(SensorGps.msg) -> NavSatStatus.msg ?
vehicle_gps_position(SensorGps.msg) -> TimeReference.msg ?
DistanceSensor.msg -> Range.msg
SensorHygrometer.msg -> RelativeHumidity.msg ?
VehicleAirData.msg -> Temperature.msg

@AlexKlimaj AlexKlimaj changed the title Publish PX4 uorb messages to Publish PX4 uorb messages to standard ROS2 topics Jun 13, 2023
@dirksavage88
Copy link

dirksavage88 commented Jun 15, 2023

VehicleOdometry.msg -> Odometry.msg

Convert the NED to ENU coordinate frame.

@bradenwagstaff bradenwagstaff self-assigned this Jun 15, 2023
@bradenwagstaff
Copy link
Contributor

In the FoxgloveTest branch I'm creating a node that converts PX4 topics to ROS2 topics. Just like the master branch but requires you to run foxglove.py. You can then visualize those topics transformations in foxglove.

In this file, I've begun documenting the conversions
https://github.com/ARK-Electronics/ROS2_PX4_Offboard_Example/blob/FoxgloveTest/px4_offboard/px4_offboard/topic_mapping/topic_mapping.md#topic-mapping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants