-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Following #5565
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
Following #5565
Conversation
@ajtudela, your PR has failed to build. Please check CI outputs and resolve issues. |
I'm not sure why the build failed :S |
Perhaps these are missing from the following server's package xml? |
Oh I see, add the package(s) to https://github.com/ros-navigation/navigation2/blob/main/.circleci/config.yml#L535 regex list (we split the build jobs into 2 now because we have so much fucking code now) |
Also, adding the Python API to call the Following Server would be nice! As well as bringup using Nav2 Bringup's navigation.launch.py so its out-of-the-box |
I have a problem with mypy I can't fix: nav2_simple_commander/nav2_simple_commander/robot_navigator.py: note: In member "__init__" of class "BasicNavigator":
nav2_simple_commander/nav2_simple_commander/robot_navigator.py:110: error: Name "NavigateThroughPoses.Goal" is not defined [name-defined]
nav2_simple_commander/nav2_simple_commander/robot_navigator.py:110: error: Name "NavigateThroughPoses.Result" is not defined [name-defined]
nav2_simple_commander/nav2_simple_commander/robot_navigator.py:110: error: Name "NavigateThroughPoses.Feedback" is not defined [name-defined Using the line '# type: ignore[name-defined]' passes the pre-commit, but an error is shown in the build. |
c512483
to
e98e968
Compare
@leander-dsouza can you look at the linting issue? Can this static analysis be lightened up? I think we're hitting a point that its more a bother than a help |
@ajtudela you have a couple of tests failing in appear to look like real ways as part of the test python code |
One more thing... Add the error code prefix default to bt_action_server_impl.hpp as well as in the nav2_params.yaml so the following error codes are considered
|
Yes, I'll make a PR shortly to fix all the |
I fixed the tests but the CI fail in other tests, I think... |
@ajtudela can you pull in main? We have CI green again so anything failing after that point should be things only from this PR. the speed/keepout are something in CI that was fixed. The error codes I think may actually be real given this PR's changes (but TBD) |
Everything is working now, except for mypy. Also, it seems that the code coverage is looking for the old opennav_following_bt files. |
Ah, that'll happen. Update the v39 to v40 in the 3 places within this highlighted block and that should be fixed: https://github.com/ros-navigation/navigation2/blob/main/.circleci/config.yml#L36-L61 |
Make sure to add them here: https://github.com/ros-navigation/navigation2/blob/main/navigation2/package.xml so they're part of the nav2 metapackage for installation! |
@ajtudela, your PR has failed to build. Please check CI outputs and resolve issues. |
This pull request is in conflict. Could you fix it @ajtudela? |
@ajtudela I think just getting CI to turn over and the merge conflict is all that's needed to merge! |
Retriggering CI, if it doesn't build when I look tomorrow I'll investigate more. Seems like a timing issue Though mypy has one pedantic real issue left:
|
@ajtudela, your PR has failed to build. Please check CI outputs and resolve issues. |
Signed-off-by: Alberto Tudela <[email protected]>
…_following_msgs Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
@ajtudela, your PR has failed to build. Please check CI outputs and resolve issues. |
* Following server Signed-off-by: Alberto Tudela <[email protected]> * feat: migrate to nav2_msgs for FollowObject action and remove opennav_following_msgs Signed-off-by: Alberto Tudela <[email protected]> * Fix mypy test Signed-off-by: Alberto Tudela <[email protected]> * Move FollowObject and FollowObjectCancel action nodes from bt package Signed-off-by: Alberto Tudela <[email protected]> * Update package and circle Signed-off-by: Alberto Tudela <[email protected]> * feat: add FollowObject action support in robot navigator and fix mypy Signed-off-by: Alberto Tudela <[email protected]> * Fix mypy issues Signed-off-by: Alberto Tudela <[email protected]> * feat: add follow_object action to bt_navigator parameters Signed-off-by: Alberto Tudela <[email protected]> * Update key and package Signed-off-by: Alberto Tudela <[email protected]> * Fix precommit Signed-off-by: Alberto Tudela <[email protected]> * Fix mypy? Signed-off-by: Alberto Tudela <[email protected]> * Fix mypy, round two Signed-off-by: Alberto Tudela <[email protected]> --------- Signed-off-by: Alberto Tudela <[email protected]>
* Following server Signed-off-by: Alberto Tudela <[email protected]> * feat: migrate to nav2_msgs for FollowObject action and remove opennav_following_msgs Signed-off-by: Alberto Tudela <[email protected]> * Fix mypy test Signed-off-by: Alberto Tudela <[email protected]> * Move FollowObject and FollowObjectCancel action nodes from bt package Signed-off-by: Alberto Tudela <[email protected]> * Update package and circle Signed-off-by: Alberto Tudela <[email protected]> * feat: add FollowObject action support in robot navigator and fix mypy Signed-off-by: Alberto Tudela <[email protected]> * Fix mypy issues Signed-off-by: Alberto Tudela <[email protected]> * feat: add follow_object action to bt_navigator parameters Signed-off-by: Alberto Tudela <[email protected]> * Update key and package Signed-off-by: Alberto Tudela <[email protected]> * Fix precommit Signed-off-by: Alberto Tudela <[email protected]> * Fix mypy? Signed-off-by: Alberto Tudela <[email protected]> * Fix mypy, round two Signed-off-by: Alberto Tudela <[email protected]> --------- Signed-off-by: Alberto Tudela <[email protected]>
Basic Info
Description of contribution in a few bullet points
This PR introduces a new
following_server
, which provides a dynamic object-following task server.Description of documentation updates required from your changes
Description of how this change was tested
Future work that may be required in bullet points
For Maintainers:
backport-*
.