PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.34k stars 13.44k forks source link

PX4 ROS2 Parameter Bridge #23156

Open dakejahl opened 4 months ago

dakejahl commented 4 months ago

Describe problem solved by the proposed feature

With the introduction of the px4-ros2-interface-lib and the long term goal of tight integration between PX4 firmware and ROS2 linux, we need a way to unify the parameter systems of PX4 and ROS2.

Describe your preferred solution

uORB version of the mavlink parameter microservice?

Describe possible alternatives

:shrug:

Additional context

One example is ROS2 mode which overrides Precision Land, you would want to reuse the existing PLD_ parameters. Users at the GCS shouldn't need to know or care where modes live.

dakejahl commented 4 months ago

I think we need a new module ParameterManager which implements the parameter microservice via uORB. This would then be the common interface in PX4 for mavlink, uavcan, and dds. The parameter system really should be unified across all of these different protocols and subsystems.