ros-industrial / industrial_training

ROS-Industrial Training Material
https://industrial-training-master.readthedocs.io
Apache License 2.0
417 stars 234 forks source link

Update Exercise 7.2 gh_pages instructions to purge and resinstall `ros2_control` #369

Closed KevinWarburton closed 2 years ago

KevinWarburton commented 2 years ago

In addition to minor gh_pages description improvements for Exercise 7.2, this PR's primary purpose is to address the build issue raised by @zoss in #367. Testing in a root AWS instance of this training, I verified that the command to purge the ros2_control package causing the error could be reinstalled later at the end of Exercise 7.2. This is a workaround that probably needs to be addressed with further development of the ros1_bridge. @jdlangs may have additional thoughts on this.

Primary additional instructions provided in this PR:

Remove the package causing the issue and 5 other packages before building the ros1_bridge:

sudo apt purge ros-foxy-controller-manager-msgs --autoremove

Re-install ros2_control and the other 5 packages that were removed at the end of Exercise 7.2:

sudo apt install ros-foxy-ros2-control
JeremyZoss commented 2 years ago

Works for me. Thanks for the update. I made a few small tweaks to emphasize just how long it takes to build the bridge and remove some redundant sourcing of underlaying workspaces. I'll merge now.