2010-06-23 15:21:00 +02:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
*
|
2010-07-16 20:07:13 +02:00
|
|
|
* @file uavobjectsinit.cpp
|
2010-06-23 15:21:00 +02:00
|
|
|
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
|
2010-07-16 19:32:18 +02:00
|
|
|
* @see The GNU Public License (GPL) Version 3
|
|
|
|
* @addtogroup GCSPlugins GCS Plugins
|
|
|
|
* @{
|
|
|
|
* @addtogroup UAVObjectsPlugin UAVObjects Plugin
|
|
|
|
* @{
|
2010-06-23 15:21:00 +02:00
|
|
|
*
|
|
|
|
* @note This is an automatically generated file.
|
|
|
|
* DO NOT modify manually.
|
2010-07-16 19:32:18 +02:00
|
|
|
*
|
2010-07-16 20:07:13 +02:00
|
|
|
* @brief The UAVUObjects GCS plugin
|
2010-06-23 15:21:00 +02:00
|
|
|
*****************************************************************************/
|
2010-07-16 19:32:18 +02:00
|
|
|
/*
|
2010-06-23 15:21:00 +02:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
#include "uavobjectsinit.h"
|
2010-05-17 04:03:15 +02:00
|
|
|
#include "actuatorcommand.h"
|
|
|
|
#include "actuatordesired.h"
|
|
|
|
#include "actuatorsettings.h"
|
2010-08-21 23:46:02 +02:00
|
|
|
#include "ahrscalibration.h"
|
2010-08-23 05:39:13 +02:00
|
|
|
#include "ahrssettings.h"
|
2010-07-04 04:21:34 +02:00
|
|
|
#include "ahrsstatus.h"
|
2010-05-24 18:33:36 +02:00
|
|
|
#include "attitudeactual.h"
|
2010-05-17 04:03:15 +02:00
|
|
|
#include "attitudedesired.h"
|
2010-08-15 01:42:14 +02:00
|
|
|
#include "attituderaw.h"
|
2010-08-21 18:19:10 +02:00
|
|
|
#include "baroaltitude.h"
|
2010-04-02 05:17:51 +02:00
|
|
|
#include "exampleobject1.h"
|
|
|
|
#include "exampleobject2.h"
|
2010-03-29 00:22:19 +02:00
|
|
|
#include "examplesettings.h"
|
2010-06-17 12:06:51 +02:00
|
|
|
#include "flightbatterystate.h"
|
2010-04-18 00:17:25 +02:00
|
|
|
#include "flighttelemetrystats.h"
|
|
|
|
#include "gcstelemetrystats.h"
|
2010-08-21 18:19:18 +02:00
|
|
|
#include "gpsposition.h"
|
2010-08-29 03:46:14 +02:00
|
|
|
#include "gpssatellites.h"
|
2010-08-27 21:59:25 +02:00
|
|
|
#include "gpstime.h"
|
2010-09-26 05:06:27 +02:00
|
|
|
#include "guidancesettings.h"
|
2010-08-19 22:38:27 +02:00
|
|
|
#include "homelocation.h"
|
2010-05-17 04:03:15 +02:00
|
|
|
#include "manualcontrolcommand.h"
|
|
|
|
#include "manualcontrolsettings.h"
|
2010-09-20 21:27:08 +02:00
|
|
|
#include "mixersettings.h"
|
|
|
|
#include "mixerstatus.h"
|
2010-04-30 04:27:37 +02:00
|
|
|
#include "objectpersistence.h"
|
2010-06-10 03:27:19 +02:00
|
|
|
#include "positionactual.h"
|
2010-09-26 05:06:27 +02:00
|
|
|
#include "positiondesired.h"
|
2010-05-17 04:03:15 +02:00
|
|
|
#include "stabilizationsettings.h"
|
2010-04-18 04:14:42 +02:00
|
|
|
#include "systemalarms.h"
|
2010-05-17 04:03:15 +02:00
|
|
|
#include "systemsettings.h"
|
2010-04-18 04:14:42 +02:00
|
|
|
#include "systemstats.h"
|
2010-05-08 04:43:26 +02:00
|
|
|
#include "telemetrysettings.h"
|
2010-09-26 05:06:27 +02:00
|
|
|
#include "velocityactual.h"
|
|
|
|
#include "velocitydesired.h"
|
2010-06-23 15:21:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Function used to initialize the first instance of each object.
|
|
|
|
* This file is automatically updated by the UAVObjectGenerator.
|
|
|
|
*/
|
|
|
|
void UAVObjectsInitialize(UAVObjectManager* objMngr)
|
|
|
|
{
|
2010-05-17 04:03:15 +02:00
|
|
|
objMngr->registerObject( new ActuatorCommand() );
|
|
|
|
objMngr->registerObject( new ActuatorDesired() );
|
|
|
|
objMngr->registerObject( new ActuatorSettings() );
|
2010-08-21 23:46:02 +02:00
|
|
|
objMngr->registerObject( new AHRSCalibration() );
|
2010-08-23 05:39:13 +02:00
|
|
|
objMngr->registerObject( new AHRSSettings() );
|
2010-07-04 04:21:34 +02:00
|
|
|
objMngr->registerObject( new AhrsStatus() );
|
2010-05-24 18:33:36 +02:00
|
|
|
objMngr->registerObject( new AttitudeActual() );
|
2010-05-17 04:03:15 +02:00
|
|
|
objMngr->registerObject( new AttitudeDesired() );
|
2010-08-15 01:42:14 +02:00
|
|
|
objMngr->registerObject( new AttitudeRaw() );
|
2010-08-21 18:19:10 +02:00
|
|
|
objMngr->registerObject( new BaroAltitude() );
|
2010-04-02 05:17:51 +02:00
|
|
|
objMngr->registerObject( new ExampleObject1() );
|
|
|
|
objMngr->registerObject( new ExampleObject2() );
|
2010-03-29 00:22:19 +02:00
|
|
|
objMngr->registerObject( new ExampleSettings() );
|
2010-06-17 12:06:51 +02:00
|
|
|
objMngr->registerObject( new FlightBatteryState() );
|
2010-04-18 00:17:25 +02:00
|
|
|
objMngr->registerObject( new FlightTelemetryStats() );
|
|
|
|
objMngr->registerObject( new GCSTelemetryStats() );
|
2010-08-21 18:19:18 +02:00
|
|
|
objMngr->registerObject( new GPSPosition() );
|
2010-08-29 03:46:14 +02:00
|
|
|
objMngr->registerObject( new GPSSatellites() );
|
2010-08-27 21:59:25 +02:00
|
|
|
objMngr->registerObject( new GPSTime() );
|
2010-09-26 05:06:27 +02:00
|
|
|
objMngr->registerObject( new GuidanceSettings() );
|
2010-08-19 22:38:27 +02:00
|
|
|
objMngr->registerObject( new HomeLocation() );
|
2010-05-17 04:03:15 +02:00
|
|
|
objMngr->registerObject( new ManualControlCommand() );
|
|
|
|
objMngr->registerObject( new ManualControlSettings() );
|
2010-09-20 21:27:08 +02:00
|
|
|
objMngr->registerObject( new MixerSettings() );
|
|
|
|
objMngr->registerObject( new MixerStatus() );
|
2010-04-30 04:27:37 +02:00
|
|
|
objMngr->registerObject( new ObjectPersistence() );
|
2010-06-10 03:27:19 +02:00
|
|
|
objMngr->registerObject( new PositionActual() );
|
2010-09-26 05:06:27 +02:00
|
|
|
objMngr->registerObject( new PositionDesired() );
|
2010-05-17 04:03:15 +02:00
|
|
|
objMngr->registerObject( new StabilizationSettings() );
|
2010-04-18 04:14:42 +02:00
|
|
|
objMngr->registerObject( new SystemAlarms() );
|
2010-05-17 04:03:15 +02:00
|
|
|
objMngr->registerObject( new SystemSettings() );
|
2010-04-18 04:14:42 +02:00
|
|
|
objMngr->registerObject( new SystemStats() );
|
2010-05-08 04:43:26 +02:00
|
|
|
objMngr->registerObject( new TelemetrySettings() );
|
2010-09-26 05:06:27 +02:00
|
|
|
objMngr->registerObject( new VelocityActual() );
|
|
|
|
objMngr->registerObject( new VelocityDesired() );
|
2010-06-23 15:21:00 +02:00
|
|
|
|
|
|
|
}
|