BerkeleyAutomation / FogROS2

An Adaptive and Extensible Platform for Cloud and Fog Robotics Using ROS 2
https://berkeleyautomation.github.io/FogROS2
Apache License 2.0
181 stars 29 forks source link

Make cloud side installs depend on robot's ros distribution. #48

Closed jeffi closed 2 years ago

jeffi commented 2 years ago

Describe the bug Right now rolling is hard-coded into the apt-get install commands run on the cloud machine. Ideally we can match the cloud ROS distribution to the robot ROS distribution. If the user has run the appropriate setup (e.g., bash) scripts, then the ROS_DISTRO environment variable should have the appropriate value set. We can have FogROS 2 run apt-get install -y ros-{ROS_DISTRO}-desktop for example.