An example of using mavros on a raspberry pi 3 with a Pixhawk2 equipped with a rover. This example is derived from MAVROS offboard control example.
-
32 GB SanDisk Ultra 32 GB MicroSDHC UHS-I Memory Card with SD Adapter/. The default 8 GB SD card provided by rasberry will not do. Later one we will be installing ros and other libraries.
-
Falshed SD card with ubuntu-mate with ddrescue command (I tried various GUI options, but always resulted in the SD card being corrupted, somehow).
-
Edit the file /boot/config.txt add the following lines:
dtoverlay=pi3-disable-bt
enable_uart=1
- FCU: DeviceError:serial:open: Permission denied
sudo gpasswd -a $USER dialout