mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: correct sitl-on-hw compilation for Helicopters
This commit is contained in:
parent
95527894de
commit
fe4e4b0aff
@ -33,6 +33,8 @@ using namespace AP_HAL;
|
|||||||
#ifndef AP_SIM_FRAME_CLASS
|
#ifndef AP_SIM_FRAME_CLASS
|
||||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
||||||
#define AP_SIM_FRAME_CLASS MultiCopter
|
#define AP_SIM_FRAME_CLASS MultiCopter
|
||||||
|
#elif APM_BUILD_TYPE(APM_BUILD_Heli)
|
||||||
|
#define AP_SIM_FRAME_CLASS Helicopter
|
||||||
#elif APM_BUILD_TYPE(APM_BUILD_ArduPlane)
|
#elif APM_BUILD_TYPE(APM_BUILD_ArduPlane)
|
||||||
#define AP_SIM_FRAME_CLASS Plane
|
#define AP_SIM_FRAME_CLASS Plane
|
||||||
#endif
|
#endif
|
||||||
@ -41,6 +43,8 @@ using namespace AP_HAL;
|
|||||||
#ifndef AP_SIM_FRAME_STRING
|
#ifndef AP_SIM_FRAME_STRING
|
||||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
||||||
#define AP_SIM_FRAME_STRING "+"
|
#define AP_SIM_FRAME_STRING "+"
|
||||||
|
#elif APM_BUILD_TYPE(APM_BUILD_Heli)
|
||||||
|
#define AP_SIM_FRAME_STRING "heli"
|
||||||
#elif APM_BUILD_TYPE(APM_BUILD_ArduPlane)
|
#elif APM_BUILD_TYPE(APM_BUILD_ArduPlane)
|
||||||
#define AP_SIM_FRAME_STRING "plane"
|
#define AP_SIM_FRAME_STRING "plane"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user