3 Ways to Debug PX4 Autopilot
3 Ways to Debug PX4 Autopilot
Elliot Lee - Sep.12
dockercompose
Line #:
version: "3.8"
services:
ubicoders_u20_px4:
container_name: ubicoders_u20_px4_cnt
image: ubicoders/px4:v1.14
network_mode: host
privileged: true
stdin_open: true # docker run -i
tty: true # docker run -t
environment:
- DISPLAY
- QT_X11_NO_MITSHM=1
volumes:
- "/tmp/.X11-unix/:/tmp/.X11-unix/:rw"
- "$HOME/.Xauthority:/root/.Xauthority:rw"
- "/dev/:/dev/"
bash
Line #:
./Tools/mavlink_shell.py /dev/ttyACM0
bash
Line #:
picocom -b 57600 /dev/ttyUSB0
-n: Number of repeat
-r: rate to print
nsh
Line #:
listener sensor_combined
listener vehicle_attitude
modules
nsh
Line #:
work_queue status
parameters
nsh
Line #:
param show CBRK_USB_CHK
param set CBRK_USB_CHK 0 // 197848 to disable
Loading...