-
Notifications
You must be signed in to change notification settings - Fork 10
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
WIP: Add integration with nav2 #11
Conversation
I've been using this branch to test things out while |
c372b66
to
5f1f5e0
Compare
nav2.mp4It works now! |
This PR requires that ArduPilot/ardupilot_gz#26 and ArduPilot/ardupilot#24734 gets merged beforehand to work correctly |
5f1f5e0
to
118f949
Compare
d4dfc31
to
5c7c58d
Compare
@Ryanf55 just overhauled the config file, a lot of the parameters had default values so I removed most to clean it up. Fixed a lot of things you pointed out as well, thanks for the review! |
Request: Can you try adjust the default location of the camera in the gazebo world scene so you can see the copter without having to rotate the camera. With the defaults, even at 2.5m altitude, you can't see it. |
26b7770
to
5dcedc9
Compare
@pedro-fuoco and @Ryanf55 - I've got this all running on macOS using the custom nav2 branch, and it's looking great. It would be good to unlink this PR from the upstream dependency on the ongoing work in nav2 to deal with Perhaps we could add a message filter node that subscribes to |
5dcedc9
to
6d49bdd
Compare
Upstream is about complete. It's ready for testing with the changes I pushed. Test with this backport on humble: |
6d49bdd
to
5176a46
Compare
As discussed here, support for TwistStamped in navigation2 will not be backported to ROS Humble. A minor change to this PR allows navigation2 support in ArduPilot 4.5 without having to upgrade to a later version of ROS. The proposal is to add a twist_stamper node to the navigation launch to convert the unstamped Details
Changes needed
|
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.
@pedro-fuoco , this is a great addition. Request that changes proposed in #11 (comment) are made (rebase and cherry-pick) so this works with current nav2 for ROS 2 Humble.
ROS2 humble, Ubuntu 22.04 |
Nice, glad to see you are giving this a go. Yea, we only control x direction, and then rotate around the Z axis because of the way nav2 is configured for ground robots assumes you can't go in the Y direction. I think it's time we merge in Rhys's patch to this branch, and get all this work merged in. We don't have any indication Nav2 will support TwistStamped on humble. Please follow this thread, I'll reach back out when it's ready for another round of testing. |
Ok I understand now. Thanks.
…On Thu, Apr 18, 2024 at 3:10 PM Ryan ***@***.***> wrote:
Nice, glad to see you are giving this a go.
Yea, we only control x direction, and then rotate around the Z axis
because of the way nav2 is configured for ground robots assumes you can't
go in the Y direction.
I think it's time we merge in Rhys's patch to this branch, and get all
this work merged in. We don't have any indication Nav2 will support
TwistStamped on humble.
Please follow this thread, I'll reach back out when it's ready for another
round of testing.
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BH5ERRHRIEV4SESSVYSZGXTY55WWDAVCNFSM6AAAAAA32NXEY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRTGE3TKNJXHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
5176a46
to
b004009
Compare
Signed-off-by: Ryan Friedman <[email protected]>
b004009
to
1cf211d
Compare
Rebased on |
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.
@pedro-fuoco and @Ryanf55 LGTM. Issues with ROS 2 Humble upstream dependency on TwistStamped to be dealt with in #28
The purpose of this PR is to integrate the
navigation2
stack with Ardupilot and Cartographer.Solves ArduPilot/ardupilot_gz#5