mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
Tools: Param Parse: add reference name to vehicle parameter table
This commit is contained in:
parent
53a4194297
commit
5fa8b887a2
@ -111,7 +111,7 @@ libraries = []
|
|||||||
|
|
||||||
# AP_Vehicle also has parameters rooted at "", but isn't referenced
|
# AP_Vehicle also has parameters rooted at "", but isn't referenced
|
||||||
# from the vehicle in any way:
|
# from the vehicle in any way:
|
||||||
ap_vehicle_lib = Library("") # the "" is tacked onto the front of param name
|
ap_vehicle_lib = Library("", reference="VEHICLE") # the "" is tacked onto the front of param name
|
||||||
setattr(ap_vehicle_lib, "Path", os.path.join('..', 'libraries', 'AP_Vehicle', 'AP_Vehicle.cpp'))
|
setattr(ap_vehicle_lib, "Path", os.path.join('..', 'libraries', 'AP_Vehicle', 'AP_Vehicle.cpp'))
|
||||||
libraries.append(ap_vehicle_lib)
|
libraries.append(ap_vehicle_lib)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user