Conscience Core
CommandSaveConfigurationToModelPropeller.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 CommandSaveConfigurationToModelPropeller_h
10 #define CommandSaveConfigurationToModelPropeller_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_PROPELLER";
26 
28  int robotModelId,
29  int propellersId,
30  float maxSpeedNew);
31 
32  protected:
33  const CscCommandExecutionResultNone * doExecute(CscEnvironmentSimulator &environmentSimulator) override;
34 
36  return nullptr;
37  }
38  private:
39  const int robotModelId;
40  int propellerId;
41  float maxSpeedNew;
42  };
43 
44 COMMAND_REGISTER(CommandSaveConfigurationToModelPropeller,
45  int,
46  int,
47  float)
48 
49 }
50 #endif
conscience_core::bridging::commands::CommandSaveConfigurationToModelPropeller
Definition: CommandSaveConfigurationToModelPropeller.h:22
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::CommandSaveConfigurationToModelPropeller::getEntityReflexion
ptr< CscEntityReflexion > getEntityReflexion() const override
Definition: CommandSaveConfigurationToModelPropeller.h:35
conscience_core::bridging::commands
Definition: cartographyCommands.cpp:4
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