Skip to content

Instantly share code, notes, and snippets.

@lluchs
Last active January 4, 2016 15:19
Show Gist options
  • Save lluchs/8639617 to your computer and use it in GitHub Desktop.
Save lluchs/8639617 to your computer and use it in GitHub Desktop.
ArgoUML-Export
#include "API.h"
namespace APIPackage-- {
void API::API()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BDD begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BDD end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APIQuadrocopter API::getQuadcopter(Integer id)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B80 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B80 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::removeQuadcopter(Integer id)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B86 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B86 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::setFormation(APIPackage::APIFormation formation)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B8A begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B8A end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APIFormation API::getFormation()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018F5 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018F5 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APICameraSystem API::getCameraSystem()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B90 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B90 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APICamera[] API::getCameras()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E1 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E1 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APICamera[] API::getCalibratedCameras()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018DB begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018DB end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APICamera[] API::getUncalibratedCameras()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018DF begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018DF end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getCameraAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BB8 begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BB8 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getCalibratedCameraAmout()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018F1 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018F1 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getUncalibratedCameraAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018F3 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018F3 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APIQuadcopter[] API::getQuadcopters()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018EF begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018EF end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APIQuadcopter[] API::getQuadcoptersFlying()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BCD begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BCD end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APIQuadcopter[] API::getQuadcoptersOnGround()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BCF begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BCF end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APIQuadcopter[] API::getQuadcoptersTracked()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD1 begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD1 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APIQuadcopter[] API::getQuadcoptersUntracked()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD3 begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD3 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APIQuadcopter[] API::getQuadcoptersInFormation()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD5 begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD5 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APIQuadcopter[] API::getQuadcoptersNotInFormation()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD7 begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD7 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getQuadcopterAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B92 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B92 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getQuadcoptersFlyingAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E3 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E3 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getQuadcoptersOnGroundAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E5 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E5 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getQuadcoptersTrackedAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E7 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E7 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getQuadcoptersUntrackedAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E9 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018E9 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getQuadcoptersInFormationAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018EB begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018EB end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getQuadcoptersNotInFormationAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018ED begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018ED end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::addMessageListener(void APIMessageListener)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018FD begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018FD end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::removeMessageListener(void APIMessageListener)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001906 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001906 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::launchQuadcopters(Integer height)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018CD begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018CD end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Double API::getLaunchProgress()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000190F begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000190F end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Boolean API::quadcoptersLaunched()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000190D begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000190D end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::landQuadcopters()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001909 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001909 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::shutdownSystem()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000190B begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000190B end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Cuboid API::getMaximumOperatingArea()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001944 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001944 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Boolean API::setOperatingArea(void Cuboid)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001947 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001947 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getMaximumHorizontalSpeed()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000194A begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000194A end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getMaximumVerticalSpeed()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000194C begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000194C end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getMaximumHorizontalAcceleration()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000194E begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000194E end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer API::getMaximumVerticalAcceleration()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001950 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001950 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::setReceiveTargetMovementData(void Boolean)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001997 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001997 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::setReceiveActualMovementData(void Boolean)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000199A begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000199A end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::setReceiveQuadcopterState(void Boolean)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000199D begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000199D end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::moveFormation(void Vector)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--77924bb6:142ebbbc082:-8000:0000000000000D21 begin
{
}
// section 127-0-0-1--77924bb6:142ebbbc082:-8000:0000000000000D21 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void API::rotateFormation(void Vector)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--77924bb6:142ebbbc082:-8000:0000000000000D26 begin
{
}
// section 127-0-0-1--77924bb6:142ebbbc082:-8000:0000000000000D26 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
} /* End of namespace APIPackage-- */
#ifndef APIPackage--_API_h
#define APIPackage--_API_h
#include <vector>
#include <APIPackage/API.h>
#include <APIPackage/APICameraSystem.h>
#include <APIPackage/APIFormation.h>
#include <APIPackage/APIQuadcopter[].h>
#include <APIPackage/APIQuadrocopter.h>
#include <APIPackage/ConcreteCameraListener.h>
#include <APIPackage/ConcreteQuadcopterListener.h>
#include <APIPackage/Double.h>
#include <APIPackage/ROSConnection.h>
#include <APIPackage/ROSListener.h>
#include "APICameraListener.h"
#include "APICamera[].h"
#include "APIQuadcopter*.h"
#include "APIQuadcopterListener*.h"
#include "APIQuadcopterListener----.h"
#include "Cuboid.h"
namespace APIPackage-- {
class APIQuadcopter;
class APICameraSystem;
class APIFormation;
class API;
class APIMessageListener;
} /* End of namespace APIPackage-- */
namespace APIPackage-- {
class API : public APIPackage::API, virtual public APIPackage::API, virtual public APIPackage::API, virtual public APIPackage::ROSListener, virtual public APIQuadcopterListener----, virtual public APICameraListener {
public:
virtual void API();
virtual APIPackage::APIQuadrocopter getQuadcopter(Integer id);
virtual void removeQuadcopter(Integer id);
virtual void setFormation(APIPackage::APIFormation formation);
virtual APIPackage::APIFormation getFormation();
virtual APIPackage::APICameraSystem getCameraSystem();
virtual APICamera[] getCameras();
virtual APICamera[] getCalibratedCameras();
virtual APICamera[] getUncalibratedCameras();
virtual Integer getCameraAmount();
virtual Integer getCalibratedCameraAmout();
virtual Integer getUncalibratedCameraAmount();
virtual APIPackage::APIQuadcopter[] getQuadcopters();
virtual APIPackage::APIQuadcopter[] getQuadcoptersFlying();
virtual APIPackage::APIQuadcopter[] getQuadcoptersOnGround();
virtual APIPackage::APIQuadcopter[] getQuadcoptersTracked();
virtual APIPackage::APIQuadcopter[] getQuadcoptersUntracked();
virtual APIPackage::APIQuadcopter[] getQuadcoptersInFormation();
virtual APIPackage::APIQuadcopter[] getQuadcoptersNotInFormation();
virtual Integer getQuadcopterAmount();
virtual Integer getQuadcoptersFlyingAmount();
virtual Integer getQuadcoptersOnGroundAmount();
virtual Integer getQuadcoptersTrackedAmount();
virtual Integer getQuadcoptersUntrackedAmount();
virtual Integer getQuadcoptersInFormationAmount();
virtual Integer getQuadcoptersNotInFormationAmount();
virtual void addMessageListener(void APIMessageListener);
virtual void removeMessageListener(void APIMessageListener);
virtual void launchQuadcopters(Integer height);
virtual APIPackage::Double getLaunchProgress();
virtual Boolean quadcoptersLaunched();
virtual void landQuadcopters();
virtual void shutdownSystem();
virtual Cuboid getMaximumOperatingArea();
virtual Boolean setOperatingArea(void Cuboid);
virtual Integer getMaximumHorizontalSpeed();
virtual Integer getMaximumVerticalSpeed();
virtual Integer getMaximumHorizontalAcceleration();
virtual Integer getMaximumVerticalAcceleration();
virtual void setReceiveTargetMovementData(void Boolean);
virtual void setReceiveActualMovementData(void Boolean);
virtual void setReceiveQuadcopterState(void Boolean);
virtual void moveFormation(void Vector);
virtual void rotateFormation(void Vector);
public:
APIPackage::APICameraSystem cameraSystem;
APIQuadcopter* quadcopters;
Integer quadcopterCount;
APIQuadcopterListener* quadcopterListeners;
public:
/**
* @element-type ROSConnection
*/
APIPackage::ROSConnection *myROSConnection;
/**
* @element-type APIQuadcopter
*/
std::vector< APIQuadcopter* > myAPIQuadcopter;
/**
* @element-type ROSConnection
*/
APIPackage::ROSConnection myROSConnection;
/**
* @element-type APICameraSystem
*/
std::vector< APICameraSystem* > myAPICameraSystem;
APICameraSystem *myAPICameraSystem;
APIFormation ** myAPIFormation;
/**
* @element-type ConcreteQuadcopterListener
*/
std::vector< APIPackage::ConcreteQuadcopterListener > myConcreteQuadcopterListener;
/**
* @element-type ConcreteCameraListener
*/
APIPackage::ConcreteCameraListener *myConcreteCameraListener;
/**
* @element-type ConcreteCameraListener
*/
std::vector< APIPackage::ConcreteCameraListener > myConcreteCameraListener;
/**
* @element-type API
*/
API *myAPI;
/**
* @element-type API
*/
API *myAPI;
/**
* @element-type APIQuadcopterListener----
*/
APIQuadcopterListener---- *myAPIQuadcopterListener----;
/**
* @element-type APIQuadcopterListener----
*/
APIQuadcopterListener---- *myAPIQuadcopterListener----;
/**
* @element-type APIQuadcopterListener----
*/
APIQuadcopterListener---- *myAPIQuadcopterListener----;
/**
* @element-type APIMessageListener
*/
std::vector< APIMessageListener* > notifies;
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_API_h
#include "APICalibrationData.h"
namespace APIPackage-- {
/*
*/
void APICalibrationData::APICalibrationData(APIPackage::Mat intrinsics, APIPackage::Vector parameters)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000198C begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000198C end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Mat APICalibrationData::getIntrinsics()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001993 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001993 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APICalibrationData::getParameters()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001995 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001995 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
} /* End of namespace APIPackage-- */
#ifndef APIPackage--_APICalibrationData_h
#define APIPackage--_APICalibrationData_h
#include <APIPackage/.h>
#include <APIPackage/APICalibrationData.h>
#include <APIPackage/Mat.h>
#include <APIPackage/Vector.h>
namespace APIPackage-- {
/*
*/
class APICalibrationData : public APIPackage::, virtual public APIPackage::APICalibrationData {
public:
virtual void APICalibrationData(APIPackage::Mat intrinsics, APIPackage::Vector parameters);
virtual APIPackage::Mat getIntrinsics();
virtual APIPackage::Vector getParameters();
public:
APIPackage::Mat intrinsics;
APIPackage::Vector parameters;
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_APICalibrationData_h
#include "APICamera.h"
namespace APIPackage-- {
APIPackage::Mat APICamera::getImage()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B69 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B69 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APICamera::startCalibration(Integer imageAmount, Integer waitingTime)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B6B begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B6B end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer APICamera::getCalibrationImageCount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B6D begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B6D end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Mat[] APICamera::getAllCalibrationImages()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B6F begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B6F end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Mat APICamera::getCalibrationImage(Integer number)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B73 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B73 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APICamera::setCalibrationData(APIPackage::APICalibrationData data)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B75 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B75 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::APICalibrationData APICamera::getCalibrationData()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B77 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B77 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Boolean APICamera::isCalibrated()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B7E begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B7E end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APICamera::getPosition()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1-13f41b3c:142d840bbec:-8000:0000000000000BD8 begin
{
}
// section 127-0-0-1-13f41b3c:142d840bbec:-8000:0000000000000BD8 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APICamera::getOrientation()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1-13f41b3c:142d840bbec:-8000:0000000000000BDA begin
{
}
// section 127-0-0-1-13f41b3c:142d840bbec:-8000:0000000000000BDA end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APICamera::addImageListener(void APIImageListener)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000196A begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000196A end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APICamera::removeImageListener(void APIImageListener)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000196D begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000196D end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APICamera::addCameraListener(void APICameraListener)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000197F begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000197F end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APICamera::removeCameraListener(void APICameraListener)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001982 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001982 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APICamera::deleteCalibration()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--77924bb6:142ebbbc082:-8000:0000000000000D24 begin
{
}
// section 127-0-0-1--77924bb6:142ebbbc082:-8000:0000000000000D24 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
} /* End of namespace APIPackage-- */
#ifndef APIPackage--_APICamera_h
#define APIPackage--_APICamera_h
#include <vector>
#include <APIPackage/APICalibrationData.h>
#include <APIPackage/APICamera.h>
#include <APIPackage/Mat.h>
#include <APIPackage/Mat[].h>
#include <APIPackage/Vector.h>
#include "APICameraListener.h"
namespace APIPackage-- {
class APICamera;
class APICameraSystem;
class APIImageListener;
} /* End of namespace APIPackage-- */
namespace APIPackage-- {
class APICamera : virtual public APIPackage::APICamera, virtual public APICameraListener {
public:
virtual APIPackage::Mat getImage();
virtual void startCalibration(Integer imageAmount, Integer waitingTime);
virtual Integer getCalibrationImageCount();
virtual APIPackage::Mat[] getAllCalibrationImages();
virtual APIPackage::Mat getCalibrationImage(Integer number);
virtual void setCalibrationData(APIPackage::APICalibrationData data);
virtual APIPackage::APICalibrationData getCalibrationData();
virtual Boolean isCalibrated();
virtual APIPackage::Vector getPosition();
virtual APIPackage::Vector getOrientation();
virtual void addImageListener(void APIImageListener);
virtual void removeImageListener(void APIImageListener);
virtual void addCameraListener(void APICameraListener);
virtual void removeCameraListener(void APICameraListener);
virtual void deleteCalibration();
public:
APIPackage::APICalibrationData calibration;
Integer id;
static const Integer VERTICAL_DETECTION_ANGLE;
static const Integer HORIZONTAL_DETECTION_ANGLE;
public:
/**
* @element-type APICamera
*/
APICamera *myAPICamera;
/**
* @element-type APICamera
*/
std::vector< APICamera* > myAPICamera;
/**
* @element-type APICameraSystem
*/
APICameraSystem *myAPICameraSystem;
/**
* @element-type APICameraListener
*/
std::vector< APICameraListener* > notifies;
/**
* @element-type APIImageListener
*/
std::vector< APIImageListener* > notifies;
/**
* @element-type APICameraListener
*/
std::vector< APICameraListener* > notifies;
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_APICamera_h
#ifndef APIPackage--_APICameraListener_h
#define APIPackage--_APICameraListener_h
#include <APIPackage/APICameraUpdateEvent.h>
#include <APIPackage/APIFormation.h>
namespace APIPackage-- {
/*
*/
class APICameraListener : virtual public APIPackage::APIFormation {
public:
virtual void updateCameraValues(APIPackage::APICameraUpdateEvent e) = 0;
public:
// virtual destructor for interface
virtual ~APICameraListener() { }
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_APICameraListener_h
#include "APICameraSystem.h"
namespace APIPackage-- {
APIPackage::APICamera APICameraSystem::getCamera(Integer id)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B58 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B58 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer APICameraSystem::getCameraAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B5B begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B5B end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APICamera[] APICameraSystem::getCameras()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B5D begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B5D end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APICameraSystem::startCalibration()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B5F begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B5F end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Boolean APICameraSystem::takeCalibrationPicture()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B61 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B61 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APICameraSystem::calculateCalibration()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B63 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B63 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Boolean APICameraSystem::isCalibrated()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B65 begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B65 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APICamera[] APICameraSystem::getCalibratedCameras()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD9 begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BD9 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APICamera[] APICameraSystem::getUncalibratedCameras()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BDB begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BDB end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Mat[][] APICameraSystem::getCalibrationPictures()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018AD begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018AD end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer APICameraSystem::getCalibrationPictureCount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018AF begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018AF end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
} /* End of namespace APIPackage-- */
#ifndef APIPackage--_APICameraSystem_h
#define APIPackage--_APICameraSystem_h
#include <vector>
#include <APIPackage/APICamera*.h>
#include <APIPackage/APICamera.h>
#include <APIPackage/APICameraSystem.h>
#include "APICamera[].h"
#include "Mat[][].h"
namespace APIPackage-- {
class API;
class APICamera;
} /* End of namespace APIPackage-- */
namespace APIPackage-- {
class APICameraSystem : virtual public APIPackage::APICameraSystem {
public:
virtual APIPackage::APICamera getCamera(Integer id);
virtual Integer getCameraAmount();
virtual APICamera[] getCameras();
virtual void startCalibration();
virtual Boolean takeCalibrationPicture();
virtual void calculateCalibration();
virtual Boolean isCalibrated();
virtual APICamera[] getCalibratedCameras();
virtual APICamera[] getUncalibratedCameras();
virtual Mat[][] getCalibrationPictures();
virtual Integer getCalibrationPictureCount();
public:
APIPackage::APICamera* cameras;
Integer cameraCount;
public:
/**
* @element-type API
*/
API *myAPI;
/**
* @element-type API
*/
API *myAPI;
/**
* @element-type APICamera
*/
std::vector< APICamera* > myAPICamera;
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_APICameraSystem_h
#include "APIFormation.h"
namespace APIPackage-- {
Integer APIFormation::getQuadcopterAmount()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B9B begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B9B end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIFormation::getQuadcopterPosition(Integer number)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B9D begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B9D end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APIFormation::setMinimumDistance(Integer minimumDistance)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B9F begin
{
}
// section 127-0-0-1--e7ff99f:142c2d7289f:-8000:0000000000000B9F end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector* APIFormation::getQuadcopterPositions()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BB3 begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BB3 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APIFormation::setQuadcopterPosition(Integer number, APIPackage::Vector position)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018C9 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018C9 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APIFormation::DefaultAPIFormation(Integer quadcopterAmount, APIPackage::Vector* quadcopterPositions)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BB6 begin
{
}
// section 127-0-0-1--24a8b1be:142d267687f:-8000:0000000000000BB6 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
} /* End of namespace APIPackage-- */
#ifndef APIPackage--_APIFormation_h
#define APIPackage--_APIFormation_h
#include <APIPackage/APIFormation.h>
#include <APIPackage/Vector*.h>
#include <APIPackage/Vector.h>
namespace APIPackage-- {
class API;
} /* End of namespace APIPackage-- */
namespace APIPackage-- {
class APIFormation : virtual public APIPackage::APIFormation {
public:
virtual Integer getQuadcopterAmount();
virtual APIPackage::Vector getQuadcopterPosition(Integer number);
virtual void setMinimumDistance(Integer minimumDistance);
virtual APIPackage::Vector* getQuadcopterPositions();
virtual void setQuadcopterPosition(Integer number, APIPackage::Vector position);
private:
virtual void DefaultAPIFormation(Integer quadcopterAmount, APIPackage::Vector* quadcopterPositions);
public:
Integer quadcopterAmount;
Integer minimumDistance;
APIPackage::Vector* quadcopterPositions;
public:
/**
* @element-type API
*/
API *myAPI;
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_APIFormation_h
#ifndef APIPackage--_APIImageListener_h
#define APIPackage--_APIImageListener_h
namespace APIPackage-- {
class APIImageListener {
public:
virtual void imageReceived(void Mat) = 0;
public:
// virtual destructor for interface
virtual ~APIImageListener() { }
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_APIImageListener_h
#ifndef APIPackage--_APIMessageListener_h
#define APIPackage--_APIMessageListener_h
#include "char*.h"
namespace APIPackage-- {
class APIMessageListener {
public:
virtual void apiErrorMessage(char* error) = 0;
virtual void apiWarningMessage(char* warning) = 0;
virtual void apiInfoMessage(char* info) = 0;
public:
// virtual destructor for interface
virtual ~APIMessageListener() { }
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_APIMessageListener_h
#include "APIQuadcopter.h"
namespace APIPackage-- {
Integer APIQuadcopter::getId()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018DD begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000018DD end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getTargetOrientation()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000193E begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000193E end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getTargetPosition()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000193C begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000193C end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getTargetSpeed()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001958 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001958 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getTargetAcceleration()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001942 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001942 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getCurrentOrientation()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001441 begin
{
}
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001441 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getCurrentPosition()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:000000000000143F begin
{
}
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:000000000000143F end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getCurrentSpeed()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:000000000000143A begin
{
}
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:000000000000143A end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getCurrentAcceleration()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:000000000000143C begin
{
}
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:000000000000143C end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Boolean APIQuadcopter::isTracked()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001443 begin
{
}
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001443 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
CV_HSV[2] APIQuadcopter::getColorRange()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001445 begin
{
}
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001445 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer APIQuadcopter::getNetworkLatency()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001447 begin
{
}
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001447 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer APIQuadcopter::getLinkQuality()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000019A0 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:00000000000019A0 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APIQuadcopter::setSelectedForFlight(void Boolean)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001449 begin
{
}
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:0000000000001449 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APIQuadcopter::setColorRange(APIPackage::CV_HSV first, APIPackage::CV_HSV second)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001911 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001911 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APIQuadcopter::setColorRange(CV_HSV[2] range)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001952 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001952 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APIQuadcopter::blink()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:000000000000144B begin
{
}
// section 127-0-0-1--436d4c2d:142c7be7e5a:-8000:000000000000144B end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APIQuadcopter::addQuadcopterListener(void APIQuadcopterListener)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001985 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001985 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
void APIQuadcopter::removeQuadcopterListener(void APIQuadcopterListener)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001988 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001988 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
Integer APIQuadcopter::getAltimeterAltitude()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--4b99a20b:142e6b88f75:-8000:00000000000011AF begin
{
}
// section 127-0-0-1--4b99a20b:142e6b88f75:-8000:00000000000011AF end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getGyroscopeData()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--4b99a20b:142e6b88f75:-8000:00000000000011B1 begin
{
}
// section 127-0-0-1--4b99a20b:142e6b88f75:-8000:00000000000011B1 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getMagnetometerData()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1--4b99a20b:142e6b88f75:-8000:00000000000011B3 begin
{
}
// section 127-0-0-1--4b99a20b:142e6b88f75:-8000:00000000000011B3 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
APIPackage::Vector APIQuadcopter::getAccelerometerData()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-0-1-1b7d62df:142ebd3c880:-8000:0000000000000D2C begin
{
}
// section 127-0-0-1-1b7d62df:142ebd3c880:-8000:0000000000000D2C end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
} /* End of namespace APIPackage-- */
#ifndef APIPackage--_APIQuadcopter_h
#define APIPackage--_APIQuadcopter_h
#include <vector>
#include <APIPackage/APIQuadcopter.h>
#include <APIPackage/CV_HSV*.h>
#include <APIPackage/CV_HSV.h>
#include <APIPackage/Status.h>
#include <APIPackage/Vector.h>
#include "CV_HSV[2].h"
namespace APIPackage {
class ROSConnection;
} /* End of namespace APIPackage */
namespace APIPackage-- {
class API;
class APIQuadcopterListener----;
} /* End of namespace APIPackage-- */
namespace APIPackage-- {
class APIQuadcopter : virtual public APIPackage::APIQuadcopter {
public:
virtual Integer getId();
virtual APIPackage::Vector getTargetOrientation();
virtual APIPackage::Vector getTargetPosition();
virtual APIPackage::Vector getTargetSpeed();
virtual APIPackage::Vector getTargetAcceleration();
virtual APIPackage::Vector getCurrentOrientation();
virtual APIPackage::Vector getCurrentPosition();
virtual APIPackage::Vector getCurrentSpeed();
virtual APIPackage::Vector getCurrentAcceleration();
virtual Boolean isTracked();
virtual CV_HSV[2] getColorRange();
virtual Integer getNetworkLatency();
virtual Integer getLinkQuality();
virtual void setSelectedForFlight(void Boolean);
virtual void setColorRange(APIPackage::CV_HSV first, APIPackage::CV_HSV second);
virtual void setColorRange(CV_HSV[2] range);
virtual void blink();
virtual void addQuadcopterListener(void APIQuadcopterListener);
virtual void removeQuadcopterListener(void APIQuadcopterListener);
virtual Integer getAltimeterAltitude();
virtual APIPackage::Vector getGyroscopeData();
virtual APIPackage::Vector getMagnetometerData();
virtual APIPackage::Vector getAccelerometerData();
public:
Boolean selectedForFlight;
Integer id;
APIPackage::CV_HSV* colorRange[ 2];
APIPackage::Status status;
Integer currentSpeed;
Integer currentAcceleration;
APIPackage::Vector currentPosition;
APIPackage::Vector currentOrientation;
Integer latency;
Integer linkQuality;
Integer altitude;
APIPackage::Vector gyroscopeData;
APIPackage::Vector magnetometerData;
Integer targetSpeed;
Integer targetAcceleration;
APIPackage::Vector targetPostion;
APIPackage::Vector targetOrientation;
APIPackage::Vector accelerometerData;
public:
/**
* @element-type ROSConnection
*/
APIPackage::ROSConnection *myROSConnection;
/**
* @element-type API
*/
API *myAPI;
/**
* @element-type APIQuadcopterListener----
*/
std::vector< APIQuadcopterListener----* > notifies;
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_APIQuadcopter_h
#ifndef APIPackage--_APIQuadcopterListener----_h
#define APIPackage--_APIQuadcopterListener----_h
#include <APIPackage/APIQuadcopterUpdateEvent.h>
namespace APIPackage-- {
class API;
} /* End of namespace APIPackage-- */
namespace APIPackage-- {
/*
*/
class APIQuadcopterListener---- {
public:
virtual void updateQuadrocopterValues(APIPackage::APIQuadcopterUpdateEvent e) = 0;
public:
// virtual destructor for interface
virtual ~APIQuadcopterListener----() { }
public:
/**
* @element-type API
*/
API *myAPI;
/**
* @element-type API
*/
API *myAPI;
/**
* @element-type API
*/
API *myAPI;
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_APIQuadcopterListener----_h
#include "CircleAPIFormation.h"
namespace APIPackage-- {
void CircleAPIFormation::CircleAPIFormation(Integer quadcopterAmount)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000187E begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:000000000000187E end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
} /* End of namespace APIPackage-- */
#ifndef APIPackage--_CircleAPIFormation_h
#define APIPackage--_CircleAPIFormation_h
#include "APIFormation.h"
namespace APIPackage-- {
class CircleAPIFormation : public APIFormation {
public:
virtual void CircleAPIFormation(Integer quadcopterAmount);
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_CircleAPIFormation_h
#include "LineAPIFormation.h"
namespace APIPackage-- {
void LineAPIFormation::LineAPIFormation(Integer quadcopterAmount)
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001886 begin
{
}
// section -115-3-12--75-447502de:142e1a3761e:-8000:0000000000001886 end
// don't delete the previous line as it's needed to preserve source code of this autogenerated element
} /* End of namespace APIPackage-- */
#ifndef APIPackage--_LineAPIFormation_h
#define APIPackage--_LineAPIFormation_h
#include "APIFormation.h"
namespace APIPackage-- {
class LineAPIFormation : public APIFormation {
public:
virtual void LineAPIFormation(Integer quadcopterAmount);
};
} /* End of namespace APIPackage-- */
#endif // APIPackage--_LineAPIFormation_h
sadf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment