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

ROS2 Trapezoidal planner + mobility testing #704

Merged
merged 39 commits into from
Apr 3, 2023

Conversation

marinagmoreira
Copy link
Member

No description provided.

joris997 and others added 30 commits February 19, 2023 15:05
…oidal should be converted now, but waiting for other dependencies for testing
…re we can't subtract different types of time
@marinagmoreira marinagmoreira marked this pull request as ready for review March 30, 2023 00:18
@marinagmoreira
Copy link
Member Author

To test this:
ros2 launch astrobee sim.launch.py debug:=true gtloc:=true pose:="10.5 -9 4.5 0 0 0"
ros2 run mobility teleop -move -pos "10.5 -7 4.5" -att "1 0 0 0" -novalidate -nocollision

Did A LOT of things in this PR:

  • Made update rate for sim actually 125Hz which fixed all the update rates
  • Converted mapper, planner.h and trapezoidal_planner
  • multiple other fixes

Copy link
Member

@bcoltin bcoltin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a few things I noticed that I think should be pretty easy to fix.

@@ -30,7 +30,7 @@ class CtlComponent : public ff_util::FreeFlyerComponent {
explicit CtlComponent(const rclcpp::NodeOptions & options) : ff_util::FreeFlyerComponent(options, NODE_CTL) {}
~CtlComponent() {}
// This is called when the nodelet is loaded into the nodelet manager
void Initialize(NodeHandle nh) {
void Initialize(NodeHandle &nh) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C++ is the worst language

mobility/choreographer/include/choreographer/planner.h Outdated Show resolved Hide resolved
mobility/mapper/src/octoclass.cc Show resolved Hide resolved
mobility/mobility/CMakeLists.txt Show resolved Hide resolved
mobility/mobility/tools/teleop.cc Show resolved Hide resolved
shared/ff_util/include/ff_util/config_client.h Outdated Show resolved Hide resolved
shared/ff_util/include/ff_util/ff_action.h Outdated Show resolved Hide resolved
mobility/choreographer/CMakeLists.txt Outdated Show resolved Hide resolved
mobility/choreographer/include/choreographer/planner.h Outdated Show resolved Hide resolved
mobility/mapper/CMakeLists.txt Show resolved Hide resolved
mobility/mapper/CMakeLists.txt Show resolved Hide resolved
mobility/mapper/src/octoclass.cc Show resolved Hide resolved
mobility/mobility/tools/teleop.cc Show resolved Hide resolved
shared/ff_util/include/ff_util/ff_action.h Outdated Show resolved Hide resolved
shared/ff_util/src/config_client/config_client.cc Outdated Show resolved Hide resolved
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.

4 participants