Conscience Core
CommandSaveConfigurationToModelParams.h
Go to the documentation of this file.
1 //
2 // CommandSaveConfigurationToModelPivot.h
3 // ConscienceRobotManager
4 //
5 // Created by Hazar Zaoui on 24/06/2020.
6 // Copyright © 2020 IliesZaoui. All rights reserved.
7 //
8 
9 #ifndef CommandSaveConfigurationToModelParams_h
10 #define CommandSaveConfigurationToModelParams_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_PARAMS";
27  int robotModelId,
28  float newPitch,
29  float newYaw,
30  float newRoll,
31  float newdefaultHeight);
32 
33  protected:
34  const CscCommandExecutionResultNone * doExecute(
35  CscEnvironmentSimulator &environmentSimulator) override;
37  return nullptr;
38  }
39  private:
40  const int robotModelId;
41  const float newPitch;
42  const float newYaw;
43  const float newRoll;
44  const float newdefaultHeight;
45  };
46 
47 COMMAND_REGISTER(CommandSaveConfigurationToModelParams,
48  int,
49  float,
50  float,
51  float,
52  float)
53 
54 }
55 #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
Definition: cartographyCommands.cpp:4
conscience_core::bridging::commands::CommandSaveConfigurationToModelParams::getEntityReflexion
ptr< CscEntityReflexion > getEntityReflexion() const override
Definition: CommandSaveConfigurationToModelParams.h:36
conscience_core::bridging::commands::CscCommand
Definition: Command.h:40
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
conscience_core::bridging::commands::CommandSaveConfigurationToModelParams
Definition: CommandSaveConfigurationToModelParams.h:22