Open jperez-droneup opened 1 year ago
So if we copy config.txt
to PX4-Autopilot/build/px4_sitl_default/etc/
:
COPY ./config.txt /PX4-Autopilot/build/px4_sitl_default/etc/config.txt
then it has no effect.
And if we copy it to /PX4-Autopilot/build/px4_sitl_default/tmp/rootfs/etc/
:
COPY ./config.txt /PX4-Autopilot/build/px4_sitl_default/tmp/rootfs/etc/config.txt
it seems taken into account, but we got other error:
SITL COMMAND: "/PX4-Autopilot/build/px4_sitl_default/bin/px4" -d "/PX4-Autopilot/build/px4_sitl_default"/etc -s etc/init.d-posix/rcS -t "/PX4-Autopilot"/test_data
ERROR [px4] Error opening startup file, does not exist: etc/init.d-posix/rcS
Any workarounds?
Describe the bug
When running a docker image of PX4, we add a
etc/config.txt
with the following content:param set-default SDLOG_MODE -1
This is consistent with instructions on how to set default parameters and the parameter itself. However, when PX4 starts up, we still get logs:To Reproduce
DONT_RUN=1 make px4_sitl_default gazebo_typhoon_h480
- to buildmake px4_sitl gazebo_typhoon_h480
- to runExpected behavior
No logging
Screenshot / Media
No response
Flight Log
Software Version
Stable Release v1.13.3
Flight controller
no controller
Vehicle type
Multicopter
How are the different components wired up (including port information)
No response
Additional context
No response