VSM C++ SDK
Vehicle Specific Modules SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
vtol_transition_action.h
Go to the documentation of this file.
1 // Copyright (c) 2018, Smart Projects Holdings Ltd
2 // All rights reserved.
3 // See LICENSE file for license details.
4 
8 #ifndef _UGCS_VSM_VTOL_TRANSITION_ACTION_H_
9 #define _UGCS_VSM_VTOL_TRANSITION_ACTION_H_
10 
11 #include <ugcs/vsm/action.h>
12 #include <ugcs/vsm/mavlink.h>
13 #include <chrono>
14 
15 namespace ugcs {
16 namespace vsm {
17 
22 
23 public:
25  enum Mode {
30  };
31 
34  Action(Type::VTOL_TRANSITION),
35  mode(mode) {}
36 
37  Mode mode;
38 };
39 
41 template<>
42 struct Action::Mapper<Action::Type::VTOL_TRANSITION> {
45 };
46 
47 } /* namespace vsm */
48 } /* namespace ugcs */
49 
50 #endif /* _UGCS_VSM_VTOL_TRANSITION_ACTION_H_*/
Vtol_transition_action(Vtol_transition_action::Mode mode)
Construct wait action explicitly.
Definition: vtol_transition_action.h:33
Type
Types of vehicle actions as part of task (mission).
Definition: action.h:30
Wait action.
Definition: vtol_transition_action.h:20
Fixed-wing mode.
Definition: vtol_transition_action.h:29
Generic action.
Definition: action.h:22
VTOL mode.
Definition: vtol_transition_action.h:27
Generic action.
Vtol_transition_action type
Real type.
Definition: vtol_transition_action.h:44
Map Action type enum value to specific Action type class.
Definition: action.h:120
Mode
VTOL transition state.
Definition: vtol_transition_action.h:25
#define DEFINE_COMMON_CLASS(__class_name,...)
Use this macro to define some common attributes for a class.
Definition: utils.h:25