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

Navigation + MavROS integration #40

Open
rland93 opened this issue Apr 26, 2022 · 3 comments
Open

Navigation + MavROS integration #40

rland93 opened this issue Apr 26, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request hard A particularly difficult feature or bug help wanted Extra attention is needed navigation Navigation and Path Planning

Comments

@rland93
Copy link
Member

rland93 commented Apr 26, 2022

I believe we can replicate most of the functionality offered by qGroundControl with MavSDK:

https://mavsdk.mavlink.io/main/en/index.html

This would allow us to use qGroundControl only to observe ongoing missions, not to actually push commands to the drone.

It seems easy to do this; mavSDK has a couple of one-liners.

So my goal is to:

  1. setup and document setup of MavSDK + PX4 Simulation
  2. run PX4 simulation successfully on a simple MavSDK mission:
  • takeoff
  • go through a couple waypoints
  • land
  1. run PX4 simulation where MavSDK is commanding the drone and its flight path and telemetry are being viewed by qGroundControl

Not sure if (3) can be done with simulation, but this would be the foundation for integrating navigation moving forward.

@rland93 rland93 added enhancement New feature or request help wanted Extra attention is needed navigation Navigation and Path Planning hard A particularly difficult feature or bug labels Apr 26, 2022
@rland93 rland93 added this to the 1.0.0 milestone Apr 26, 2022
rland93 added a commit that referenced this issue Apr 27, 2022
rland93 added a commit that referenced this issue Apr 27, 2022
@rland93 rland93 changed the title Navigation + MavSDK integration Navigation + MavROS integration Apr 27, 2022
@rland93
Copy link
Member Author

rland93 commented Apr 27, 2022

Scratch all that about MavSDK. ROS stays king.

We are going to use MAVROS commands to run missions on the drone. I am calling the node that runs missions gnc.

Scaffold is hopefully up in a couple hours in the ROS-dev branch.

@rland93 rland93 pinned this issue Apr 27, 2022
@rland93
Copy link
Member Author

rland93 commented Apr 27, 2022

214cd2b

Produced an open-loop path in simulation:
https://www.youtube.com/watch?v=F3Sf8A3bIR0

@rland93
Copy link
Member Author

rland93 commented Apr 28, 2022

I'm going to merge this into ROS-dev, but I'm keeping the issue open until we have a better UX for putting missions in.

@rland93 rland93 removed this from the 1.0.0 milestone May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hard A particularly difficult feature or bug help wanted Extra attention is needed navigation Navigation and Path Planning
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants