Go to the documentation of this file.
9 #ifndef CommandFollowEntity_h
10 #define CommandFollowEntity_h
36 : masterReference(masterReference),
37 entitySlaveReflexion(entitySlaveReflexion),
41 knowledgeId(knowledgeId),
42 requestType(requestType) {}
86 const CscState *getCurrentState()
const;
94 const int knowledgeId;
CommandFollowEntityParams(const ptr< CscEntityReflexion > &masterReference, ptr< CscEntityReflexion > entitySlaveReflexion, float angle, float distance, float height, int knowledgeId, FollowRequestType requestType)
Definition: CommandFollowEntity.h:35
NLOHMANN_BASIC_JSON_TPL_DECLARATION std::string to_string(const NLOHMANN_BASIC_JSON_TPL &j)
user-defined to_string function for JSON values
Definition: json.hpp:26470
~CommandFollowEntityParams()
Definition: CommandFollowEntity.h:44
#define CSC_DLL_IMPORTEXPORT
Definition: os.h:34
bool success
Definition: CommandFollowEntity.h:63
string message
Definition: CommandFollowEntity.h:62
ptr< CscEntityReflexion > entitySlaveReflexion
Definition: CommandFollowEntity.h:26
@ FollowRequestType_STOP
Definition: CommandFollowEntity.h:18
int status
Definition: CommandFollowEntity.h:56
int knowledgeId
Definition: CommandFollowEntity.h:30
float height
Definition: CommandFollowEntity.h:29
float distance
Definition: CommandFollowEntity.h:28
FollowRequestType requestType
Definition: CommandFollowEntity.h:31
string CommandTypeId
Definition: Command.h:29
CommandFollowEntityResultStatus * status
Definition: CommandFollowEntity.h:64
string boolToString(bool value)
Definition: conscience_util.cpp:99
string toString() const
Definition: CommandFollowEntity.h:47
Definition: cartographyCommands.cpp:4
Definition: CommandFollowEntity.h:61
#define COMMAND_RESULT_JSON_SERIALIZER(TClass,...)
Definition: CommandExecutionResult.h:10
Definition: CscState.h:24
float angle
Definition: CommandFollowEntity.h:27
@ FollowRequestType_START
Definition: CommandFollowEntity.h:17
ptr< CscEntityReflexion > masterReference
Definition: CommandFollowEntity.h:25
Definition: CommandFollowEntity.h:55
#define COMMAND_TYPE_BUILDER(PREFIX, COMMAND_REGISTER_className,...)
Definition: CscCommandAutoParse.h:515
Definition: CommandFollowEntity.h:23
Definition: CscEnvironmentSimulator.h:31
COMMAND_REGISTER(CommandFollowKinematicTrajectory, ptr< CscEntityReflexion >, int, const CscState *, string, string, string, string, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)
Definition: CommandExecutionResult.h:93
FollowRequestType
Definition: CommandFollowEntity.h:16
Definition: CommandFollowEntity.h:67
std::shared_ptr< T > ptr
Definition: CscCommon.h:29