|
| 1 | +Important changes were made when upgrading the stack to ROS2 Humble. A list |
| 2 | +of changes and the reasoning behind them is listed below: |
| 3 | + |
| 4 | +As of Nov 19, 2023: |
| 5 | +1. The makefile was changed to work with the newer version of CMake |
| 6 | + that installs by default on Ubuntu 22.04. In particular, the |
| 7 | + cmake commands no longer need the --target flag. The CMAKE_PREFIX_PATH |
| 8 | + variable at the beginning of the file has also been changed. |
| 9 | + |
| 10 | +############## This change is important ############### |
| 11 | +2. install/setup.bash - This has not been changed, but it is important |
| 12 | + to note that distutils is deprecated and slated for removal in |
| 13 | + Python 3.12. There are no direct replacements for distutils, so |
| 14 | + a ticket should be opened ASAP to fix this. However, there is no |
| 15 | + immediate issue with leaving it as is because Ubuntu 22.04 comes with |
| 16 | + Python 3.10 by default. Do note that this is also the case in |
| 17 | + install/setup.zsh. |
| 18 | + |
| 19 | +3. source.bash - Source commands now reference humble and Ubuntu 22.04 |
| 20 | + instead of foxy and Ubuntu 20.04. |
| 21 | + |
| 22 | +4. rj_common/testing/rj_common_convert_test.cpp - the rclcpp::Duration |
| 23 | + class no longer accepts a single integer argument for milliseconds. |
| 24 | + Updated a line referencing this outdated constructor to use |
| 25 | + a std::chrono::milliseconds instead. |
| 26 | + |
| 27 | +5. rj_common/include/rj_common/time.hpp - Changed for similar reasons to (4) |
| 28 | + |
| 29 | +6. rj_utils/src/logging.cpp - RCLCPP_DEBUG and similar macros accept |
| 30 | + C strings now; updated calls to these macros |
| 31 | + |
| 32 | +7. rj_config/CMakeLists.txt - added find_package(fmt), this change complements |
| 33 | + change number 6. |
| 34 | + |
| 35 | +8. soccer/src/soccer/strategy/agent/agent_action_client.cpp and hpp - |
| 36 | + Updated lines 211 to 219 to use lambda expressions instead of std::bind, |
| 37 | + Changed a method to take in a different parameter type. |
| 38 | + Previously took a future template holding a GoalHandleRobotMove::SharedPtr, |
| 39 | + Now just takes in the GoalHandleRobotMove::SharedPtr. |
| 40 | + |
| 41 | +9. soccer/src/soccer/ui/field_view.cpp - Added a preprocessor directive |
| 42 | + to include QPainterPath, which has been separated into its own namespace. |
| 43 | + Qt5 likely has other changes as well |
| 44 | + |
| 45 | +10. soccer/src/soccer/ui/robot_status_widget.hpp - Added a preprocessor |
| 46 | + directive to include the std::optional namespace. |
| 47 | + |
| 48 | +This changelog should be updated to reflect any further changes completed |
| 49 | +before this upgrade is fully adopted. |
0 commit comments