Skip to content

Normalize navigate_to_pose action names to be snake cased.#1484

Merged
SteveMacenski merged 2 commits intoros-navigation:masterfrom
hidmic:hidmic/snake-cased-action-names
Feb 13, 2020
Merged

Normalize navigate_to_pose action names to be snake cased.#1484
SteveMacenski merged 2 commits intoros-navigation:masterfrom
hidmic:hidmic/snake-cased-action-names

Conversation

@hidmic
Copy link
Copy Markdown

@hidmic hidmic commented Jan 31, 2020


Basic Info

Info Please fill out this column
Ticket(s) this addresses follow-up after #1467
Primary OS tested on -
Robotic platform tested on -

Note: it took me a while to get this one up due to lack of time and because I repeatedly attempted and failed to run nav2_system_tests locally. I presume I'm not configuring my environment properly, but I didn't want to further delay this.


Description of contribution in a few bullet points

  • Normalize action names to be snake cased.

Future work that may be required in bullet points

  • I think the navigate_to_pose action isn't the only one that may require snake casing (e.g. see the FollowWaypoints action).

@SteveMacenski
Copy link
Copy Markdown
Member

How did you test this?

I'd like to make sure this does all of the following:

  • Using the Navigation2 "Go to pose" button, which under the hood calls the action server
  • Using the RVIZ default "go to pose" button, which under the hood uses the topic, which covers the /goal_pose topic working.

You're, at a minimum, missing the navigate_to_pose_action.cpp call.

Make sure the following is no longer true:

mkhansen@mkhansen-desk:~/ros2_dev/navigation2_ws$ ros2 action info /NavigateToPose
Action: /NavigateToPose
Action clients: 0
Action servers: 1
    /bt_navigator
mkhansen@mkhansen-desk:~/ros2_dev/navigation2_ws$ ros2 action info /navigate_to_pose
Action: /navigate_to_pose
Action clients: 1
    /bt_navigator_client_node
Action servers: 0

@hidmic
Copy link
Copy Markdown
Author

hidmic commented Jan 31, 2020

How did you test this?

In no comprehensive way, really. I don't have a robot at hand to test, and nav2 tests failed for me locally in a variety of different ways each time I attempted to move forward with this (not a lot of time to invest though). I'll try once again next week, probably clone everything from scratch and use the Dockerfile in the repo (I have my own containers for general ROS2 development, but to no avail).

I'll ping you back when that comes along.

You're, at a minimum, missing the navigate_to_pose_action.cpp call.

Interesting. I thought I had made sure to change the action name but not the behavior name. Something else's missing clearly.

@SteveMacenski
Copy link
Copy Markdown
Member

SteveMacenski commented Jan 31, 2020

Did you try it in simulation?

@adamsj-ros
Copy link
Copy Markdown

Did you try it in simulation?

What is the preferred simulation environment for Nav2 testing?

@SteveMacenski
Copy link
Copy Markdown
Member

@SteveMacenski
Copy link
Copy Markdown
Member

Any movement here?

Also please rebase off master, I pushed a bunch of updates to fix CI.

@SteveMacenski
Copy link
Copy Markdown
Member

It was tested by @ZakariaChekakta to work, @hidmic can you rebase to master so we can run CI and merge?

@hidmic
Copy link
Copy Markdown
Author

hidmic commented Feb 12, 2020

@SteveMacenski my apologies for the delay, it's been a busy time. Will do and thank you @ZakariaChekakta!

@hidmic hidmic force-pushed the hidmic/snake-cased-action-names branch from 8ff44cd to 031275b Compare February 12, 2020 22:45
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 12, 2020

Codecov Report

Merging #1484 into master will increase coverage by 0.06%.
The diff coverage is 25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1484      +/-   ##
==========================================
+ Coverage   37.26%   37.33%   +0.06%     
==========================================
  Files         227      227              
  Lines       11869    11869              
  Branches     5145     5145              
==========================================
+ Hits         4423     4431       +8     
+ Misses       4038     4026      -12     
- Partials     3408     3412       +4
Flag Coverage Δ
#project 37.33% <25%> (+0.06%) ⬆️
Impacted Files Coverage Δ
nav2_rviz_plugins/src/nav2_panel.cpp 0% <0%> (ø) ⬆️
nav2_bt_navigator/src/bt_navigator.cpp 32.5% <0%> (ø) ⬆️
...lifecycle_manager/src/lifecycle_manager_client.cpp 0% <0%> (ø) ⬆️
nav2_waypoint_follower/src/waypoint_follower.cpp 31.35% <100%> (ø) ⬆️
nav2_navfn_planner/src/navfn_planner.cpp 43.85% <0%> (-3.21%) ⬇️
nav2_map_server/src/map_server.cpp 40.47% <0%> (-2.39%) ⬇️
...v2_util/include/nav2_util/simple_action_server.hpp 33.98% <0%> (-1.31%) ⬇️
nav2_costmap_2d/src/collision_checker.cpp 50% <0%> (ø) ⬆️
nav2_amcl/src/amcl_node.cpp 38.84% <0%> (+0.62%) ⬆️
nav2_navfn_planner/src/navfn.cpp 46.76% <0%> (+1.07%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update de4349f...389c2f3. Read the comment docs.

@SteveMacenski
Copy link
Copy Markdown
Member

mhm, there seems to be something wrong. All the integration tests are failing. I just reran, maybe just a fluke.

Copy link
Copy Markdown
Member

@SteveMacenski SteveMacenski left a comment

Choose a reason for hiding this comment

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

This can go in whenever it passes CI

@SteveMacenski
Copy link
Copy Markdown
Member

Last failure is upstream in rclcpp, merging

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.

3 participants