Go to the documentation of this file. 1 #ifndef CommandPathCutEntityDeplacements_h
2 #define CommandPathCutEntityDeplacements_h
53 inline static const CommandTypeId COMMAND_ID =
"PATH_CUT_ENTITY_DEPLACEMENTS";
65 const double WIDTH_OFFSET_IN_CENTIMETER = 25;
66 const double LENGTH_END_OFFSET_FOR_PATH_IN_CENTIMETER = 40;
67 const double LENGTH_START_OFFSET_FOR_IN_CENTIMETER = 10;
68 const double LENGTH_OFFSET_FOR_TRANSITION_IN_CENTIMETER = 100;
69 const double MIN_DISTANCE_FOR_SAME_POINT_IN_CM = 2;
70 const double MAX_ANGLE_FOR_TRANSITION_IN_DEGREES = 20;
76 vector<PathSegmentCommandDataType *> *
paths;
77 std::unique_ptr<CscLogger>
logger = CscLogger::getForCategory(
"CommandPathCutEntityDeplacements");
Represents a path segment defined by two 3D points ( start and end ).
Definition: CommandPathCutEntityDeplacements.h:12
The CscPoint3d class represents a point in three-dimensional space. It is primarily used to denote a ...
Definition: Csc3dTypes.h:24
#define CSC_DLL_IMPORTEXPORT
Definition: os.h:34
Represents a pair of segments offset to the left and right of a central segment.
Definition: CommandPathCutEntityDeplacements.h:37
PathSegmentCommandDataType * left
Definition: CommandPathCutEntityDeplacements.h:44
string CommandTypeId
Definition: Command.h:29
T2 right
Definition: unit-test.h:121
vector< PathSegmentCommandDataType * > * paths
Definition: CommandPathCutEntityDeplacements.h:76
CscPoint3d * start
Definition: CommandPathCutEntityDeplacements.h:24
double calculateAngleBetweenTwoPosition(CscPoint3d *secondPosition, CscPoint3d *firstPosition)
Definition: geom.cpp:117
PathSegmentCommandDataType * right
Definition: CommandPathCutEntityDeplacements.h:45
Definition: cartographyCommands.cpp:4
#define COMMAND_RESULT_JSON_SERIALIZER(TClass,...)
Definition: CommandExecutionResult.h:10
#define COMMAND_TYPE_BUILDER(PREFIX, COMMAND_REGISTER_className,...)
Definition: CscCommandAutoParse.h:515
Definition: CscEnvironmentSimulator.h:31
Definition: CommandPathCutEntityDeplacements.h:51
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)
SegmentMargins(PathSegmentCommandDataType *left, PathSegmentCommandDataType *right)
Definition: CommandPathCutEntityDeplacements.h:38
std::unique_ptr< CscLogger > logger
Definition: Command.cpp:7
CscPoint3d * end
Definition: CommandPathCutEntityDeplacements.h:25
Definition: CommandExecutionResult.h:118
std::shared_ptr< T > ptr
Definition: CscCommon.h:29