mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 14:03:35 +08:00
simulator move to PX4Accelerometer, PX4Gyroscope, PX4Magnetometer, PX4Barometer helpers (#12081)
This commit is contained in:
@@ -130,6 +130,7 @@ public:
|
||||
DeviceBusType_I2C = 1,
|
||||
DeviceBusType_SPI = 2,
|
||||
DeviceBusType_UAVCAN = 3,
|
||||
DeviceBusType_SIMULATION = 4,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -160,6 +161,9 @@ public:
|
||||
case DeviceBusType_UAVCAN:
|
||||
return "UAVCAN";
|
||||
|
||||
case DeviceBusType_SIMULATION:
|
||||
return "SIMULATION";
|
||||
|
||||
case DeviceBusType_UNKNOWN:
|
||||
default:
|
||||
return "UNKNOWN";
|
||||
|
||||
Reference in New Issue
Block a user