mavlink / mavros

MAVLink to ROS gateway with proxy for Ground Control Station
Other
879 stars 989 forks source link

Problem in apm_config.yaml (No effect when changing parameters values) #1912

Open hasanosman601 opened 11 months ago

hasanosman601 commented 11 months ago

Issue details

Hi, I currently use mavros with ros2 and SITL ardupilot. the problem is that when I change the parameters values in apm_config.yaml file, there is no any effect and all mavros parameters set to default values, I have confirmed by (ros2 parm get..) command. I actually solved the problem but I don't know why :). After some digging into mavros code and the ros2 documentation, the problem was about namespacing in apm_config.yaml file so I edited the file to be as below:

MAVROS version and platform

Mavros: 2.6.0 ROS: Foxy OS: Ubuntu 20.04.6 However, I believe that this issue is not specific to a particular version of ROS 2. This implies that the same issue is likely to occur in other ROS2 versions as well.