-
Notifications
You must be signed in to change notification settings - Fork 18k
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
Move AP_BoardConfig parameters up to AP_Vehicle #26550
base: master
Are you sure you want to change the base?
Move AP_BoardConfig parameters up to AP_Vehicle #26550
Conversation
684ee99
to
0ed5169
Compare
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
0ed5169
to
0882967
Compare
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
Also create a define to make having the singleton optional, as the library is sometimes used without instantiation via a number of static methods
0882967
to
399886c
Compare
If were doing some param conversion anyway maybe we should take the opportunity to move the RTS/CTS over to serial manager. |
I think those parameters are going to be rather problematic to convert; (sensibly) they'd have to be real parameters, not bitmask bits, and they don't make sense on all SERIALn parameters sets, only those you have pins for. Definitely would be a good thing to get cleaned up, but also not one to attack on this PR IMO. |
@peterbarker we will look at top level params for AP_Vehicle first, if not palatable then we will go ahead with this |
Also add a define to allow it to not be in AP_Vehicle
Tested the parameter upgrade on a CubeOrange (
BRD_RTS_CTS1_ENABLED
) , and with the new test script for all vehicles in SITL.