mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-128 Flight Documentation: Added description to all the UAVObject (now mandatory) and changed the parser to populate this information into the autogenerated files. Also added a function to test if an object is read only for flight.
Since there are a lot of autogenerated changes the important ones are: flight/OpenPilot/UAVObjects/inc/uavobjecttemplate.h - added description and define to make the ObjectReadOnly query flight/OpenPilot/UAVObjects/uavobjecttemplate.c flight/OpenPilot/UAVObjects/uavobjectmanager.c - added the UAVObjReadOnly query ground/src/libs/uavobjgenerator/uavobjectparser.cpp - added parsing of description field git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1425 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
48d04d73d4
commit
a8df6e2c4d
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ActuatorCommand ActuatorCommand
|
||||
* @brief Contains the pulse duration sent to each of the channels. Set by @ref ActuatorModule
|
||||
*
|
||||
* Autogenerated files and functions for ActuatorCommand Object
|
||||
* @{
|
||||
*
|
||||
* @file actuatorcommand.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle ActuatorCommandHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ActuatorDesired ActuatorDesired
|
||||
* @brief Desired raw, pitch and yaw actuator settings. Comes from either @ref StabilizationModule or @ref ManualControlModule depending on FlightMode.
|
||||
*
|
||||
* Autogenerated files and functions for ActuatorDesired Object
|
||||
* @{
|
||||
*
|
||||
* @file actuatordesired.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle ActuatorDesiredHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ActuatorSettings ActuatorSettings
|
||||
* @brief Settings for the @ref ActuatorModule that controls the channel assignments for the mixer based on AircraftType
|
||||
*
|
||||
* Autogenerated files and functions for ActuatorSettings Object
|
||||
* @{
|
||||
*
|
||||
* @file actuatorsettings.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -162,5 +169,7 @@ UAVObjHandle ActuatorSettingsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AHRSCalibration AHRSCalibration
|
||||
* @brief Contains the calibration settings for the @ref AHRSCommsModule
|
||||
*
|
||||
* Autogenerated files and functions for AHRSCalibration Object
|
||||
* @{
|
||||
*
|
||||
* @file ahrscalibration.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -123,5 +130,7 @@ UAVObjHandle AHRSCalibrationHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AHRSSettings AHRSSettings
|
||||
* @brief Settings for the @ref AHRSCommsModule to control the algorithm and what is updated
|
||||
*
|
||||
* Autogenerated files and functions for AHRSSettings Object
|
||||
* @{
|
||||
*
|
||||
* @file ahrssettings.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -102,5 +109,7 @@ UAVObjHandle AHRSSettingsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AhrsStatus AhrsStatus
|
||||
* @brief Status for the @ref AHRSCommsModule, including communication errors
|
||||
*
|
||||
* Autogenerated files and functions for AhrsStatus Object
|
||||
* @{
|
||||
*
|
||||
* @file ahrsstatus.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle AhrsStatusHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AttitudeActual AttitudeActual
|
||||
* @brief The updated Attitude estimation from @ref AHRSCommsModule.
|
||||
*
|
||||
* Autogenerated files and functions for AttitudeActual Object
|
||||
* @{
|
||||
*
|
||||
* @file attitudeactual.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle AttitudeActualHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AttitudeDesired AttitudeDesired
|
||||
* @brief The desired attitude that @ref StabilizationModule will try and achieve if FlightMode is Stabilized. Comes from @ref ManaulControlModule.
|
||||
*
|
||||
* Autogenerated files and functions for AttitudeDesired Object
|
||||
* @{
|
||||
*
|
||||
* @file attitudedesired.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle AttitudeDesiredHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AttitudeRaw AttitudeRaw
|
||||
* @brief The raw attitude sensor data from @ref AHRSCommsModule. Not always updated.
|
||||
*
|
||||
* Autogenerated files and functions for AttitudeRaw Object
|
||||
* @{
|
||||
*
|
||||
* @file attituderaw.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle AttitudeRawHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup BaroAltitude BaroAltitude
|
||||
* @brief The raw data from the barometric sensor with pressure, temperature and altitude estimate.
|
||||
*
|
||||
* Autogenerated files and functions for BaroAltitude Object
|
||||
* @{
|
||||
*
|
||||
* @file baroaltitude.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle BaroAltitudeHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ExampleObject1 ExampleObject1
|
||||
* @brief Example object
|
||||
*
|
||||
* Autogenerated files and functions for ExampleObject1 Object
|
||||
* @{
|
||||
*
|
||||
* @file exampleobject1.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle ExampleObject1Handle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ExampleObject2 ExampleObject2
|
||||
* @brief Example object
|
||||
*
|
||||
* Autogenerated files and functions for ExampleObject2 Object
|
||||
* @{
|
||||
*
|
||||
* @file exampleobject2.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle ExampleObject2Handle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ExampleSettings ExampleSettings
|
||||
* @brief Example settings object
|
||||
*
|
||||
* Autogenerated files and functions for ExampleSettings Object
|
||||
* @{
|
||||
*
|
||||
* @file examplesettings.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -101,5 +108,7 @@ UAVObjHandle ExampleSettingsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup FlightBatteryState FlightBatteryState
|
||||
* @brief Battery status information. Not currently updated.
|
||||
*
|
||||
* Autogenerated files and functions for FlightBatteryState Object
|
||||
* @{
|
||||
*
|
||||
* @file flightbatterystate.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle FlightBatteryStateHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup FlightSituationActual FlightSituationActual
|
||||
* @brief Currently unused
|
||||
*
|
||||
* Autogenerated files and functions for FlightSituationActual Object
|
||||
* @{
|
||||
*
|
||||
* @file flightsituationactual.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle FlightSituationActualHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup FlightTelemetryStats FlightTelemetryStats
|
||||
* @brief Maintains the telemetry statistics from the OpenPilot flight computer.
|
||||
*
|
||||
* Autogenerated files and functions for FlightTelemetryStats Object
|
||||
* @{
|
||||
*
|
||||
* @file flighttelemetrystats.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle FlightTelemetryStatsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup GCSTelemetryStats GCSTelemetryStats
|
||||
* @brief The telemetry statistics from the ground computer
|
||||
*
|
||||
* Autogenerated files and functions for GCSTelemetryStats Object
|
||||
* @{
|
||||
*
|
||||
* @file gcstelemetrystats.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle GCSTelemetryStatsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup GPSPosition GPSPosition
|
||||
* @brief Future object for the raw GPS data from @ref GPSModule. Only should be used by @ref AHRSCommsModule.
|
||||
*
|
||||
* Autogenerated files and functions for GPSPosition Object
|
||||
* @{
|
||||
*
|
||||
* @file gpsposition.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle GPSPositionHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup HomeLocation HomeLocation
|
||||
* @brief HomeLocation setting which contains the constants to tranlate from longitutde and latitude to NED reference frame. Automatically set by @ref GPSModule after acquiring a 3D lock. Used by @ref AHRSCommsModule.
|
||||
*
|
||||
* Autogenerated files and functions for HomeLocation Object
|
||||
* @{
|
||||
*
|
||||
* @file homelocation.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -117,5 +124,7 @@ UAVObjHandle HomeLocationHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ActuatorCommand ActuatorCommand
|
||||
* @brief Contains the pulse duration sent to each of the channels. Set by @ref ActuatorModule
|
||||
*
|
||||
* Autogenerated files and functions for ActuatorCommand Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file actuatorcommand.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define ACTUATORCOMMAND_NUMBYTES sizeof(ActuatorCommandData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function ActuatorCommandGet(dataOut)
|
||||
* @brief Populate a ActuatorCommandData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define ActuatorCommandGet(dataOut) UAVObjGetData(ActuatorCommandHandle(), dataOut)
|
||||
#define ActuatorCommandSet(dataIn) UAVObjSetData(ActuatorCommandHandle(), dataIn)
|
||||
#define ActuatorCommandInstGet(instId, dataOut) UAVObjGetInstanceData(ActuatorCommandHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define ActuatorCommandInstUpdated(instId) UAVObjUpdated(ActuatorCommandHandle(), instId)
|
||||
#define ActuatorCommandGetMetadata(dataOut) UAVObjGetMetadata(ActuatorCommandHandle(), dataOut)
|
||||
#define ActuatorCommandSetMetadata(dataIn) UAVObjSetMetadata(ActuatorCommandHandle(), dataIn)
|
||||
#define ActuatorCommandReadOnly(dataIn) UAVObjReadOnly(ActuatorCommandHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -72,3 +86,8 @@ int32_t ActuatorCommandInitialize();
|
||||
UAVObjHandle ActuatorCommandHandle();
|
||||
|
||||
#endif // ACTUATORCOMMAND_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ActuatorDesired ActuatorDesired
|
||||
* @brief Desired raw, pitch and yaw actuator settings. Comes from either @ref StabilizationModule or @ref ManualControlModule depending on FlightMode.
|
||||
*
|
||||
* Autogenerated files and functions for ActuatorDesired Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file actuatordesired.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define ACTUATORDESIRED_NUMBYTES sizeof(ActuatorDesiredData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function ActuatorDesiredGet(dataOut)
|
||||
* @brief Populate a ActuatorDesiredData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define ActuatorDesiredGet(dataOut) UAVObjGetData(ActuatorDesiredHandle(), dataOut)
|
||||
#define ActuatorDesiredSet(dataIn) UAVObjSetData(ActuatorDesiredHandle(), dataIn)
|
||||
#define ActuatorDesiredInstGet(instId, dataOut) UAVObjGetInstanceData(ActuatorDesiredHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define ActuatorDesiredInstUpdated(instId) UAVObjUpdated(ActuatorDesiredHandle(), instId)
|
||||
#define ActuatorDesiredGetMetadata(dataOut) UAVObjGetMetadata(ActuatorDesiredHandle(), dataOut)
|
||||
#define ActuatorDesiredSetMetadata(dataIn) UAVObjSetMetadata(ActuatorDesiredHandle(), dataIn)
|
||||
#define ActuatorDesiredReadOnly(dataIn) UAVObjReadOnly(ActuatorDesiredHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -76,3 +90,8 @@ int32_t ActuatorDesiredInitialize();
|
||||
UAVObjHandle ActuatorDesiredHandle();
|
||||
|
||||
#endif // ACTUATORDESIRED_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ActuatorSettings ActuatorSettings
|
||||
* @brief Settings for the @ref ActuatorModule that controls the channel assignments for the mixer based on AircraftType
|
||||
*
|
||||
* Autogenerated files and functions for ActuatorSettings Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file actuatorsettings.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define ACTUATORSETTINGS_NUMBYTES sizeof(ActuatorSettingsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function ActuatorSettingsGet(dataOut)
|
||||
* @brief Populate a ActuatorSettingsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define ActuatorSettingsGet(dataOut) UAVObjGetData(ActuatorSettingsHandle(), dataOut)
|
||||
#define ActuatorSettingsSet(dataIn) UAVObjSetData(ActuatorSettingsHandle(), dataIn)
|
||||
#define ActuatorSettingsInstGet(instId, dataOut) UAVObjGetInstanceData(ActuatorSettingsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define ActuatorSettingsInstUpdated(instId) UAVObjUpdated(ActuatorSettingsHandle(), instId)
|
||||
#define ActuatorSettingsGetMetadata(dataOut) UAVObjGetMetadata(ActuatorSettingsHandle(), dataOut)
|
||||
#define ActuatorSettingsSetMetadata(dataIn) UAVObjSetMetadata(ActuatorSettingsHandle(), dataIn)
|
||||
#define ActuatorSettingsReadOnly(dataIn) UAVObjReadOnly(ActuatorSettingsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -192,3 +206,8 @@ int32_t ActuatorSettingsInitialize();
|
||||
UAVObjHandle ActuatorSettingsHandle();
|
||||
|
||||
#endif // ACTUATORSETTINGS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AHRSCalibration AHRSCalibration
|
||||
* @brief Contains the calibration settings for the @ref AHRSCommsModule
|
||||
*
|
||||
* Autogenerated files and functions for AHRSCalibration Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file ahrscalibration.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define AHRSCALIBRATION_NUMBYTES sizeof(AHRSCalibrationData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function AHRSCalibrationGet(dataOut)
|
||||
* @brief Populate a AHRSCalibrationData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define AHRSCalibrationGet(dataOut) UAVObjGetData(AHRSCalibrationHandle(), dataOut)
|
||||
#define AHRSCalibrationSet(dataIn) UAVObjSetData(AHRSCalibrationHandle(), dataIn)
|
||||
#define AHRSCalibrationInstGet(instId, dataOut) UAVObjGetInstanceData(AHRSCalibrationHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define AHRSCalibrationInstUpdated(instId) UAVObjUpdated(AHRSCalibrationHandle(), instId)
|
||||
#define AHRSCalibrationGetMetadata(dataOut) UAVObjGetMetadata(AHRSCalibrationHandle(), dataOut)
|
||||
#define AHRSCalibrationSetMetadata(dataIn) UAVObjSetMetadata(AHRSCalibrationHandle(), dataIn)
|
||||
#define AHRSCalibrationReadOnly(dataIn) UAVObjReadOnly(AHRSCalibrationHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -120,3 +134,8 @@ int32_t AHRSCalibrationInitialize();
|
||||
UAVObjHandle AHRSCalibrationHandle();
|
||||
|
||||
#endif // AHRSCALIBRATION_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AHRSSettings AHRSSettings
|
||||
* @brief Settings for the @ref AHRSCommsModule to control the algorithm and what is updated
|
||||
*
|
||||
* Autogenerated files and functions for AHRSSettings Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file ahrssettings.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define AHRSSETTINGS_NUMBYTES sizeof(AHRSSettingsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function AHRSSettingsGet(dataOut)
|
||||
* @brief Populate a AHRSSettingsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define AHRSSettingsGet(dataOut) UAVObjGetData(AHRSSettingsHandle(), dataOut)
|
||||
#define AHRSSettingsSet(dataIn) UAVObjSetData(AHRSSettingsHandle(), dataIn)
|
||||
#define AHRSSettingsInstGet(instId, dataOut) UAVObjGetInstanceData(AHRSSettingsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define AHRSSettingsInstUpdated(instId) UAVObjUpdated(AHRSSettingsHandle(), instId)
|
||||
#define AHRSSettingsGetMetadata(dataOut) UAVObjGetMetadata(AHRSSettingsHandle(), dataOut)
|
||||
#define AHRSSettingsSetMetadata(dataIn) UAVObjSetMetadata(AHRSSettingsHandle(), dataIn)
|
||||
#define AHRSSettingsReadOnly(dataIn) UAVObjReadOnly(AHRSSettingsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -82,3 +96,8 @@ int32_t AHRSSettingsInitialize();
|
||||
UAVObjHandle AHRSSettingsHandle();
|
||||
|
||||
#endif // AHRSSETTINGS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AhrsStatus AhrsStatus
|
||||
* @brief Status for the @ref AHRSCommsModule, including communication errors
|
||||
*
|
||||
* Autogenerated files and functions for AhrsStatus Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file ahrsstatus.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define AHRSSTATUS_NUMBYTES sizeof(AhrsStatusData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function AhrsStatusGet(dataOut)
|
||||
* @brief Populate a AhrsStatusData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define AhrsStatusGet(dataOut) UAVObjGetData(AhrsStatusHandle(), dataOut)
|
||||
#define AhrsStatusSet(dataIn) UAVObjSetData(AhrsStatusHandle(), dataIn)
|
||||
#define AhrsStatusInstGet(instId, dataOut) UAVObjGetInstanceData(AhrsStatusHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define AhrsStatusInstUpdated(instId) UAVObjUpdated(AhrsStatusHandle(), instId)
|
||||
#define AhrsStatusGetMetadata(dataOut) UAVObjGetMetadata(AhrsStatusHandle(), dataOut)
|
||||
#define AhrsStatusSetMetadata(dataIn) UAVObjSetMetadata(AhrsStatusHandle(), dataIn)
|
||||
#define AhrsStatusReadOnly(dataIn) UAVObjReadOnly(AhrsStatusHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -90,3 +104,8 @@ int32_t AhrsStatusInitialize();
|
||||
UAVObjHandle AhrsStatusHandle();
|
||||
|
||||
#endif // AHRSSTATUS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AttitudeActual AttitudeActual
|
||||
* @brief The updated Attitude estimation from @ref AHRSCommsModule.
|
||||
*
|
||||
* Autogenerated files and functions for AttitudeActual Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file attitudeactual.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define ATTITUDEACTUAL_NUMBYTES sizeof(AttitudeActualData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function AttitudeActualGet(dataOut)
|
||||
* @brief Populate a AttitudeActualData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define AttitudeActualGet(dataOut) UAVObjGetData(AttitudeActualHandle(), dataOut)
|
||||
#define AttitudeActualSet(dataIn) UAVObjSetData(AttitudeActualHandle(), dataIn)
|
||||
#define AttitudeActualInstGet(instId, dataOut) UAVObjGetInstanceData(AttitudeActualHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define AttitudeActualInstUpdated(instId) UAVObjUpdated(AttitudeActualHandle(), instId)
|
||||
#define AttitudeActualGetMetadata(dataOut) UAVObjGetMetadata(AttitudeActualHandle(), dataOut)
|
||||
#define AttitudeActualSetMetadata(dataIn) UAVObjSetMetadata(AttitudeActualHandle(), dataIn)
|
||||
#define AttitudeActualReadOnly(dataIn) UAVObjReadOnly(AttitudeActualHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -82,3 +96,8 @@ int32_t AttitudeActualInitialize();
|
||||
UAVObjHandle AttitudeActualHandle();
|
||||
|
||||
#endif // ATTITUDEACTUAL_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AttitudeDesired AttitudeDesired
|
||||
* @brief The desired attitude that @ref StabilizationModule will try and achieve if FlightMode is Stabilized. Comes from @ref ManaulControlModule.
|
||||
*
|
||||
* Autogenerated files and functions for AttitudeDesired Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file attitudedesired.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define ATTITUDEDESIRED_NUMBYTES sizeof(AttitudeDesiredData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function AttitudeDesiredGet(dataOut)
|
||||
* @brief Populate a AttitudeDesiredData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define AttitudeDesiredGet(dataOut) UAVObjGetData(AttitudeDesiredHandle(), dataOut)
|
||||
#define AttitudeDesiredSet(dataIn) UAVObjSetData(AttitudeDesiredHandle(), dataIn)
|
||||
#define AttitudeDesiredInstGet(instId, dataOut) UAVObjGetInstanceData(AttitudeDesiredHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define AttitudeDesiredInstUpdated(instId) UAVObjUpdated(AttitudeDesiredHandle(), instId)
|
||||
#define AttitudeDesiredGetMetadata(dataOut) UAVObjGetMetadata(AttitudeDesiredHandle(), dataOut)
|
||||
#define AttitudeDesiredSetMetadata(dataIn) UAVObjSetMetadata(AttitudeDesiredHandle(), dataIn)
|
||||
#define AttitudeDesiredReadOnly(dataIn) UAVObjReadOnly(AttitudeDesiredHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -76,3 +90,8 @@ int32_t AttitudeDesiredInitialize();
|
||||
UAVObjHandle AttitudeDesiredHandle();
|
||||
|
||||
#endif // ATTITUDEDESIRED_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup AttitudeRaw AttitudeRaw
|
||||
* @brief The raw attitude sensor data from @ref AHRSCommsModule. Not always updated.
|
||||
*
|
||||
* Autogenerated files and functions for AttitudeRaw Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file attituderaw.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define ATTITUDERAW_NUMBYTES sizeof(AttitudeRawData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function AttitudeRawGet(dataOut)
|
||||
* @brief Populate a AttitudeRawData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define AttitudeRawGet(dataOut) UAVObjGetData(AttitudeRawHandle(), dataOut)
|
||||
#define AttitudeRawSet(dataIn) UAVObjSetData(AttitudeRawHandle(), dataIn)
|
||||
#define AttitudeRawInstGet(instId, dataOut) UAVObjGetInstanceData(AttitudeRawHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define AttitudeRawInstUpdated(instId) UAVObjUpdated(AttitudeRawHandle(), instId)
|
||||
#define AttitudeRawGetMetadata(dataOut) UAVObjGetMetadata(AttitudeRawHandle(), dataOut)
|
||||
#define AttitudeRawSetMetadata(dataIn) UAVObjSetMetadata(AttitudeRawHandle(), dataIn)
|
||||
#define AttitudeRawReadOnly(dataIn) UAVObjReadOnly(AttitudeRawHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -104,3 +118,8 @@ int32_t AttitudeRawInitialize();
|
||||
UAVObjHandle AttitudeRawHandle();
|
||||
|
||||
#endif // ATTITUDERAW_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup BaroAltitude BaroAltitude
|
||||
* @brief The raw data from the barometric sensor with pressure, temperature and altitude estimate.
|
||||
*
|
||||
* Autogenerated files and functions for BaroAltitude Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file baroaltitude.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define BAROALTITUDE_NUMBYTES sizeof(BaroAltitudeData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function BaroAltitudeGet(dataOut)
|
||||
* @brief Populate a BaroAltitudeData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define BaroAltitudeGet(dataOut) UAVObjGetData(BaroAltitudeHandle(), dataOut)
|
||||
#define BaroAltitudeSet(dataIn) UAVObjSetData(BaroAltitudeHandle(), dataIn)
|
||||
#define BaroAltitudeInstGet(instId, dataOut) UAVObjGetInstanceData(BaroAltitudeHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define BaroAltitudeInstUpdated(instId) UAVObjUpdated(BaroAltitudeHandle(), instId)
|
||||
#define BaroAltitudeGetMetadata(dataOut) UAVObjGetMetadata(BaroAltitudeHandle(), dataOut)
|
||||
#define BaroAltitudeSetMetadata(dataIn) UAVObjSetMetadata(BaroAltitudeHandle(), dataIn)
|
||||
#define BaroAltitudeReadOnly(dataIn) UAVObjReadOnly(BaroAltitudeHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -74,3 +88,8 @@ int32_t BaroAltitudeInitialize();
|
||||
UAVObjHandle BaroAltitudeHandle();
|
||||
|
||||
#endif // BAROALTITUDE_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ExampleObject1 ExampleObject1
|
||||
* @brief Example object
|
||||
*
|
||||
* Autogenerated files and functions for ExampleObject1 Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file exampleobject1.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define EXAMPLEOBJECT1_NUMBYTES sizeof(ExampleObject1Data)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function ExampleObject1Get(dataOut)
|
||||
* @brief Populate a ExampleObject1Data object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define ExampleObject1Get(dataOut) UAVObjGetData(ExampleObject1Handle(), dataOut)
|
||||
#define ExampleObject1Set(dataIn) UAVObjSetData(ExampleObject1Handle(), dataIn)
|
||||
#define ExampleObject1InstGet(instId, dataOut) UAVObjGetInstanceData(ExampleObject1Handle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define ExampleObject1InstUpdated(instId) UAVObjUpdated(ExampleObject1Handle(), instId)
|
||||
#define ExampleObject1GetMetadata(dataOut) UAVObjGetMetadata(ExampleObject1Handle(), dataOut)
|
||||
#define ExampleObject1SetMetadata(dataIn) UAVObjSetMetadata(ExampleObject1Handle(), dataIn)
|
||||
#define ExampleObject1ReadOnly(dataIn) UAVObjReadOnly(ExampleObject1Handle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -88,3 +102,8 @@ int32_t ExampleObject1Initialize();
|
||||
UAVObjHandle ExampleObject1Handle();
|
||||
|
||||
#endif // EXAMPLEOBJECT1_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ExampleObject2 ExampleObject2
|
||||
* @brief Example object
|
||||
*
|
||||
* Autogenerated files and functions for ExampleObject2 Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file exampleobject2.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define EXAMPLEOBJECT2_NUMBYTES sizeof(ExampleObject2Data)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function ExampleObject2Get(dataOut)
|
||||
* @brief Populate a ExampleObject2Data object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define ExampleObject2Get(dataOut) UAVObjGetData(ExampleObject2Handle(), dataOut)
|
||||
#define ExampleObject2Set(dataIn) UAVObjSetData(ExampleObject2Handle(), dataIn)
|
||||
#define ExampleObject2InstGet(instId, dataOut) UAVObjGetInstanceData(ExampleObject2Handle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define ExampleObject2InstUpdated(instId) UAVObjUpdated(ExampleObject2Handle(), instId)
|
||||
#define ExampleObject2GetMetadata(dataOut) UAVObjGetMetadata(ExampleObject2Handle(), dataOut)
|
||||
#define ExampleObject2SetMetadata(dataIn) UAVObjSetMetadata(ExampleObject2Handle(), dataIn)
|
||||
#define ExampleObject2ReadOnly(dataIn) UAVObjReadOnly(ExampleObject2Handle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -78,3 +92,8 @@ int32_t ExampleObject2Initialize();
|
||||
UAVObjHandle ExampleObject2Handle();
|
||||
|
||||
#endif // EXAMPLEOBJECT2_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ExampleSettings ExampleSettings
|
||||
* @brief Example settings object
|
||||
*
|
||||
* Autogenerated files and functions for ExampleSettings Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file examplesettings.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define EXAMPLESETTINGS_NUMBYTES sizeof(ExampleSettingsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function ExampleSettingsGet(dataOut)
|
||||
* @brief Populate a ExampleSettingsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define ExampleSettingsGet(dataOut) UAVObjGetData(ExampleSettingsHandle(), dataOut)
|
||||
#define ExampleSettingsSet(dataIn) UAVObjSetData(ExampleSettingsHandle(), dataIn)
|
||||
#define ExampleSettingsInstGet(instId, dataOut) UAVObjGetInstanceData(ExampleSettingsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define ExampleSettingsInstUpdated(instId) UAVObjUpdated(ExampleSettingsHandle(), instId)
|
||||
#define ExampleSettingsGetMetadata(dataOut) UAVObjGetMetadata(ExampleSettingsHandle(), dataOut)
|
||||
#define ExampleSettingsSetMetadata(dataIn) UAVObjSetMetadata(ExampleSettingsHandle(), dataIn)
|
||||
#define ExampleSettingsReadOnly(dataIn) UAVObjReadOnly(ExampleSettingsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -76,3 +90,8 @@ int32_t ExampleSettingsInitialize();
|
||||
UAVObjHandle ExampleSettingsHandle();
|
||||
|
||||
#endif // EXAMPLESETTINGS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup FlightBatteryState FlightBatteryState
|
||||
* @brief Battery status information. Not currently updated.
|
||||
*
|
||||
* Autogenerated files and functions for FlightBatteryState Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file flightbatterystate.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define FLIGHTBATTERYSTATE_NUMBYTES sizeof(FlightBatteryStateData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function FlightBatteryStateGet(dataOut)
|
||||
* @brief Populate a FlightBatteryStateData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define FlightBatteryStateGet(dataOut) UAVObjGetData(FlightBatteryStateHandle(), dataOut)
|
||||
#define FlightBatteryStateSet(dataIn) UAVObjSetData(FlightBatteryStateHandle(), dataIn)
|
||||
#define FlightBatteryStateInstGet(instId, dataOut) UAVObjGetInstanceData(FlightBatteryStateHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define FlightBatteryStateInstUpdated(instId) UAVObjUpdated(FlightBatteryStateHandle(), instId)
|
||||
#define FlightBatteryStateGetMetadata(dataOut) UAVObjGetMetadata(FlightBatteryStateHandle(), dataOut)
|
||||
#define FlightBatteryStateSetMetadata(dataIn) UAVObjSetMetadata(FlightBatteryStateHandle(), dataIn)
|
||||
#define FlightBatteryStateReadOnly(dataIn) UAVObjReadOnly(FlightBatteryStateHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -74,3 +88,8 @@ int32_t FlightBatteryStateInitialize();
|
||||
UAVObjHandle FlightBatteryStateHandle();
|
||||
|
||||
#endif // FLIGHTBATTERYSTATE_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup FlightSituationActual FlightSituationActual
|
||||
* @brief Currently unused
|
||||
*
|
||||
* Autogenerated files and functions for FlightSituationActual Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file flightsituationactual.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define FLIGHTSITUATIONACTUAL_NUMBYTES sizeof(FlightSituationActualData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function FlightSituationActualGet(dataOut)
|
||||
* @brief Populate a FlightSituationActualData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define FlightSituationActualGet(dataOut) UAVObjGetData(FlightSituationActualHandle(), dataOut)
|
||||
#define FlightSituationActualSet(dataIn) UAVObjSetData(FlightSituationActualHandle(), dataIn)
|
||||
#define FlightSituationActualInstGet(instId, dataOut) UAVObjGetInstanceData(FlightSituationActualHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define FlightSituationActualInstUpdated(instId) UAVObjUpdated(FlightSituationActualHandle(), instId)
|
||||
#define FlightSituationActualGetMetadata(dataOut) UAVObjGetMetadata(FlightSituationActualHandle(), dataOut)
|
||||
#define FlightSituationActualSetMetadata(dataIn) UAVObjSetMetadata(FlightSituationActualHandle(), dataIn)
|
||||
#define FlightSituationActualReadOnly(dataIn) UAVObjReadOnly(FlightSituationActualHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -86,3 +100,8 @@ int32_t FlightSituationActualInitialize();
|
||||
UAVObjHandle FlightSituationActualHandle();
|
||||
|
||||
#endif // FLIGHTSITUATIONACTUAL_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup FlightTelemetryStats FlightTelemetryStats
|
||||
* @brief Maintains the telemetry statistics from the OpenPilot flight computer.
|
||||
*
|
||||
* Autogenerated files and functions for FlightTelemetryStats Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file flighttelemetrystats.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define FLIGHTTELEMETRYSTATS_NUMBYTES sizeof(FlightTelemetryStatsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function FlightTelemetryStatsGet(dataOut)
|
||||
* @brief Populate a FlightTelemetryStatsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define FlightTelemetryStatsGet(dataOut) UAVObjGetData(FlightTelemetryStatsHandle(), dataOut)
|
||||
#define FlightTelemetryStatsSet(dataIn) UAVObjSetData(FlightTelemetryStatsHandle(), dataIn)
|
||||
#define FlightTelemetryStatsInstGet(instId, dataOut) UAVObjGetInstanceData(FlightTelemetryStatsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define FlightTelemetryStatsInstUpdated(instId) UAVObjUpdated(FlightTelemetryStatsHandle(), instId)
|
||||
#define FlightTelemetryStatsGetMetadata(dataOut) UAVObjGetMetadata(FlightTelemetryStatsHandle(), dataOut)
|
||||
#define FlightTelemetryStatsSetMetadata(dataIn) UAVObjSetMetadata(FlightTelemetryStatsHandle(), dataIn)
|
||||
#define FlightTelemetryStatsReadOnly(dataIn) UAVObjReadOnly(FlightTelemetryStatsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -82,3 +96,8 @@ int32_t FlightTelemetryStatsInitialize();
|
||||
UAVObjHandle FlightTelemetryStatsHandle();
|
||||
|
||||
#endif // FLIGHTTELEMETRYSTATS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup GCSTelemetryStats GCSTelemetryStats
|
||||
* @brief The telemetry statistics from the ground computer
|
||||
*
|
||||
* Autogenerated files and functions for GCSTelemetryStats Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file gcstelemetrystats.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define GCSTELEMETRYSTATS_NUMBYTES sizeof(GCSTelemetryStatsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function GCSTelemetryStatsGet(dataOut)
|
||||
* @brief Populate a GCSTelemetryStatsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define GCSTelemetryStatsGet(dataOut) UAVObjGetData(GCSTelemetryStatsHandle(), dataOut)
|
||||
#define GCSTelemetryStatsSet(dataIn) UAVObjSetData(GCSTelemetryStatsHandle(), dataIn)
|
||||
#define GCSTelemetryStatsInstGet(instId, dataOut) UAVObjGetInstanceData(GCSTelemetryStatsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define GCSTelemetryStatsInstUpdated(instId) UAVObjUpdated(GCSTelemetryStatsHandle(), instId)
|
||||
#define GCSTelemetryStatsGetMetadata(dataOut) UAVObjGetMetadata(GCSTelemetryStatsHandle(), dataOut)
|
||||
#define GCSTelemetryStatsSetMetadata(dataIn) UAVObjSetMetadata(GCSTelemetryStatsHandle(), dataIn)
|
||||
#define GCSTelemetryStatsReadOnly(dataIn) UAVObjReadOnly(GCSTelemetryStatsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -82,3 +96,8 @@ int32_t GCSTelemetryStatsInitialize();
|
||||
UAVObjHandle GCSTelemetryStatsHandle();
|
||||
|
||||
#endif // GCSTELEMETRYSTATS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup GPSPosition GPSPosition
|
||||
* @brief Future object for the raw GPS data from @ref GPSModule. Only should be used by @ref AHRSCommsModule.
|
||||
*
|
||||
* Autogenerated files and functions for GPSPosition Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file gpsposition.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define GPSPOSITION_NUMBYTES sizeof(GPSPositionData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function GPSPositionGet(dataOut)
|
||||
* @brief Populate a GPSPositionData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define GPSPositionGet(dataOut) UAVObjGetData(GPSPositionHandle(), dataOut)
|
||||
#define GPSPositionSet(dataIn) UAVObjSetData(GPSPositionHandle(), dataIn)
|
||||
#define GPSPositionInstGet(instId, dataOut) UAVObjGetInstanceData(GPSPositionHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define GPSPositionInstUpdated(instId) UAVObjUpdated(GPSPositionHandle(), instId)
|
||||
#define GPSPositionGetMetadata(dataOut) UAVObjGetMetadata(GPSPositionHandle(), dataOut)
|
||||
#define GPSPositionSetMetadata(dataIn) UAVObjSetMetadata(GPSPositionHandle(), dataIn)
|
||||
#define GPSPositionReadOnly(dataIn) UAVObjReadOnly(GPSPositionHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -92,3 +106,8 @@ int32_t GPSPositionInitialize();
|
||||
UAVObjHandle GPSPositionHandle();
|
||||
|
||||
#endif // GPSPOSITION_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup HomeLocation HomeLocation
|
||||
* @brief HomeLocation setting which contains the constants to tranlate from longitutde and latitude to NED reference frame. Automatically set by @ref GPSModule after acquiring a 3D lock. Used by @ref AHRSCommsModule.
|
||||
*
|
||||
* Autogenerated files and functions for HomeLocation Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file homelocation.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define HOMELOCATION_NUMBYTES sizeof(HomeLocationData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function HomeLocationGet(dataOut)
|
||||
* @brief Populate a HomeLocationData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define HomeLocationGet(dataOut) UAVObjGetData(HomeLocationHandle(), dataOut)
|
||||
#define HomeLocationSet(dataIn) UAVObjSetData(HomeLocationHandle(), dataIn)
|
||||
#define HomeLocationInstGet(instId, dataOut) UAVObjGetInstanceData(HomeLocationHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define HomeLocationInstUpdated(instId) UAVObjUpdated(HomeLocationHandle(), instId)
|
||||
#define HomeLocationGetMetadata(dataOut) UAVObjGetMetadata(HomeLocationHandle(), dataOut)
|
||||
#define HomeLocationSetMetadata(dataIn) UAVObjSetMetadata(HomeLocationHandle(), dataIn)
|
||||
#define HomeLocationReadOnly(dataIn) UAVObjReadOnly(HomeLocationHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -90,3 +104,8 @@ int32_t HomeLocationInitialize();
|
||||
UAVObjHandle HomeLocationHandle();
|
||||
|
||||
#endif // HOMELOCATION_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ManualControlCommand ManualControlCommand
|
||||
* @brief The output from the @ref ManualControlModule which descodes the receiver inputs. Overriden by GCS for fly-by-wire control.
|
||||
*
|
||||
* Autogenerated files and functions for ManualControlCommand Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file manualcontrolcommand.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define MANUALCONTROLCOMMAND_NUMBYTES sizeof(ManualControlCommandData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function ManualControlCommandGet(dataOut)
|
||||
* @brief Populate a ManualControlCommandData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define ManualControlCommandGet(dataOut) UAVObjGetData(ManualControlCommandHandle(), dataOut)
|
||||
#define ManualControlCommandSet(dataIn) UAVObjSetData(ManualControlCommandHandle(), dataIn)
|
||||
#define ManualControlCommandInstGet(instId, dataOut) UAVObjGetInstanceData(ManualControlCommandHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define ManualControlCommandInstUpdated(instId) UAVObjUpdated(ManualControlCommandHandle(), instId)
|
||||
#define ManualControlCommandGetMetadata(dataOut) UAVObjGetMetadata(ManualControlCommandHandle(), dataOut)
|
||||
#define ManualControlCommandSetMetadata(dataIn) UAVObjSetMetadata(ManualControlCommandHandle(), dataIn)
|
||||
#define ManualControlCommandReadOnly(dataIn) UAVObjReadOnly(ManualControlCommandHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -88,3 +102,8 @@ int32_t ManualControlCommandInitialize();
|
||||
UAVObjHandle ManualControlCommandHandle();
|
||||
|
||||
#endif // MANUALCONTROLCOMMAND_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ManualControlSettings ManualControlSettings
|
||||
* @brief Settings to indicate how to decode receiver input by @ref ManualControlModule.
|
||||
*
|
||||
* Autogenerated files and functions for ManualControlSettings Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file manualcontrolsettings.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define MANUALCONTROLSETTINGS_NUMBYTES sizeof(ManualControlSettingsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function ManualControlSettingsGet(dataOut)
|
||||
* @brief Populate a ManualControlSettingsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define ManualControlSettingsGet(dataOut) UAVObjGetData(ManualControlSettingsHandle(), dataOut)
|
||||
#define ManualControlSettingsSet(dataIn) UAVObjSetData(ManualControlSettingsHandle(), dataIn)
|
||||
#define ManualControlSettingsInstGet(instId, dataOut) UAVObjGetInstanceData(ManualControlSettingsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define ManualControlSettingsInstUpdated(instId) UAVObjUpdated(ManualControlSettingsHandle(), instId)
|
||||
#define ManualControlSettingsGetMetadata(dataOut) UAVObjGetMetadata(ManualControlSettingsHandle(), dataOut)
|
||||
#define ManualControlSettingsSetMetadata(dataIn) UAVObjSetMetadata(ManualControlSettingsHandle(), dataIn)
|
||||
#define ManualControlSettingsReadOnly(dataIn) UAVObjReadOnly(ManualControlSettingsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -104,3 +118,8 @@ int32_t ManualControlSettingsInitialize();
|
||||
UAVObjHandle ManualControlSettingsHandle();
|
||||
|
||||
#endif // MANUALCONTROLSETTINGS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup NavigationDesired NavigationDesired
|
||||
* @brief Currently unused
|
||||
*
|
||||
* Autogenerated files and functions for NavigationDesired Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file navigationdesired.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define NAVIGATIONDESIRED_NUMBYTES sizeof(NavigationDesiredData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function NavigationDesiredGet(dataOut)
|
||||
* @brief Populate a NavigationDesiredData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define NavigationDesiredGet(dataOut) UAVObjGetData(NavigationDesiredHandle(), dataOut)
|
||||
#define NavigationDesiredSet(dataIn) UAVObjSetData(NavigationDesiredHandle(), dataIn)
|
||||
#define NavigationDesiredInstGet(instId, dataOut) UAVObjGetInstanceData(NavigationDesiredHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define NavigationDesiredInstUpdated(instId) UAVObjUpdated(NavigationDesiredHandle(), instId)
|
||||
#define NavigationDesiredGetMetadata(dataOut) UAVObjGetMetadata(NavigationDesiredHandle(), dataOut)
|
||||
#define NavigationDesiredSetMetadata(dataIn) UAVObjSetMetadata(NavigationDesiredHandle(), dataIn)
|
||||
#define NavigationDesiredReadOnly(dataIn) UAVObjReadOnly(NavigationDesiredHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -76,3 +90,8 @@ int32_t NavigationDesiredInitialize();
|
||||
UAVObjHandle NavigationDesiredHandle();
|
||||
|
||||
#endif // NAVIGATIONDESIRED_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup NavigationSettings NavigationSettings
|
||||
* @brief Settings for Navigation. Currently unused.
|
||||
*
|
||||
* Autogenerated files and functions for NavigationSettings Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file navigationsettings.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define NAVIGATIONSETTINGS_NUMBYTES sizeof(NavigationSettingsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function NavigationSettingsGet(dataOut)
|
||||
* @brief Populate a NavigationSettingsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define NavigationSettingsGet(dataOut) UAVObjGetData(NavigationSettingsHandle(), dataOut)
|
||||
#define NavigationSettingsSet(dataIn) UAVObjSetData(NavigationSettingsHandle(), dataIn)
|
||||
#define NavigationSettingsInstGet(instId, dataOut) UAVObjGetInstanceData(NavigationSettingsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define NavigationSettingsInstUpdated(instId) UAVObjUpdated(NavigationSettingsHandle(), instId)
|
||||
#define NavigationSettingsGetMetadata(dataOut) UAVObjGetMetadata(NavigationSettingsHandle(), dataOut)
|
||||
#define NavigationSettingsSetMetadata(dataIn) UAVObjSetMetadata(NavigationSettingsHandle(), dataIn)
|
||||
#define NavigationSettingsReadOnly(dataIn) UAVObjReadOnly(NavigationSettingsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -84,3 +98,8 @@ int32_t NavigationSettingsInitialize();
|
||||
UAVObjHandle NavigationSettingsHandle();
|
||||
|
||||
#endif // NAVIGATIONSETTINGS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ObjectPersistence ObjectPersistence
|
||||
* @brief Someone who knows please enter this
|
||||
*
|
||||
* Autogenerated files and functions for ObjectPersistence Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file objectpersistence.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define OBJECTPERSISTENCE_NUMBYTES sizeof(ObjectPersistenceData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function ObjectPersistenceGet(dataOut)
|
||||
* @brief Populate a ObjectPersistenceData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define ObjectPersistenceGet(dataOut) UAVObjGetData(ObjectPersistenceHandle(), dataOut)
|
||||
#define ObjectPersistenceSet(dataIn) UAVObjSetData(ObjectPersistenceHandle(), dataIn)
|
||||
#define ObjectPersistenceInstGet(instId, dataOut) UAVObjGetInstanceData(ObjectPersistenceHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define ObjectPersistenceInstUpdated(instId) UAVObjUpdated(ObjectPersistenceHandle(), instId)
|
||||
#define ObjectPersistenceGetMetadata(dataOut) UAVObjGetMetadata(ObjectPersistenceHandle(), dataOut)
|
||||
#define ObjectPersistenceSetMetadata(dataIn) UAVObjSetMetadata(ObjectPersistenceHandle(), dataIn)
|
||||
#define ObjectPersistenceReadOnly(dataIn) UAVObjReadOnly(ObjectPersistenceHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -80,3 +94,8 @@ int32_t ObjectPersistenceInitialize();
|
||||
UAVObjHandle ObjectPersistenceHandle();
|
||||
|
||||
#endif // OBJECTPERSISTENCE_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup PositionActual PositionActual
|
||||
* @brief Deprecated for GPS position.
|
||||
*
|
||||
* Autogenerated files and functions for PositionActual Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file positionactual.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define POSITIONACTUAL_NUMBYTES sizeof(PositionActualData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function PositionActualGet(dataOut)
|
||||
* @brief Populate a PositionActualData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define PositionActualGet(dataOut) UAVObjGetData(PositionActualHandle(), dataOut)
|
||||
#define PositionActualSet(dataIn) UAVObjSetData(PositionActualHandle(), dataIn)
|
||||
#define PositionActualInstGet(instId, dataOut) UAVObjGetInstanceData(PositionActualHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define PositionActualInstUpdated(instId) UAVObjUpdated(PositionActualHandle(), instId)
|
||||
#define PositionActualGetMetadata(dataOut) UAVObjGetMetadata(PositionActualHandle(), dataOut)
|
||||
#define PositionActualSetMetadata(dataIn) UAVObjSetMetadata(PositionActualHandle(), dataIn)
|
||||
#define PositionActualReadOnly(dataIn) UAVObjReadOnly(PositionActualHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -92,3 +106,8 @@ int32_t PositionActualInitialize();
|
||||
UAVObjHandle PositionActualHandle();
|
||||
|
||||
#endif // POSITIONACTUAL_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup StabilizationSettings StabilizationSettings
|
||||
* @brief PID settings used by the Stabilization module to combine the @ref AttitudeActual and @ref AttitudeDesired to compute @ref ActuatorDesired
|
||||
*
|
||||
* Autogenerated files and functions for StabilizationSettings Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file stabilizationsettings.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define STABILIZATIONSETTINGS_NUMBYTES sizeof(StabilizationSettingsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function StabilizationSettingsGet(dataOut)
|
||||
* @brief Populate a StabilizationSettingsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define StabilizationSettingsGet(dataOut) UAVObjGetData(StabilizationSettingsHandle(), dataOut)
|
||||
#define StabilizationSettingsSet(dataIn) UAVObjSetData(StabilizationSettingsHandle(), dataIn)
|
||||
#define StabilizationSettingsInstGet(instId, dataOut) UAVObjGetInstanceData(StabilizationSettingsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define StabilizationSettingsInstUpdated(instId) UAVObjUpdated(StabilizationSettingsHandle(), instId)
|
||||
#define StabilizationSettingsGetMetadata(dataOut) UAVObjGetMetadata(StabilizationSettingsHandle(), dataOut)
|
||||
#define StabilizationSettingsSetMetadata(dataIn) UAVObjSetMetadata(StabilizationSettingsHandle(), dataIn)
|
||||
#define StabilizationSettingsReadOnly(dataIn) UAVObjReadOnly(StabilizationSettingsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -94,3 +108,8 @@ int32_t StabilizationSettingsInitialize();
|
||||
UAVObjHandle StabilizationSettingsHandle();
|
||||
|
||||
#endif // STABILIZATIONSETTINGS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup SystemAlarms SystemAlarms
|
||||
* @brief Alarms from OpenPilot to indicate failure conditions or warnings. Set by various modules.
|
||||
*
|
||||
* Autogenerated files and functions for SystemAlarms Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file systemalarms.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define SYSTEMALARMS_NUMBYTES sizeof(SystemAlarmsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function SystemAlarmsGet(dataOut)
|
||||
* @brief Populate a SystemAlarmsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define SystemAlarmsGet(dataOut) UAVObjGetData(SystemAlarmsHandle(), dataOut)
|
||||
#define SystemAlarmsSet(dataIn) UAVObjSetData(SystemAlarmsHandle(), dataIn)
|
||||
#define SystemAlarmsInstGet(instId, dataOut) UAVObjGetInstanceData(SystemAlarmsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define SystemAlarmsInstUpdated(instId) UAVObjUpdated(SystemAlarmsHandle(), instId)
|
||||
#define SystemAlarmsGetMetadata(dataOut) UAVObjGetMetadata(SystemAlarmsHandle(), dataOut)
|
||||
#define SystemAlarmsSetMetadata(dataIn) UAVObjSetMetadata(SystemAlarmsHandle(), dataIn)
|
||||
#define SystemAlarmsReadOnly(dataIn) UAVObjReadOnly(SystemAlarmsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -76,3 +90,8 @@ int32_t SystemAlarmsInitialize();
|
||||
UAVObjHandle SystemAlarmsHandle();
|
||||
|
||||
#endif // SYSTEMALARMS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup SystemSettings SystemSettings
|
||||
* @brief Select airframe type. Currently used by @ref ActuatorModule to choose mixing from @ref ActuatorDesired to @ref ActuatorCommand
|
||||
*
|
||||
* Autogenerated files and functions for SystemSettings Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file systemsettings.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define SYSTEMSETTINGS_NUMBYTES sizeof(SystemSettingsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function SystemSettingsGet(dataOut)
|
||||
* @brief Populate a SystemSettingsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define SystemSettingsGet(dataOut) UAVObjGetData(SystemSettingsHandle(), dataOut)
|
||||
#define SystemSettingsSet(dataIn) UAVObjSetData(SystemSettingsHandle(), dataIn)
|
||||
#define SystemSettingsInstGet(instId, dataOut) UAVObjGetInstanceData(SystemSettingsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define SystemSettingsInstUpdated(instId) UAVObjUpdated(SystemSettingsHandle(), instId)
|
||||
#define SystemSettingsGetMetadata(dataOut) UAVObjGetMetadata(SystemSettingsHandle(), dataOut)
|
||||
#define SystemSettingsSetMetadata(dataIn) UAVObjSetMetadata(SystemSettingsHandle(), dataIn)
|
||||
#define SystemSettingsReadOnly(dataIn) UAVObjReadOnly(SystemSettingsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -72,3 +86,8 @@ int32_t SystemSettingsInitialize();
|
||||
UAVObjHandle SystemSettingsHandle();
|
||||
|
||||
#endif // SYSTEMSETTINGS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup SystemStats SystemStats
|
||||
* @brief CPU and memory usage from OpenPilot computer.
|
||||
*
|
||||
* Autogenerated files and functions for SystemStats Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file systemstats.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define SYSTEMSTATS_NUMBYTES sizeof(SystemStatsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function SystemStatsGet(dataOut)
|
||||
* @brief Populate a SystemStatsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define SystemStatsGet(dataOut) UAVObjGetData(SystemStatsHandle(), dataOut)
|
||||
#define SystemStatsSet(dataIn) UAVObjSetData(SystemStatsHandle(), dataIn)
|
||||
#define SystemStatsInstGet(instId, dataOut) UAVObjGetInstanceData(SystemStatsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define SystemStatsInstUpdated(instId) UAVObjUpdated(SystemStatsHandle(), instId)
|
||||
#define SystemStatsGetMetadata(dataOut) UAVObjGetMetadata(SystemStatsHandle(), dataOut)
|
||||
#define SystemStatsSetMetadata(dataIn) UAVObjSetMetadata(SystemStatsHandle(), dataIn)
|
||||
#define SystemStatsReadOnly(dataIn) UAVObjReadOnly(SystemStatsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -74,3 +88,8 @@ int32_t SystemStatsInitialize();
|
||||
UAVObjHandle SystemStatsHandle();
|
||||
|
||||
#endif // SYSTEMSTATS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup TelemetrySettings TelemetrySettings
|
||||
* @brief Select baud rate of telemetry. Warning - this must match your modem.
|
||||
*
|
||||
* Autogenerated files and functions for TelemetrySettings Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file telemetrysettings.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define TELEMETRYSETTINGS_NUMBYTES sizeof(TelemetrySettingsData)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function TelemetrySettingsGet(dataOut)
|
||||
* @brief Populate a TelemetrySettingsData object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define TelemetrySettingsGet(dataOut) UAVObjGetData(TelemetrySettingsHandle(), dataOut)
|
||||
#define TelemetrySettingsSet(dataIn) UAVObjSetData(TelemetrySettingsHandle(), dataIn)
|
||||
#define TelemetrySettingsInstGet(instId, dataOut) UAVObjGetInstanceData(TelemetrySettingsHandle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define TelemetrySettingsInstUpdated(instId) UAVObjUpdated(TelemetrySettingsHandle(), instId)
|
||||
#define TelemetrySettingsGetMetadata(dataOut) UAVObjGetMetadata(TelemetrySettingsHandle(), dataOut)
|
||||
#define TelemetrySettingsSetMetadata(dataIn) UAVObjSetMetadata(TelemetrySettingsHandle(), dataIn)
|
||||
#define TelemetrySettingsReadOnly(dataIn) UAVObjReadOnly(TelemetrySettingsHandle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -72,3 +86,8 @@ int32_t TelemetrySettingsInitialize();
|
||||
UAVObjHandle TelemetrySettingsHandle();
|
||||
|
||||
#endif // TELEMETRYSETTINGS_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,11 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup UAV Object Manager
|
||||
* @brief The core UAV Objects functions, most of which are wrappered by
|
||||
* autogenerated defines
|
||||
* @{
|
||||
*
|
||||
* @file uavobjectmanager.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -145,6 +151,7 @@ int32_t UAVObjSetInstanceData(UAVObjHandle obj, uint16_t instId, const void* dat
|
||||
int32_t UAVObjGetInstanceData(UAVObjHandle obj, uint16_t instId, void* dataOut);
|
||||
int32_t UAVObjSetMetadata(UAVObjHandle obj, const UAVObjMetadata* dataIn);
|
||||
int32_t UAVObjGetMetadata(UAVObjHandle obj, UAVObjMetadata* dataOut);
|
||||
int8_t UAVObjReadOnly(UAVObjHandle obj);
|
||||
int32_t UAVObjConnectQueue(UAVObjHandle obj, xQueueHandle queue, int32_t eventMask);
|
||||
int32_t UAVObjDisconnectQueue(UAVObjHandle obj, xQueueHandle queue);
|
||||
int32_t UAVObjConnectCallback(UAVObjHandle obj, UAVObjEventCallback cb, int32_t eventMask);
|
||||
@ -156,3 +163,8 @@ void UAVObjInstanceUpdated(UAVObjHandle obj, uint16_t instId);
|
||||
void UAVObjIterate(void (*iterator)(UAVObjHandle obj));
|
||||
|
||||
#endif // UAVOBJECTMANAGER_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
||||
|
@ -1,5 +1,13 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup $(NAME) $(NAME)
|
||||
* @brief $(DESCRIPTION)
|
||||
*
|
||||
* Autogenerated files and functions for $(NAME) Object
|
||||
|
||||
* @{
|
||||
*
|
||||
* @file $(NAMELC).h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -41,6 +49,11 @@
|
||||
#define $(NAMEUC)_NUMBYTES sizeof($(NAME)Data)
|
||||
|
||||
// Object access macros
|
||||
/**
|
||||
* @function $(NAME)Get(dataOut)
|
||||
* @brief Populate a $(NAME)Data object
|
||||
* @param[out] dataOut
|
||||
*/
|
||||
#define $(NAME)Get(dataOut) UAVObjGetData($(NAME)Handle(), dataOut)
|
||||
#define $(NAME)Set(dataIn) UAVObjSetData($(NAME)Handle(), dataIn)
|
||||
#define $(NAME)InstGet(instId, dataOut) UAVObjGetInstanceData($(NAME)Handle(), instId, dataOut)
|
||||
@ -54,6 +67,7 @@
|
||||
#define $(NAME)InstUpdated(instId) UAVObjUpdated($(NAME)Handle(), instId)
|
||||
#define $(NAME)GetMetadata(dataOut) UAVObjGetMetadata($(NAME)Handle(), dataOut)
|
||||
#define $(NAME)SetMetadata(dataIn) UAVObjSetMetadata($(NAME)Handle(), dataIn)
|
||||
#define $(NAME)ReadOnly(dataIn) UAVObjReadOnly($(NAME)Handle(), dataIn)
|
||||
|
||||
// Object data
|
||||
typedef struct {
|
||||
@ -68,3 +82,8 @@ int32_t $(NAME)Initialize();
|
||||
UAVObjHandle $(NAME)Handle();
|
||||
|
||||
#endif // $(NAMEUC)_H
|
||||
|
||||
/**
|
||||
* @}
|
||||
* @}
|
||||
*/
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ManualControlCommand ManualControlCommand
|
||||
* @brief The output from the @ref ManualControlModule which descodes the receiver inputs. Overriden by GCS for fly-by-wire control.
|
||||
*
|
||||
* Autogenerated files and functions for ManualControlCommand Object
|
||||
* @{
|
||||
*
|
||||
* @file manualcontrolcommand.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle ManualControlCommandHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ManualControlSettings ManualControlSettings
|
||||
* @brief Settings to indicate how to decode receiver input by @ref ManualControlModule.
|
||||
*
|
||||
* Autogenerated files and functions for ManualControlSettings Object
|
||||
* @{
|
||||
*
|
||||
* @file manualcontrolsettings.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -128,5 +135,7 @@ UAVObjHandle ManualControlSettingsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup NavigationDesired NavigationDesired
|
||||
* @brief Currently unused
|
||||
*
|
||||
* Autogenerated files and functions for NavigationDesired Object
|
||||
* @{
|
||||
*
|
||||
* @file navigationdesired.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle NavigationDesiredHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup NavigationSettings NavigationSettings
|
||||
* @brief Settings for Navigation. Currently unused.
|
||||
*
|
||||
* Autogenerated files and functions for NavigationSettings Object
|
||||
* @{
|
||||
*
|
||||
* @file navigationsettings.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -106,5 +113,7 @@ UAVObjHandle NavigationSettingsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup ObjectPersistence ObjectPersistence
|
||||
* @brief Someone who knows please enter this
|
||||
*
|
||||
* Autogenerated files and functions for ObjectPersistence Object
|
||||
* @{
|
||||
*
|
||||
* @file objectpersistence.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle ObjectPersistenceHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup PositionActual PositionActual
|
||||
* @brief Deprecated for GPS position.
|
||||
*
|
||||
* Autogenerated files and functions for PositionActual Object
|
||||
* @{
|
||||
*
|
||||
* @file positionactual.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle PositionActualHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup StabilizationSettings StabilizationSettings
|
||||
* @brief PID settings used by the Stabilization module to combine the @ref AttitudeActual and @ref AttitudeDesired to compute @ref ActuatorDesired
|
||||
*
|
||||
* Autogenerated files and functions for StabilizationSettings Object
|
||||
* @{
|
||||
*
|
||||
* @file stabilizationsettings.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -111,5 +118,7 @@ UAVObjHandle StabilizationSettingsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup SystemAlarms SystemAlarms
|
||||
* @brief Alarms from OpenPilot to indicate failure conditions or warnings. Set by various modules.
|
||||
*
|
||||
* Autogenerated files and functions for SystemAlarms Object
|
||||
* @{
|
||||
*
|
||||
* @file systemalarms.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle SystemAlarmsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup SystemSettings SystemSettings
|
||||
* @brief Select airframe type. Currently used by @ref ActuatorModule to choose mixing from @ref ActuatorDesired to @ref ActuatorCommand
|
||||
*
|
||||
* Autogenerated files and functions for SystemSettings Object
|
||||
* @{
|
||||
*
|
||||
* @file systemsettings.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -99,5 +106,7 @@ UAVObjHandle SystemSettingsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup SystemStats SystemStats
|
||||
* @brief CPU and memory usage from OpenPilot computer.
|
||||
*
|
||||
* Autogenerated files and functions for SystemStats Object
|
||||
* @{
|
||||
*
|
||||
* @file systemstats.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle SystemStatsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup TelemetrySettings TelemetrySettings
|
||||
* @brief Select baud rate of telemetry. Warning - this must match your modem.
|
||||
*
|
||||
* Autogenerated files and functions for TelemetrySettings Object
|
||||
* @{
|
||||
*
|
||||
* @file telemetrysettings.c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -99,5 +106,7 @@ UAVObjHandle TelemetrySettingsHandle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup UAV Object Manager
|
||||
* @brief The core UAV Objects functions, most of which are wrappered by
|
||||
* autogenerated defines
|
||||
* @{
|
||||
*
|
||||
*
|
||||
* @file uavobjectmanager.h
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -1129,6 +1136,31 @@ int32_t UAVObjGetMetadata(UAVObjHandle obj, UAVObjMetadata* dataOut)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if an object is read only
|
||||
* \param[in] obj The object handle
|
||||
* \return
|
||||
* \arg 0 if not read only
|
||||
* \arg 1 if read only
|
||||
* \arg -1 if unable to get meta data
|
||||
*/
|
||||
int8_t UAVObjReadOnly(UAVObjHandle obj)
|
||||
{
|
||||
ObjectList* objEntry;
|
||||
UAVObjMetadata* mdata;
|
||||
|
||||
// Cast to object info
|
||||
objEntry = (ObjectList*)obj;
|
||||
|
||||
// Check access level
|
||||
if ( !objEntry->isMetaobject )
|
||||
{
|
||||
mdata = (UAVObjMetadata*)(objEntry->linkedObj->instances->data);
|
||||
return mdata->access == ACCESS_READONLY;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Connect an event queue to the object, if the queue is already connected then the event mask is only updated.
|
||||
* All events matching the event mask will be pushed to the event queue.
|
||||
|
@ -1,5 +1,12 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @addtogroup UAVObjects OpenPilot UAVObjects
|
||||
* @{
|
||||
* @addtogroup $(NAME) $(NAME)
|
||||
* @brief $(DESCRIPTION)
|
||||
*
|
||||
* Autogenerated files and functions for $(NAME) Object
|
||||
* @{
|
||||
*
|
||||
* @file $(NAMELC).c
|
||||
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
||||
@ -98,5 +105,7 @@ UAVObjHandle $(NAME)Handle()
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
@ -147,6 +147,7 @@ QString UAVObjectParser::parseXML(QString& xml, QString& filename)
|
||||
bool telGCSFound = false;
|
||||
bool telFlightFound = false;
|
||||
bool logFound = false;
|
||||
bool descriptionFound = false;
|
||||
while ( !childNode.isNull() )
|
||||
{
|
||||
// Process element depending on its type
|
||||
@ -198,6 +199,15 @@ QString UAVObjectParser::parseXML(QString& xml, QString& filename)
|
||||
}
|
||||
logFound = true;
|
||||
}
|
||||
else if ( childNode.nodeName().compare(QString("description")) == 0 )
|
||||
{
|
||||
QString status = processObjectDescription(childNode, &info->description);
|
||||
if (!status.isNull())
|
||||
{
|
||||
return status;
|
||||
}
|
||||
descriptionFound = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return QString("Unknown object element");
|
||||
@ -224,6 +234,12 @@ QString UAVObjectParser::parseXML(QString& xml, QString& filename)
|
||||
return QString("Object::logging element is missing");
|
||||
}
|
||||
|
||||
// TODO: Make into error once all objects updated
|
||||
if ( !descriptionFound )
|
||||
{
|
||||
return QString("Object::description element is missing");
|
||||
}
|
||||
|
||||
// Calculate ID
|
||||
calculateID(info);
|
||||
|
||||
@ -580,6 +596,16 @@ QString UAVObjectParser::processObjectAttributes(QDomNode& node, ObjectInfo* inf
|
||||
return QString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Process the description field from the XML file
|
||||
*/
|
||||
QString UAVObjectParser::processObjectDescription(QDomNode& childNode, QString * description)
|
||||
{
|
||||
description->append(childNode.firstChild().nodeValue());
|
||||
return QString();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Replace all the common tags from the template file with actual object
|
||||
* information.
|
||||
@ -593,6 +619,8 @@ void UAVObjectParser::replaceCommonTags(QString& out, ObjectInfo* info)
|
||||
out.replace(QString("$(NAME)"), info->name);
|
||||
// Replace $(NAMELC) tag
|
||||
out.replace(QString("$(NAMELC)"), info->name.toLower());
|
||||
// Replace $(DESCRIPTION) tag
|
||||
out.replace(QString("$(DESCRIPTION)"), info->description);
|
||||
// Replace $(NAMEUC) tag
|
||||
out.replace(QString("$(NAMEUC)"), info->name.toUpper());
|
||||
// Replace $(OBJID) tag
|
||||
|
@ -90,7 +90,8 @@ public:
|
||||
int gcsTelemetryUpdatePeriod; /** Update period used by the GCS (only if telemetry mode is PERIODIC) */
|
||||
UpdateMode loggingUpdateMode; /** Update mode used by the logging module (UpdateMode) */
|
||||
int loggingUpdatePeriod; /** Update period used by the logging module (only if logging mode is PERIODIC) */
|
||||
QList<FieldInfo*> fields;
|
||||
QList<FieldInfo*> fields; /** The data fields for the object **/
|
||||
QString description; /** Description used for Doxygen **/
|
||||
} ObjectInfo;
|
||||
|
||||
// Functions
|
||||
@ -122,6 +123,7 @@ private:
|
||||
QString processObjectAttributes(QDomNode& node, ObjectInfo* info);
|
||||
QString processObjectFields(QDomNode& childNode, ObjectInfo* info);
|
||||
QString processObjectAccess(QDomNode& childNode, ObjectInfo* info);
|
||||
QString processObjectDescription(QDomNode& childNode, QString * description);
|
||||
QString processObjectMetadata(QDomNode& childNode, UpdateMode* mode, int* period, bool* acked);
|
||||
void calculateID(ObjectInfo* info);
|
||||
quint32 updateHash(quint32 value, quint32 hash);
|
||||
|
@ -1,9 +1,10 @@
|
||||
<xml>
|
||||
<object name="ActuatorCommand" singleinstance="true" settings="false">
|
||||
<field name="Channel" units="us" type="int16" elements="8"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="ActuatorCommand" singleinstance="true" settings="false">
|
||||
<description>Contains the pulse duration sent to each of the channels. Set by @ref ActuatorModule</description>
|
||||
<field name="Channel" units="us" type="int16" elements="8"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,12 +1,13 @@
|
||||
<xml>
|
||||
<object name="ActuatorDesired" singleinstance="true" settings="false">
|
||||
<field name="Roll" units="%" type="float" elements="1"/>
|
||||
<field name="Pitch" units="%" type="float" elements="1"/>
|
||||
<field name="Yaw" units="%" type="float" elements="1"/>
|
||||
<field name="Throttle" units="%" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="ActuatorDesired" singleinstance="true" settings="false">
|
||||
<description>Desired raw, pitch and yaw actuator settings. Comes from either @ref StabilizationModule or @ref ManualControlModule depending on FlightMode.</description>
|
||||
<field name="Roll" units="%" type="float" elements="1"/>
|
||||
<field name="Pitch" units="%" type="float" elements="1"/>
|
||||
<field name="Yaw" units="%" type="float" elements="1"/>
|
||||
<field name="Throttle" units="%" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,42 +1,43 @@
|
||||
<xml>
|
||||
<object name="ActuatorSettings" singleinstance="true" settings="true">
|
||||
<field name="FixedWingRoll1" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingRoll2" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingPitch1" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingPitch2" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingYaw" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingThrottle" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorN" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorNE" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorE" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorSE" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorS" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorSW" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorW" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorNW" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMYawStabilizationInManualMode" units="" type="enum" elements="1" options="False,True" defaultvalue="False"/>
|
||||
<field name="CCPMFlybarless" units="" type="enum" elements="1" options="False,True" defaultvalue="False"/>
|
||||
<field name="CCPMThrottleCurve" units="percent" type="float" elements="5" defaultvalue="0.00"/>
|
||||
<field name="CCPMPitchCurve" units="percent" type="float" elements="5" defaultvalue="0.00"/>
|
||||
<field name="CCPMCollectiveConstant" units="multiplier (0.0 -> 1.0)" type="float" elements="1" defaultvalue="0.5"/>
|
||||
<field name="CCPMCorrectionAngle" units="degrees" type="float" elements="1" defaultvalue="0"/>
|
||||
<field name="CCPMAngleW" units="degrees" type="float" elements="1" defaultvalue="0"/>
|
||||
<field name="CCPMAngleX" units="degrees" type="float" elements="1" defaultvalue="60"/>
|
||||
<field name="CCPMAngleY" units="degrees" type="float" elements="1" defaultvalue="180"/>
|
||||
<field name="CCPMAngleZ" units="degrees" type="float" elements="1" defaultvalue="300"/>
|
||||
<field name="CCPMServoW" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMServoX" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMServoY" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMServoZ" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMThrottle" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMTailRotor" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="ChannelUpdateFreq" units="Hz" type="int16" elements="2" defaultvalue="50"/>
|
||||
<field name="ChannelMax" units="us" type="int16" elements="8" defaultvalue="2000"/>
|
||||
<field name="ChannelNeutral" units="us" type="int16" elements="8" defaultvalue="1500"/>
|
||||
<field name="ChannelMin" units="us" type="int16" elements="8" defaultvalue="1000"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<object name="ActuatorSettings" singleinstance="true" settings="true">
|
||||
<description>Settings for the @ref ActuatorModule that controls the channel assignments for the mixer based on AircraftType</description>
|
||||
<field name="FixedWingRoll1" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingRoll2" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingPitch1" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingPitch2" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingYaw" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="FixedWingThrottle" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorN" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorNE" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorE" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorSE" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorS" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorSW" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorW" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="VTOLMotorNW" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMYawStabilizationInManualMode" units="" type="enum" elements="1" options="False,True" defaultvalue="False"/>
|
||||
<field name="CCPMFlybarless" units="" type="enum" elements="1" options="False,True" defaultvalue="False"/>
|
||||
<field name="CCPMThrottleCurve" units="percent" type="float" elements="5" defaultvalue="0.00"/>
|
||||
<field name="CCPMPitchCurve" units="percent" type="float" elements="5" defaultvalue="0.00"/>
|
||||
<field name="CCPMCollectiveConstant" units="multiplier (0.0 -> 1.0)" type="float" elements="1" defaultvalue="0.5"/>
|
||||
<field name="CCPMCorrectionAngle" units="degrees" type="float" elements="1" defaultvalue="0"/>
|
||||
<field name="CCPMAngleW" units="degrees" type="float" elements="1" defaultvalue="0"/>
|
||||
<field name="CCPMAngleX" units="degrees" type="float" elements="1" defaultvalue="60"/>
|
||||
<field name="CCPMAngleY" units="degrees" type="float" elements="1" defaultvalue="180"/>
|
||||
<field name="CCPMAngleZ" units="degrees" type="float" elements="1" defaultvalue="300"/>
|
||||
<field name="CCPMServoW" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMServoX" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMServoY" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMServoZ" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMThrottle" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="CCPMTailRotor" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="None"/>
|
||||
<field name="ChannelUpdateFreq" units="Hz" type="int16" elements="2" defaultvalue="50"/>
|
||||
<field name="ChannelMax" units="us" type="int16" elements="8" defaultvalue="2000"/>
|
||||
<field name="ChannelNeutral" units="us" type="int16" elements="8" defaultvalue="1500"/>
|
||||
<field name="ChannelMin" units="us" type="int16" elements="8" defaultvalue="1000"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,5 +1,6 @@
|
||||
<xml>
|
||||
<object name="AHRSCalibration" singleinstance="true" settings="true">
|
||||
<description>Contains the calibration settings for the @ref AHRSCommsModule</description>
|
||||
<field name="measure_var" units="" type="enum" elements="1" options="FALSE,TRUE" defaultvalue="FALSE"/>
|
||||
<field name="accel_bias" units="raw" type="int16" elementnames="X,Y,Z" defaultvalue="-2048"/>
|
||||
<field name="accel_scale" units="m/s" type="float" elementnames="X,Y,Z" defaultvalue="0.012"/>
|
||||
|
@ -1,12 +1,13 @@
|
||||
<xml>
|
||||
<object name="AHRSSettings" singleinstance="true" settings="true">
|
||||
<field name="Algorithm" units="" type="enum" elements="1" options="SIMPLE,INSGPS" defaultvalue="INSGPS"/>
|
||||
<field name="UpdateRaw" units="raw" type="enum" elements="1" options="FALSE,TRUE" defaultvalue="FALSE"/>
|
||||
<field name="UpdateFiltered" units="raw" type="enum" elements="1" options="FALSE,TRUE" defaultvalue="TRUE"/>
|
||||
<field name="UpdatePeriod" units="ms" type="int32" elements="1" defaultvalue="20"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="AHRSSettings" singleinstance="true" settings="true">
|
||||
<description>Settings for the @ref AHRSCommsModule to control the algorithm and what is updated</description>
|
||||
<field name="Algorithm" units="" type="enum" elements="1" options="SIMPLE,INSGPS" defaultvalue="INSGPS"/>
|
||||
<field name="UpdateRaw" units="raw" type="enum" elements="1" options="FALSE,TRUE" defaultvalue="FALSE"/>
|
||||
<field name="UpdateFiltered" units="raw" type="enum" elements="1" options="FALSE,TRUE" defaultvalue="TRUE"/>
|
||||
<field name="UpdatePeriod" units="ms" type="int32" elements="1" defaultvalue="20"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,13 +1,14 @@
|
||||
<xml>
|
||||
<object name="AhrsStatus" singleinstance="true" settings="false">
|
||||
<field name="SerialNumber" units="n/a" type="uint8" elements="25"/>
|
||||
<field name="CommErrors" units="count" type="uint8" elementnames="Algorithm,Update,AttitudeRaw,HomeLocation,Calibration"/>
|
||||
<field name="AlgorithmSet" units="" type="enum" elements="1" options="FALSE,TRUE"/>
|
||||
<field name="CalibrationSet" units="" type="enum" elements="1" options="FALSE,TRUE"/>
|
||||
<field name="HomeSet" units="" type="enum" elements="1" options="FALSE,TRUE"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
</object>
|
||||
<object name="AhrsStatus" singleinstance="true" settings="false">
|
||||
<description>Status for the @ref AHRSCommsModule, including communication errors</description>
|
||||
<field name="SerialNumber" units="n/a" type="uint8" elements="25"/>
|
||||
<field name="CommErrors" units="count" type="uint8" elementnames="Algorithm,Update,AttitudeRaw,HomeLocation,Calibration"/>
|
||||
<field name="AlgorithmSet" units="" type="enum" elements="1" options="FALSE,TRUE"/>
|
||||
<field name="CalibrationSet" units="" type="enum" elements="1" options="FALSE,TRUE"/>
|
||||
<field name="HomeSet" units="" type="enum" elements="1" options="FALSE,TRUE"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,15 +1,16 @@
|
||||
<xml>
|
||||
<object name="AttitudeActual" singleinstance="true" settings="false">
|
||||
<field name="q1" units="none" type="float" elements="1"/>
|
||||
<field name="q2" units="none" type="float" elements="1"/>
|
||||
<field name="q3" units="none" type="float" elements="1"/>
|
||||
<field name="q4" units="none" type="float" elements="1"/>
|
||||
<field name="Roll" units="degrees" type="float" elements="1"/>
|
||||
<field name="Pitch" units="degrees" type="float" elements="1"/>
|
||||
<field name="Yaw" units="degrees" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="500"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="AttitudeActual" singleinstance="true" settings="false">
|
||||
<description>The updated Attitude estimation from @ref AHRSCommsModule.</description>
|
||||
<field name="q1" units="none" type="float" elements="1"/>
|
||||
<field name="q2" units="none" type="float" elements="1"/>
|
||||
<field name="q3" units="none" type="float" elements="1"/>
|
||||
<field name="q4" units="none" type="float" elements="1"/>
|
||||
<field name="Roll" units="degrees" type="float" elements="1"/>
|
||||
<field name="Pitch" units="degrees" type="float" elements="1"/>
|
||||
<field name="Yaw" units="degrees" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="500"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,12 +1,13 @@
|
||||
<xml>
|
||||
<object name="AttitudeDesired" singleinstance="true" settings="false">
|
||||
<field name="Roll" units="degrees" type="float" elements="1"/>
|
||||
<field name="Pitch" units="degrees" type="float" elements="1"/>
|
||||
<field name="Yaw" units="degrees" type="float" elements="1"/>
|
||||
<field name="Throttle" units="%" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="AttitudeDesired" singleinstance="true" settings="false">
|
||||
<description>The desired attitude that @ref StabilizationModule will try and achieve if FlightMode is Stabilized. Comes from @ref ManaulControlModule.</description>
|
||||
<field name="Roll" units="degrees" type="float" elements="1"/>
|
||||
<field name="Pitch" units="degrees" type="float" elements="1"/>
|
||||
<field name="Yaw" units="degrees" type="float" elements="1"/>
|
||||
<field name="Throttle" units="%" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,14 +1,15 @@
|
||||
<xml>
|
||||
<object name="AttitudeRaw" singleinstance="true" settings="false">
|
||||
<field name="magnetometers" units="mGa" type="int16" elementnames="X,Y,Z"/>
|
||||
<field name="gyros" units="raw" type="uint16" elementnames="X,Y,Z"/>
|
||||
<field name="gyros_filtered" units="deg/s" type="float" elementnames="X,Y,Z"/>
|
||||
<field name="gyrotemp" units="raw" type="uint16" elementnames="XY,Z"/>
|
||||
<field name="accels" units="raw" type="uint16" elementnames="X,Y,Z"/>
|
||||
<field name="accels_filtered" units="m/s" type="float" elementnames="X,Y,Z"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="AttitudeRaw" singleinstance="true" settings="false">
|
||||
<description>The raw attitude sensor data from @ref AHRSCommsModule. Not always updated.</description>
|
||||
<field name="magnetometers" units="mGa" type="int16" elementnames="X,Y,Z"/>
|
||||
<field name="gyros" units="raw" type="uint16" elementnames="X,Y,Z"/>
|
||||
<field name="gyros_filtered" units="deg/s" type="float" elementnames="X,Y,Z"/>
|
||||
<field name="gyrotemp" units="raw" type="uint16" elementnames="XY,Z"/>
|
||||
<field name="accels" units="raw" type="uint16" elementnames="X,Y,Z"/>
|
||||
<field name="accels_filtered" units="m/s" type="float" elementnames="X,Y,Z"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,11 +1,12 @@
|
||||
<xml>
|
||||
<object name="BaroAltitude" singleinstance="true" settings="false">
|
||||
<field name="Altitude" units="m" type="float" elements="1"/>
|
||||
<field name="Temperature" units="C" type="float" elements="1"/>
|
||||
<field name="Pressure" units="kPa" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="BaroAltitude" singleinstance="true" settings="false">
|
||||
<description>The raw data from the barometric sensor with pressure, temperature and altitude estimate.</description>
|
||||
<field name="Altitude" units="m" type="float" elements="1"/>
|
||||
<field name="Temperature" units="C" type="float" elements="1"/>
|
||||
<field name="Pressure" units="kPa" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,16 +1,17 @@
|
||||
<xml>
|
||||
<object name="ExampleObject1" singleinstance="false" settings="false">
|
||||
<field name="Field1" units="unit1" type="int8" elements="1"/>
|
||||
<field name="Field2" units="unit2" type="int16" elements="1"/>
|
||||
<field name="Field3" units="unit3" type="int32" elements="1"/>
|
||||
<field name="Field4" units="unit4" type="float" elements="4"/>
|
||||
<field name="Field5" units="unit5" type="uint8" elements="1"/>
|
||||
<field name="Field6" units="unit6" type="uint16" elements="1"/>
|
||||
<field name="Field7" units="unit7" type="uint32" elements="1"/>
|
||||
<field name="Field8" units="unit8" type="enum" elements="1" options="Option1, Option2"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="periodic" period="500"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<object name="ExampleObject1" singleinstance="false" settings="false">
|
||||
<description>Example object</description>
|
||||
<field name="Field1" units="unit1" type="int8" elements="1"/>
|
||||
<field name="Field2" units="unit2" type="int16" elements="1"/>
|
||||
<field name="Field3" units="unit3" type="int32" elements="1"/>
|
||||
<field name="Field4" units="unit4" type="float" elements="4"/>
|
||||
<field name="Field5" units="unit5" type="uint8" elements="1"/>
|
||||
<field name="Field6" units="unit6" type="uint16" elements="1"/>
|
||||
<field name="Field7" units="unit7" type="uint32" elements="1"/>
|
||||
<field name="Field8" units="unit8" type="enum" elements="1" options="Option1, Option2"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="periodic" period="500"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,12 +1,13 @@
|
||||
<xml>
|
||||
<object name="ExampleObject2" singleinstance="false" settings="false">
|
||||
<field name="Field1" units="unit1" type="int8" elements="1"/>
|
||||
<field name="Field2" units="unit2" type="int16" elements="1"/>
|
||||
<field name="Field3" units="unit3" type="int32" elements="1"/>
|
||||
<field name="Field4" units="unit4" type="float" elements="4"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="periodic" period="500"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<description>Example object</description>
|
||||
<field name="Field1" units="unit1" type="int8" elements="1"/>
|
||||
<field name="Field2" units="unit2" type="int16" elements="1"/>
|
||||
<field name="Field3" units="unit3" type="int32" elements="1"/>
|
||||
<field name="Field4" units="unit4" type="float" elements="4"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="periodic" period="500"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,11 +1,12 @@
|
||||
<xml>
|
||||
<object name="ExampleSettings" singleinstance="true" settings="true">
|
||||
<field name="UpdatePeriod" units="ms" type="int32" elements="1" defaultvalue="10"/>
|
||||
<field name="StepSize" units="" type="int32" elements="1" defaultvalue="1"/>
|
||||
<field name="StepDirection" units="" type="enum" elements="1" options="up,down" defaultvalue="up"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<description>Example settings object</description>
|
||||
<field name="UpdatePeriod" units="ms" type="int32" elements="1" defaultvalue="10"/>
|
||||
<field name="StepSize" units="" type="int32" elements="1" defaultvalue="1"/>
|
||||
<field name="StepDirection" units="" type="enum" elements="1" options="up,down" defaultvalue="up"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,13 +1,12 @@
|
||||
<xml>
|
||||
<object name="FlightBatteryState" singleinstance="true" settings="false">
|
||||
|
||||
<field name="Voltage" units="V" type="float" elements="1"/>
|
||||
<field name="Current" units="A" type="float" elements="1"/>
|
||||
<field name="ConsumedEnergy" units="mAh" type="uint32" elements="1"/>
|
||||
|
||||
<access gcs="readonly" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="FlightBatteryState" singleinstance="true" settings="false">
|
||||
<description>Battery status information. Not currently updated.</description>
|
||||
<field name="Voltage" units="V" type="float" elements="1"/>
|
||||
<field name="Current" units="A" type="float" elements="1"/>
|
||||
<field name="ConsumedEnergy" units="mAh" type="uint32" elements="1"/>
|
||||
<access gcs="readonly" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,17 +1,18 @@
|
||||
<xml>
|
||||
<object name="FlightSituationActual" singleinstance="true" settings="false">
|
||||
<field name="Latitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Longitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Altitude" units="meters" type="float" elements="1"/>
|
||||
<field name="ATG" units="meters" type="float" elements="1"/>
|
||||
<field name="Climbrate" units="m/s" type="float" elements="1"/>
|
||||
<field name="Heading" units="degrees" type="float" elements="1"/>
|
||||
<field name="Airspeed" units="m/s" type="float" elements="1"/>
|
||||
<field name="Course" units="degrees" type="float" elements="1"/>
|
||||
<field name="Groundspeed" units="m/s" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
</object>
|
||||
<object name="FlightSituationActual" singleinstance="true" settings="false">
|
||||
<description>Currently unused</description>
|
||||
<field name="Latitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Longitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Altitude" units="meters" type="float" elements="1"/>
|
||||
<field name="ATG" units="meters" type="float" elements="1"/>
|
||||
<field name="Climbrate" units="m/s" type="float" elements="1"/>
|
||||
<field name="Heading" units="degrees" type="float" elements="1"/>
|
||||
<field name="Airspeed" units="m/s" type="float" elements="1"/>
|
||||
<field name="Course" units="degrees" type="float" elements="1"/>
|
||||
<field name="Groundspeed" units="m/s" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,14 +1,15 @@
|
||||
<xml>
|
||||
<object name="FlightTelemetryStats" singleinstance="true" settings="false">
|
||||
<field name="Status" units="" type="enum" elements="1" options="Disconnected,HandshakeReq,HandshakeAck,Connected"/>
|
||||
<field name="TxDataRate" units="bytes/sec" type="float" elements="1"/>
|
||||
<field name="RxDataRate" units="bytes/sec" type="float" elements="1"/>
|
||||
<field name="TxFailures" units="count" type="uint32" elements="1"/>
|
||||
<field name="RxFailures" units="count" type="uint32" elements="1"/>
|
||||
<field name="TxRetries" units="count" type="uint32" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="periodic" period="5000"/>
|
||||
<logging updatemode="periodic" period="5000"/>
|
||||
</object>
|
||||
<object name="FlightTelemetryStats" singleinstance="true" settings="false">
|
||||
<description>Maintains the telemetry statistics from the OpenPilot flight computer.</description>
|
||||
<field name="Status" units="" type="enum" elements="1" options="Disconnected,HandshakeReq,HandshakeAck,Connected"/>
|
||||
<field name="TxDataRate" units="bytes/sec" type="float" elements="1"/>
|
||||
<field name="RxDataRate" units="bytes/sec" type="float" elements="1"/>
|
||||
<field name="TxFailures" units="count" type="uint32" elements="1"/>
|
||||
<field name="RxFailures" units="count" type="uint32" elements="1"/>
|
||||
<field name="TxRetries" units="count" type="uint32" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="periodic" period="5000"/>
|
||||
<logging updatemode="periodic" period="5000"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,14 +1,15 @@
|
||||
<xml>
|
||||
<object name="GCSTelemetryStats" singleinstance="true" settings="false">
|
||||
<field name="Status" units="" type="enum" elements="1" options="Disconnected,HandshakeReq,HandshakeAck,Connected"/>
|
||||
<field name="TxDataRate" units="bytes/sec" type="float" elements="1"/>
|
||||
<field name="RxDataRate" units="bytes/sec" type="float" elements="1"/>
|
||||
<field name="TxFailures" units="count" type="uint32" elements="1"/>
|
||||
<field name="RxFailures" units="count" type="uint32" elements="1"/>
|
||||
<field name="TxRetries" units="count" type="uint32" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="periodic" period="5000"/>
|
||||
<telemetryflight acked="true" updatemode="manual" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="GCSTelemetryStats" singleinstance="true" settings="false">
|
||||
<description>The telemetry statistics from the ground computer</description>
|
||||
<field name="Status" units="" type="enum" elements="1" options="Disconnected,HandshakeReq,HandshakeAck,Connected"/>
|
||||
<field name="TxDataRate" units="bytes/sec" type="float" elements="1"/>
|
||||
<field name="RxDataRate" units="bytes/sec" type="float" elements="1"/>
|
||||
<field name="TxFailures" units="count" type="uint32" elements="1"/>
|
||||
<field name="RxFailures" units="count" type="uint32" elements="1"/>
|
||||
<field name="TxRetries" units="count" type="uint32" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="periodic" period="5000"/>
|
||||
<telemetryflight acked="true" updatemode="manual" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,19 +1,20 @@
|
||||
<xml>
|
||||
<object name="GPSPosition" singleinstance="true" settings="false">
|
||||
<field name="Status" units="" type="enum" elements="1" options="NoGPS,NoFix,Fix2D,Fix3D"/>
|
||||
<field name="Latitude" units="degrees x 10^-7" type="int32" elements="1"/>
|
||||
<field name="Longitude" units="degrees x 10^-7" type="int32" elements="1"/>
|
||||
<field name="Altitude" units="meters" type="float" elements="1"/>
|
||||
<field name="GeoidSeparation" units="meters" type="float" elements="1"/>
|
||||
<field name="Heading" units="degrees" type="float" elements="1"/>
|
||||
<field name="Groundspeed" units="m/s" type="float" elements="1"/>
|
||||
<field name="Satellites" units="" type="int8" elements="1"/>
|
||||
<field name="PDOP" units="" type="float" elements="1"/>
|
||||
<field name="HDOP" units="" type="float" elements="1"/>
|
||||
<field name="VDOP" units="" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
<object name="GPSPosition" singleinstance="true" settings="false">
|
||||
<description>Future object for the raw GPS data from @ref GPSModule. Only should be used by @ref AHRSCommsModule.</description>
|
||||
<field name="Status" units="" type="enum" elements="1" options="NoGPS,NoFix,Fix2D,Fix3D"/>
|
||||
<field name="Latitude" units="degrees x 10^-7" type="int32" elements="1"/>
|
||||
<field name="Longitude" units="degrees x 10^-7" type="int32" elements="1"/>
|
||||
<field name="Altitude" units="meters" type="float" elements="1"/>
|
||||
<field name="GeoidSeparation" units="meters" type="float" elements="1"/>
|
||||
<field name="Heading" units="degrees" type="float" elements="1"/>
|
||||
<field name="Groundspeed" units="m/s" type="float" elements="1"/>
|
||||
<field name="Satellites" units="" type="int8" elements="1"/>
|
||||
<field name="PDOP" units="" type="float" elements="1"/>
|
||||
<field name="HDOP" units="" type="float" elements="1"/>
|
||||
<field name="VDOP" units="" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,15 +1,16 @@
|
||||
<xml>
|
||||
<object name="HomeLocation" singleinstance="true" settings="true">
|
||||
<field name="Set" units="" type="enum" elements="1" options="FALSE,TRUE" defaultvalue="FALSE"/>
|
||||
<field name="Latitude" units="deg * 10e6" type="int32" elements="1" defaultvalue="0"/>
|
||||
<field name="Longitude" units="deg * 10e6" type="int32" elements="1" defaultvalue="0"/>
|
||||
<field name="Altitude" units="m over geoid" type="float" elements="1" defaultvalue="0"/>
|
||||
<field name="ECEF" units="cm" type="int32" elements="3" defaultvalue="0,0,0"/>
|
||||
<field name="RNE" units="" type="float" elements="9" defaultvalue="0,0,0,0,0,0,0,0,0"/>
|
||||
<field name="Be" units="" type="float" elements="3" defaultvalue="0,0,0"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="HomeLocation" singleinstance="true" settings="true">
|
||||
<description>HomeLocation setting which contains the constants to tranlate from longitutde and latitude to NED reference frame. Automatically set by @ref GPSModule after acquiring a 3D lock. Used by @ref AHRSCommsModule.</description>
|
||||
<field name="Set" units="" type="enum" elements="1" options="FALSE,TRUE" defaultvalue="FALSE"/>
|
||||
<field name="Latitude" units="deg * 10e6" type="int32" elements="1" defaultvalue="0"/>
|
||||
<field name="Longitude" units="deg * 10e6" type="int32" elements="1" defaultvalue="0"/>
|
||||
<field name="Altitude" units="m over geoid" type="float" elements="1" defaultvalue="0"/>
|
||||
<field name="ECEF" units="cm" type="int32" elements="3" defaultvalue="0,0,0"/>
|
||||
<field name="RNE" units="" type="float" elements="9" defaultvalue="0,0,0,0,0,0,0,0,0"/>
|
||||
<field name="Be" units="" type="float" elements="3" defaultvalue="0,0,0"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,15 +1,16 @@
|
||||
<xml>
|
||||
<object name="ManualControlCommand" singleinstance="true" settings="false">
|
||||
<field name="Connected" units="" type="enum" elements="1" options="False,True"/>
|
||||
<field name="Roll" units="%" type="float" elements="1"/>
|
||||
<field name="Pitch" units="%" type="float" elements="1"/>
|
||||
<field name="Yaw" units="%" type="float" elements="1"/>
|
||||
<field name="Throttle" units="%" type="float" elements="1"/>
|
||||
<field name="FlightMode" units="" type="enum" elements="1" options="Manual,Stabilized,Auto"/>
|
||||
<field name="Channel" units="us" type="int16" elements="8"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="2000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="ManualControlCommand" singleinstance="true" settings="false">
|
||||
<description>The output from the @ref ManualControlModule which descodes the receiver inputs. Overriden by GCS for fly-by-wire control.</description>
|
||||
<field name="Connected" units="" type="enum" elements="1" options="False,True"/>
|
||||
<field name="Roll" units="%" type="float" elements="1"/>
|
||||
<field name="Pitch" units="%" type="float" elements="1"/>
|
||||
<field name="Yaw" units="%" type="float" elements="1"/>
|
||||
<field name="Throttle" units="%" type="float" elements="1"/>
|
||||
<field name="FlightMode" units="" type="enum" elements="1" options="Manual,Stabilized,Auto"/>
|
||||
<field name="Channel" units="us" type="int16" elements="8"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="2000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,17 +1,18 @@
|
||||
<xml>
|
||||
<object name="ManualControlSettings" singleinstance="true" settings="true">
|
||||
<field name="InputMode" units="" type="enum" elements="1" options="PWM,PPM,Spektrum" defaultvalue="PWM"/>
|
||||
<field name="Roll" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel0"/>
|
||||
<field name="Pitch" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel1"/>
|
||||
<field name="Yaw" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel2"/>
|
||||
<field name="Throttle" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel3"/>
|
||||
<field name="FlightMode" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel4"/>
|
||||
<field name="ChannelMax" units="us" type="int16" elements="8" defaultvalue="2000"/>
|
||||
<field name="ChannelNeutral" units="us" type="int16" elements="8" defaultvalue="1500"/>
|
||||
<field name="ChannelMin" units="us" type="int16" elements="8" defaultvalue="1000"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<object name="ManualControlSettings" singleinstance="true" settings="true">
|
||||
<description>Settings to indicate how to decode receiver input by @ref ManualControlModule.</description>
|
||||
<field name="InputMode" units="" type="enum" elements="1" options="PWM,PPM,Spektrum" defaultvalue="PWM"/>
|
||||
<field name="Roll" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel0"/>
|
||||
<field name="Pitch" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel1"/>
|
||||
<field name="Yaw" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel2"/>
|
||||
<field name="Throttle" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel3"/>
|
||||
<field name="FlightMode" units="channel" type="enum" elements="1" options="Channel0,Channel1,Channel2,Channel3,Channel4,Channel5,Channel6,Channel7,None" defaultvalue="Channel4"/>
|
||||
<field name="ChannelMax" units="us" type="int16" elements="8" defaultvalue="2000"/>
|
||||
<field name="ChannelNeutral" units="us" type="int16" elements="8" defaultvalue="1500"/>
|
||||
<field name="ChannelMin" units="us" type="int16" elements="8" defaultvalue="1000"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,12 +1,13 @@
|
||||
<xml>
|
||||
<object name="NavigationDesired" singleinstance="true" settings="false">
|
||||
<field name="Latitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Longitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Altitude" units="meters" type="float" elements="1"/>
|
||||
<field name="Speed" units="m/s" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
<object name="NavigationDesired" singleinstance="true" settings="false">
|
||||
<description>Currently unused</description>
|
||||
<field name="Latitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Longitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Altitude" units="meters" type="float" elements="1"/>
|
||||
<field name="Speed" units="m/s" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,16 +1,17 @@
|
||||
<xml>
|
||||
<object name="NavigationSettings" singleinstance="true" settings="true">
|
||||
<field name="UpdatePeriod" units="ms" type="uint16" elements="1" defaultvalue="100"/>
|
||||
<field name="AccelerationMax" units="m/s²" type="float" elements="1" defaultvalue="35"/>
|
||||
<field name="SpeedMax" units="m/s" type="float" elements="1" defaultvalue="300"/>
|
||||
<field name="SpeedSafe" units="m/s" type="float" elements="1" defaultvalue="100"/>
|
||||
<field name="SpeedMin" units="m/s" type="float" elements="1" defaultvalue="70"/>
|
||||
<field name="SettleTime" units="seconds" type="float" elements="1" defaultvalue="12"/>
|
||||
<field name="TurnSpeedFactor" units="" type="float" elements="1" defaultvalue="0.1"/>
|
||||
<field name="StabilizationForceFactor" units="" type="float" elements="1" defaultvalue="4.0"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<object name="NavigationSettings" singleinstance="true" settings="true">
|
||||
<description>Settings for Navigation. Currently unused.</description>
|
||||
<field name="UpdatePeriod" units="ms" type="uint16" elements="1" defaultvalue="100"/>
|
||||
<field name="AccelerationMax" units="m/s²" type="float" elements="1" defaultvalue="35"/>
|
||||
<field name="SpeedMax" units="m/s" type="float" elements="1" defaultvalue="300"/>
|
||||
<field name="SpeedSafe" units="m/s" type="float" elements="1" defaultvalue="100"/>
|
||||
<field name="SpeedMin" units="m/s" type="float" elements="1" defaultvalue="70"/>
|
||||
<field name="SettleTime" units="seconds" type="float" elements="1" defaultvalue="12"/>
|
||||
<field name="TurnSpeedFactor" units="" type="float" elements="1" defaultvalue="0.1"/>
|
||||
<field name="StabilizationForceFactor" units="" type="float" elements="1" defaultvalue="4.0"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,12 +1,13 @@
|
||||
<xml>
|
||||
<object name="ObjectPersistence" singleinstance="true" settings="false">
|
||||
<field name="Operation" units="" type="enum" elements="1" options="Load,Save,Delete"/>
|
||||
<field name="Selection" units="" type="enum" elements="1" options="SingleObject,AllSettings,AllMetaObjects,AllObjects"/>
|
||||
<field name="ObjectID" units="" type="uint32" elements="1"/>
|
||||
<field name="InstanceID" units="" type="uint32" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="manual" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<object name="ObjectPersistence" singleinstance="true" settings="false">
|
||||
<description>Someone who knows please enter this</description>
|
||||
<field name="Operation" units="" type="enum" elements="1" options="Load,Save,Delete"/>
|
||||
<field name="Selection" units="" type="enum" elements="1" options="SingleObject,AllSettings,AllMetaObjects,AllObjects"/>
|
||||
<field name="ObjectID" units="" type="uint32" elements="1"/>
|
||||
<field name="InstanceID" units="" type="uint32" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="manual" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,19 +1,20 @@
|
||||
<xml>
|
||||
<object name="PositionActual" singleinstance="true" settings="false">
|
||||
<field name="Status" units="" type="enum" elements="1" options="NoGPS,NoFix,Fix2D,Fix3D"/>
|
||||
<field name="Latitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Longitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Altitude" units="meters" type="float" elements="1"/>
|
||||
<field name="GeoidSeparation" units="meters" type="float" elements="1"/>
|
||||
<field name="Heading" units="degrees" type="float" elements="1"/>
|
||||
<field name="Groundspeed" units="m/s" type="float" elements="1"/>
|
||||
<field name="Satellites" units="" type="int8" elements="1"/>
|
||||
<field name="PDOP" units="" type="float" elements="1"/>
|
||||
<field name="HDOP" units="" type="float" elements="1"/>
|
||||
<field name="VDOP" units="" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
<object name="PositionActual" singleinstance="true" settings="false">
|
||||
<description>Deprecated for GPS position.</description>
|
||||
<field name="Status" units="" type="enum" elements="1" options="NoGPS,NoFix,Fix2D,Fix3D"/>
|
||||
<field name="Latitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Longitude" units="degrees" type="float" elements="1"/>
|
||||
<field name="Altitude" units="meters" type="float" elements="1"/>
|
||||
<field name="GeoidSeparation" units="meters" type="float" elements="1"/>
|
||||
<field name="Heading" units="degrees" type="float" elements="1"/>
|
||||
<field name="Groundspeed" units="m/s" type="float" elements="1"/>
|
||||
<field name="Satellites" units="" type="int8" elements="1"/>
|
||||
<field name="PDOP" units="" type="float" elements="1"/>
|
||||
<field name="HDOP" units="" type="float" elements="1"/>
|
||||
<field name="VDOP" units="" type="float" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,21 +1,22 @@
|
||||
<xml>
|
||||
<object name="StabilizationSettings" singleinstance="true" settings="true">
|
||||
<field name="UpdatePeriod" units="ms" type="uint16" elements="1" defaultvalue="10"/>
|
||||
<field name="RollMax" units="degrees" type="float" elements="1" defaultvalue="35"/>
|
||||
<field name="PitchMax" units="degrees" type="float" elements="1" defaultvalue="35"/>
|
||||
<field name="ThrottleMax" units="%" type="float" elements="1" defaultvalue="1.0"/>
|
||||
<field name="PitchKp" units="" type="float" elements="1" defaultvalue="0.04"/>
|
||||
<field name="PitchKi" units="" type="float" elements="1" defaultvalue="0.000004"/>
|
||||
<field name="PitchKd" units="" type="float" elements="1" defaultvalue="0.01"/>
|
||||
<field name="RollKp" units="" type="float" elements="1" defaultvalue="0.02"/>
|
||||
<field name="RollKi" units="" type="float" elements="1" defaultvalue="0.000004"/>
|
||||
<field name="RollKd" units="" type="float" elements="1" defaultvalue="0.01"/>
|
||||
<field name="YawKp" units="" type="float" elements="1" defaultvalue="0.04"/>
|
||||
<field name="YawKi" units="" type="float" elements="1" defaultvalue="0.000004"/>
|
||||
<field name="YawKd" units="" type="float" elements="1" defaultvalue="0.01"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<object name="StabilizationSettings" singleinstance="true" settings="true">
|
||||
<description>PID settings used by the Stabilization module to combine the @ref AttitudeActual and @ref AttitudeDesired to compute @ref ActuatorDesired</description>
|
||||
<field name="UpdatePeriod" units="ms" type="uint16" elements="1" defaultvalue="10"/>
|
||||
<field name="RollMax" units="degrees" type="float" elements="1" defaultvalue="35"/>
|
||||
<field name="PitchMax" units="degrees" type="float" elements="1" defaultvalue="35"/>
|
||||
<field name="ThrottleMax" units="%" type="float" elements="1" defaultvalue="1.0"/>
|
||||
<field name="PitchKp" units="" type="float" elements="1" defaultvalue="0.04"/>
|
||||
<field name="PitchKi" units="" type="float" elements="1" defaultvalue="0.000004"/>
|
||||
<field name="PitchKd" units="" type="float" elements="1" defaultvalue="0.01"/>
|
||||
<field name="RollKp" units="" type="float" elements="1" defaultvalue="0.02"/>
|
||||
<field name="RollKi" units="" type="float" elements="1" defaultvalue="0.000004"/>
|
||||
<field name="RollKd" units="" type="float" elements="1" defaultvalue="0.01"/>
|
||||
<field name="YawKp" units="" type="float" elements="1" defaultvalue="0.04"/>
|
||||
<field name="YawKi" units="" type="float" elements="1" defaultvalue="0.000004"/>
|
||||
<field name="YawKd" units="" type="float" elements="1" defaultvalue="0.01"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,10 +1,11 @@
|
||||
<xml>
|
||||
<object name="SystemAlarms" singleinstance="true" settings="false">
|
||||
<field name="Alarm" units="" type="enum" options="OK,Warning,Error,Critical"
|
||||
elementnames="OutOfMemory,StackOverflow,CPUOverload,EventSystem,SDCard,Telemetry,ManualControl,Actuator,Stabilization,AHRSComms"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="periodic" period="4000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
</object>
|
||||
<object name="SystemAlarms" singleinstance="true" settings="false">
|
||||
<description>Alarms from OpenPilot to indicate failure conditions or warnings. Set by various modules.</description>
|
||||
<field name="Alarm" units="" type="enum" options="OK,Warning,Error,Critical"
|
||||
elementnames="OutOfMemory,StackOverflow,CPUOverload,EventSystem,SDCard,Telemetry,ManualControl,Actuator,Stabilization,AHRSComms"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="periodic" period="4000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,9 +1,10 @@
|
||||
<xml>
|
||||
<object name="SystemSettings" singleinstance="true" settings="true">
|
||||
<field name="AirframeType" units="" type="enum" elements="1" options="FixedWing,FixedWingElevon,VTOL, HeliCP" defaultvalue="FixedWing"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<object name="SystemSettings" singleinstance="true" settings="true">
|
||||
<description>Select airframe type. Currently used by @ref ActuatorModule to choose mixing from @ref ActuatorDesired to @ref ActuatorCommand</description>
|
||||
<field name="AirframeType" units="" type="enum" elements="1" options="FixedWing,FixedWingElevon,VTOL, HeliCP" defaultvalue="FixedWing"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,11 +1,12 @@
|
||||
<xml>
|
||||
<object name="SystemStats" singleinstance="true" settings="false">
|
||||
<field name="FlightTime" units="ms" type="uint32" elements="1"/>
|
||||
<field name="HeapRemaining" units="bytes" type="uint16" elements="1"/>
|
||||
<field name="CPULoad" units="%" type="uint8" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
<object name="SystemStats" singleinstance="true" settings="false">
|
||||
<description>CPU and memory usage from OpenPilot computer. </description>
|
||||
<field name="FlightTime" units="ms" type="uint32" elements="1"/>
|
||||
<field name="HeapRemaining" units="bytes" type="uint16" elements="1"/>
|
||||
<field name="CPULoad" units="%" type="uint8" elements="1"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||
<telemetryflight acked="false" updatemode="periodic" period="1000"/>
|
||||
<logging updatemode="periodic" period="1000"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
@ -1,9 +1,10 @@
|
||||
<xml>
|
||||
<object name="TelemetrySettings" singleinstance="true" settings="true">
|
||||
<field name="Speed" units="" type="enum" elements="1" options="9600,38400,57600" defaultvalue="57600"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
<object name="TelemetrySettings" singleinstance="true" settings="true">
|
||||
<description>Select baud rate of telemetry. Warning - this must match your modem.</description>
|
||||
<field name="Speed" units="" type="enum" elements="1" options="9600,38400,57600" defaultvalue="57600"/>
|
||||
<access gcs="readwrite" flight="readwrite"/>
|
||||
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||||
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||||
<logging updatemode="never" period="0"/>
|
||||
</object>
|
||||
</xml>
|
||||
|
Loading…
x
Reference in New Issue
Block a user