mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 08:36:33 +00:00
Changed directory structure and renamed applications
- autopilot -> drone_controller - rtsp_ai_player -> ai_controller - added top level qmake project file - updated documentation - moved small demo applications from tmp/ to misc/
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
#pragma once
|
||||
|
||||
#include "az_coordinate.h"
|
||||
|
||||
enum AzActionPointType {
|
||||
AZ_ACTION_POINT_TYPE_NONE = 0,
|
||||
AZ_ACTION_POINT_TYPE_WAYPOINT = 1,
|
||||
AZ_ACTION_POINT_TYPE_SEARCH = 2,
|
||||
AZ_ACTION_POINT_TYPE_RETURN = 3
|
||||
};
|
||||
|
||||
enum AzActionSpecific {
|
||||
AZ_ACTION_SPECIFIC_NONE = 1 << 0,
|
||||
AZ_ACTION_SPECIFIC_TANK = 1 << 1,
|
||||
AZ_ACTION_SPECIFIC_ARTILLERY = 1 << 2,
|
||||
};
|
||||
|
||||
class AzActionPoint
|
||||
{
|
||||
public:
|
||||
AzActionPoint(const AzCoordinate &point, int height, AzActionPointType actionPointType, uint actionSpesific);
|
||||
|
||||
AzCoordinate getPoint(void) const;
|
||||
|
||||
int getHeight(void) const;
|
||||
|
||||
AzActionPointType getType(void) const;
|
||||
|
||||
string getTypeStr(void) const;
|
||||
|
||||
bool isTank(void) const;
|
||||
|
||||
bool isArtillery(void) const;
|
||||
|
||||
string getActionSpecificStr(void) const;
|
||||
|
||||
friend ostream &operator<<(ostream &os, const AzActionPoint &obj);
|
||||
|
||||
private:
|
||||
AzCoordinate mPoint;
|
||||
int mHeight;
|
||||
AzActionPointType mType;
|
||||
uint mActionSpesific;
|
||||
};
|
||||
Reference in New Issue
Block a user