Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to ROS2 Iron #375

Merged
merged 23 commits into from
Dec 8, 2023
Merged

Upgrade to ROS2 Iron #375

merged 23 commits into from
Dec 8, 2023

Conversation

Purg
Copy link
Member

@Purg Purg commented Dec 1, 2023

This branch is currently based on #374.

I have locally verified the container environment build and will successfully process the all_activities_20/ bag file to completion, producing valid object detection, activity classification and task update messages as visualized in the engineering UI.

Things that are now a little weird:

  • Shutting down [python] nodes results in an exception stack-trace that looks like we are now double-shutting-down. The following looks like a thread to pull on: Handle sigterm ros2/rclpy#830 (comment)
  • Various calls to ros2 ... like ros2 topic list results in a stack-track involving ConnectionResetError: [Errno 104] Connection reset by peer. This seems to not happen when not using --net host in docker, but does happen when we use --net host (what we have been doing).

The rosbag2 submodule is removed here as the desired functionality is
included in humble.
@Purg Purg self-assigned this Dec 1, 2023
@Purg Purg requested a review from hdefazio December 1, 2023 23:30
Purg added 2 commits December 4, 2023 11:27
…to experiment/upgrade-to-iron

* origin/experiment/upgrade-to-humble:
  Experimental upgrade to the next LTS version Humble Hawksbill

Removed poetry lock due to large amount of conflicts. Will need to
regenerate.
There are ROS workspace build issues to resolve next.
@Purg Purg force-pushed the experiment/upgrade-to-iron branch from 32f4b8c to 72fc82c Compare December 4, 2023 16:36
@Purg Purg marked this pull request as ready for review December 5, 2023 15:24
@Purg
Copy link
Member Author

Purg commented Dec 5, 2023

For whatever reason, the calling things like ros2 topic list are no longer causing a crash. I have no idea why and I cannot guarantee it doesn't crop up again in the future.

@Purg Purg force-pushed the experiment/upgrade-to-iron branch from 0e4fe70 to 0b0de78 Compare December 7, 2023 23:05
@Purg
Copy link
Member Author

Purg commented Dec 7, 2023

@hdefazio I believe I am done with this upgrade. The system runs to completion as expected and lingering issues or upgrades have been resolved. If you don't think you have time for a review, let me know so I can get this into main.

Purg added 19 commits December 7, 2023 18:42
Some logging functions changed behavior a little.
Fix references to Simple2dDetectionOverlay which is now in angel_utils.
Fix yolo object detection node to declare a dynamic cuda_device_id
parameter to accept numbers and "cpu" string.
3.10.12 is the version installed inside the container. The hope here is
that by collapsing the version compatibility range, we will not see any
subtle bugs due to using a different minor version of python. This also
opens up the ability to use any python features introduced up to and
including 3.10.
@Purg Purg force-pushed the experiment/upgrade-to-iron branch 3 times, most recently from 9546559 to 940e62f Compare December 8, 2023 21:52
* Add rosdep update call if that has not occurred yet in the current
  workspace.
* Remove old TTY restriction from build script, use-case invalid.
@Purg Purg force-pushed the experiment/upgrade-to-iron branch from 940e62f to 5e50753 Compare December 8, 2023 22:16
@Purg Purg merged commit 6b27f47 into master Dec 8, 2023
3 of 4 checks passed
@Purg Purg deleted the experiment/upgrade-to-iron branch December 8, 2023 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants