-
Notifications
You must be signed in to change notification settings - Fork 184
Update to ubuntu 22.04 #2270
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
Merged
Merged
Update to ubuntu 22.04 #2270
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
db6a8a3
Changes made to ubuntu-setup.sh, testing on clean system
jvogt23 05c3438
Upgraded to ROS2 Humble, fixed changes in stack caused by upgrade
jvogt23 aead441
added changelog
jvogt23 8c1cf94
renamed changelog
jvogt23 a057f53
Merge branch 'james-vogt/update-ros2' into ros2
sid-parikh 3170833
i thinkkkk this is right
sid-parikh 1d8a55d
Update util/ubuntu-setup
sid-parikh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Important changes were made when upgrading the stack to ROS2 Humble. A list | ||
of changes and the reasoning behind them is listed below: | ||
|
||
As of Nov 19, 2023: | ||
1. The makefile was changed to work with the newer version of CMake | ||
that installs by default on Ubuntu 22.04. In particular, the | ||
cmake commands no longer need the --target flag. The CMAKE_PREFIX_PATH | ||
variable at the beginning of the file has also been changed. | ||
|
||
############## This change is important ############### | ||
2. install/setup.bash - This has not been changed, but it is important | ||
to note that distutils is deprecated and slated for removal in | ||
Python 3.12. There are no direct replacements for distutils, so | ||
a ticket should be opened ASAP to fix this. However, there is no | ||
immediate issue with leaving it as is because Ubuntu 22.04 comes with | ||
Python 3.10 by default. Do note that this is also the case in | ||
install/setup.zsh. | ||
|
||
3. source.bash - Source commands now reference humble and Ubuntu 22.04 | ||
instead of foxy and Ubuntu 20.04. | ||
|
||
4. rj_common/testing/rj_common_convert_test.cpp - the rclcpp::Duration | ||
class no longer accepts a single integer argument for milliseconds. | ||
Updated a line referencing this outdated constructor to use | ||
a std::chrono::milliseconds instead. | ||
|
||
5. rj_common/include/rj_common/time.hpp - Changed for similar reasons to (4) | ||
|
||
6. rj_utils/src/logging.cpp - RCLCPP_DEBUG and similar macros accept | ||
C strings now; updated calls to these macros | ||
|
||
7. rj_config/CMakeLists.txt - added find_package(fmt), this change complements | ||
change number 6. | ||
|
||
8. soccer/src/soccer/strategy/agent/agent_action_client.cpp and hpp - | ||
Updated lines 211 to 219 to use lambda expressions instead of std::bind, | ||
Changed a method to take in a different parameter type. | ||
Previously took a future template holding a GoalHandleRobotMove::SharedPtr, | ||
Now just takes in the GoalHandleRobotMove::SharedPtr. | ||
|
||
9. soccer/src/soccer/ui/field_view.cpp - Added a preprocessor directive | ||
to include QPainterPath, which has been separated into its own namespace. | ||
Qt5 likely has other changes as well | ||
|
||
10. soccer/src/soccer/ui/robot_status_widget.hpp - Added a preprocessor | ||
directive to include the std::optional namespace. | ||
|
||
This changelog should be updated to reflect any further changes completed | ||
before this upgrade is fully adopted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
#include <QtWidgets> | ||
#include <string> | ||
|
||
#include <optional> | ||
#include "ui_RobotStatusWidget.h" | ||
|
||
/** | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
if [[ $SHELL == *"bash"* ]]; then | ||
echo "bash detected, sourcing bash" | ||
source /opt/ros/foxy/setup.bash | ||
source /opt/ros/humble/setup.bash | ||
source install/setup.bash | ||
fi | ||
|
||
if [[ $SHELL == *"zsh"* ]]; then | ||
echo "zsh detected, sourcing zsh" | ||
source /opt/ros/foxy/setup.zsh | ||
source /opt/ros/humble/setup.zsh | ||
source install/setup.zsh | ||
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to include this?