OpenAg Wiki Archive
Archived Contents from the original OpenAg Wiki (snapshot on Apr 8, 2020)
The archived wiki only includes information up the v3.0 version of the PFC-EDU, and is here for preservation purposes. You can find resources about the latest version of the PFC v4.0 on the Personal Food Computer resources page.
Launch Files
- Audience: developers
- Level: beginner
ROS programs are made up of a bunch of small modules called Nodes. To make a ROS program like openag_brain, you configure a set of nodes with a .launch XML file.
openag_brain contains default launch files designed for the Food Computer 2.
Resources
More background on roslaunch and launch files can be found on the ROS wiki:
Launching ROS at startup
Launching ROS at startup can be accomplished in a couple different ways:
- Configure a Linux service to run ROS at startup
- Use a Docker container for ROS and have Docker manage running at startup.
openag_brain will configure a service automatically
when installed globally.
When installing with
Docker,
docker-compose
handles restarting across reboots.
Launching ROS in background
To run ros in the background, you can use a program like screen.