Conscience Core
CommandSaveConfigurationToModelTranslation.h
Go to the documentation of this file.
1 //
2 // CommandSaveConfigurationToModelMembers.h
3 // ConscienceRobotManager
4 //
5 // Created by Hazar Zaoui on 24/06/2020.
6 // Copyright © 2020 IliesZaoui. All rights reserved.
7 //
8 
9 #ifndef CommandSaveConfigurationToModelTranslation_h
10 #define CommandSaveConfigurationToModelTranslation_h
11 
12 #include "Command.h"
14 
15 #include <string>
16 
17 using std::vector; using std::string;
18 
20 
21 
23 
24  public:
25  inline static const CommandTypeId COMMAND_ID = "SAVE_CONFIGURATION_TO_MODEL_TRANSLATION";
26 
28  int robotModelId,
29  int translationId,
30  float maxSpeedNew,
31  float amplitudeMinNew,
32  float amplitudeMaxNew);
33 
34  protected:
35  const CscCommandExecutionResultNone * doExecute(
36  CscEnvironmentSimulator &environmentSimulator) override;
38  return nullptr;
39  }
40  private:
41  const int robotModelId;
42  int translationId;
43  float maxSpeedNew;
44  float amplitudeMinNew;
45  float amplitudeMaxNew;
46  };
47 
48 COMMAND_REGISTER(CommandSaveConfigurationToModelTranslation,
49  int,
50  int,
51  float,
52  float,
53  float)
54 
55 }
56 #endif
conscience_core::bridging::commands::result::CscCommandExecutionResultNone
Definition: CommandExecutionResultNone.h:11
CSC_DLL_IMPORTEXPORT
#define CSC_DLL_IMPORTEXPORT
Definition: os.h:31
Command.h
conscience_core::bridging::commands::CommandTypeId
string CommandTypeId
Definition: Command.h:29
conscience_core::bridging::commands::CommandSaveConfigurationToModelTranslation
Definition: CommandSaveConfigurationToModelTranslation.h:22
conscience_core::bridging::commands
Definition: cartographyCommands.cpp:4
conscience_core::bridging::commands::CscCommand
Definition: Command.h:40
conscience_core::bridging::commands::CommandSaveConfigurationToModelTranslation::getEntityReflexion
ptr< CscEntityReflexion > getEntityReflexion() const override
Definition: CommandSaveConfigurationToModelTranslation.h:37
CscEnvironmentSimulator
Definition: CscEnvironmentSimulator.h:35
conscience_core::bridging::commands::COMMAND_REGISTER
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)
CscCommandAutoParse.h
ptr
std::shared_ptr< T > ptr
Definition: CscCommon.h:29