mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_CANManager: added scripting2 protocol
allows for lua scripts to distinguish two CAN interfaces
This commit is contained in:
parent
a7aa77ff86
commit
1b25babd8a
@ -31,7 +31,7 @@ const AP_Param::GroupInfo AP_CANManager::CANDriver_Params::var_info[] = {
|
||||
// @Param: PROTOCOL
|
||||
// @DisplayName: Enable use of specific protocol over virtual driver
|
||||
// @Description: Enabling this option starts selected protocol that will use this virtual driver
|
||||
// @Values: 0:Disabled,1:DroneCAN,4:PiccoloCAN,5:CANTester,6:EFI_NWPMU,7:USD1,8:KDECAN,10:Scripting,11:Benewake
|
||||
// @Values: 0:Disabled,1:DroneCAN,4:PiccoloCAN,5:CANTester,6:EFI_NWPMU,7:USD1,8:KDECAN,10:Scripting,11:Benewake,12:Scripting2
|
||||
// @User: Advanced
|
||||
// @RebootRequired: True
|
||||
AP_GROUPINFO("PROTOCOL", 1, AP_CANManager::CANDriver_Params, _driver_type, AP_CANManager::Driver_Type_UAVCAN),
|
||||
|
@ -64,6 +64,7 @@ public:
|
||||
// 9 was Driver_Type_MPPT_PacketDigital
|
||||
Driver_Type_Scripting = 10,
|
||||
Driver_Type_Benewake = 11,
|
||||
Driver_Type_Scripting2 = 12,
|
||||
};
|
||||
|
||||
void init(void);
|
||||
|
Loading…
Reference in New Issue
Block a user