Can't set default values for FCU parameters via Mavros.
Hi,
I'm using PX4 drone in Gazebo, Mavros to control and QGroundControl to monitor drone - source
I'm using Mavros topic "~param/set" which uses this type of message ParamSet to change FCU parameters values. Everything from console via rosservice. For instance I tried to change Geofencing values. After setting this parameters for certain values I can't change them back to default values using the same commend. I check parameters in QGroundControl.
Example:
rosservice call /mavros/param/set "param_id: 'GF_MAX_HOR_DIST'
value:
integer: 0
real: 100.0"
Changes GF_MAX_HOR_DIST
to 100 m
, but after using
rosservice call /mavros/param/set "param_id: 'GF_MAX_HOR_DIST'
value:
integer: 0
real: 0.0"
nothing changes. This is important because value 0 is default and disables Geofencing.
I know I can reset this parameters in QGC, but I want to do via mavros.