BerkeleyAutomation / FogROS2

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

Make apt installed FogROS2 work without copy in project #91

Open jeffi opened 2 years ago

jeffi commented 2 years ago

Describe the bug If you apt install FogROS2, but do not include a copy of FogROS2 in your workspace, it will fail to start the cloud side. The fix could be as simple as adding:

    self.apt_install(f"ros-{self.ros_distro}-fogros2")

to cloud_instance.py. However, we may have to do additional checks--e.g., to prefer FogROS2 that is part of the workspace when present.

To Reproduce

  1. apt install ros-humble-fogros2
  2. create workspace and simple example application (e.g., talker)
  3. launch with 1 node in the cloud.

Expected behavior Cloud starts up.