All vehicles use sim battery#4
Draft
hunt0r wants to merge 14 commits into
Draft
Conversation
7 tasks
e33a3c9 to
b20ff48
Compare
faa6ba0 to
003f6ac
Compare
b20ff48 to
3ee174c
Compare
003f6ac to
9b5d9d7
Compare
3ee174c to
3d2ce37
Compare
The sub-specific model is put into SITL::Submarine. The now-unused general model is removed.
3d2ce37 to
dcdf242
Compare
9b5d9d7 to
f1f12b1
Compare
f1f12b1 to
adba694
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes the battery consumption model found in SITL_State_Common, so that all vehicles (SITL::Aircraft) manage their batteries. Note it is chained behind currently IN-REVIEW PR ArduPilot#32124 .
It is DRAFT because I am beginning lots of testing. (The testing can proceed in parallel with its upstream PR's review.)
This is towards solving ArduPilot#10050 .