ArduPilot / companion

Companion computer startup scripts and examples
GNU General Public License v3.0
104 stars 164 forks source link

Up_Squared/RPI2: enable t265 and d4xx services to automatically start instead of using rc.local #58

Closed rmackay9 closed 4 years ago

rmackay9 commented 4 years ago

This PR includes the following changes to RPI2 and Up_Squared APsync setup scripts:

  1. install librealsense is split into two parts, the core intel librealsense installation and the ArduPilot specific vision_to_mavro script installation
  2. t265 and d4xx services are "enabled" as part of the setup meaning they should start automatically without the need for the "autostart" scripts.
  3. clean-for-imaging script is renamed (now ends with ".sh") and two new steps are added to clear out the history (this may not actually be necessary) and clearing out /var/logs directory to allow us to squeeze this onto an 8GB SD card
rmackay9 commented 4 years ago

@thien94, Patrick Poirier, are you OK with this change?

thien94 commented 4 years ago

I am ok with the changes. Let me know if on the scripts's side there are any default configuration that need to be changed (i.e. which vision message is enabled by default and at what frequency for most users etc.)

rmackay9 commented 4 years ago

It does not seem possible to create an image for the RPI4 from "master" anymore but these changes are a step in the right direction I believe so I've merged them.