-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FEATURE] Autopilot component #97
Comments
@spernsteiner you can use docker image |
Is it important that we test with QGroundControl specifically? MAVProxy has some basic ground station functionality built in, sufficient for uploading a flight plan and monitoring the vehicle's progress.
Is it important that we use JSBSim instead of ArduPilot's built-in simulation model?
What sort of MAVLink clients to we expect to add in the future? Are there any particular types of telemetry they'll need to receive, or particular commands they may need to send to the autopilot component? |
MavProxy can be used as well, for our purposes there is not much difference.
I think it is easier to use JSBSim to separate the simulator from the autopilot (see the diagram here), because we don't want the simulation model to be a part of the VM, but run in the base platform/external computer instead. JSBSim also integrates nicely with FlighGear for rendering (nice visuals), and we can swap the flight models later (more flexibility). So unless there is a significant blocker, I would prefer JSBSim over the built-in model.
Most likely it will be a system logger, recording some basic telemetry from the autopilot (takeoff, landing etc). Probably no autopilot commands at this point (but we should have the option to support all common messages) |
Having separate JSBSim would also make it easier to get engine temperature/pressure data (or any other measurements) to feed to MPS. Currently I'm working on separating JSBSim from |
With GaloisInc/verse-ardupilot#1 and #111, I've gotten |
After adjusting the simulation rate and some Next, I'm planning to write some scripts to run the complete autopilot/simulator VM setup. |
With #110 and #111 merged, I'm now working on scripts to make it easy to run the autopilot in the OpenSUT configuration. The first piece of this is #112; the rest is in progress on the |
I checked off "Build the Ardupilot Plane SITL target" (done in #110) and "The ardupilot binary needs to be run separately from the supporting infrastructure" (done in #111 and #122). I also tried connecting MAVProxy to the secondary port that Ardupilot opens by default (port 5762, instead of the default 5760). It showed all the same position and status information as when MAVProxy is connected to the main port, so it seems to be receiving telemetry. Based on these results, I checked off "a separate mavlink channel needs to be open for communication with the rest of the OpenSUT". |
Great. I have the base image built, so hopefully I can check off the last box soon. |
Summary
The autopilot component executes the mission and is the Flight controller for the platform. The autopilot runs as a Linux process (so called SITL target).
Acceptance Criteria
Develop an autopilot component, and integrate it with the rest of the OpenSUT. Specifically:
The text was updated successfully, but these errors were encountered: