#include <CommandExportSequenceCsv.h>
Public Member Functions | |
| CommandExportSequenceCsv (const CscEntityModel *robotModel, float currentPositionX, float currentPositionY, float currentPositionZ, float offsetX, float offsetY, float offsetZ) | |
| float | getCurrentPositionX () |
| float | getCurrentPositionY () |
| float | getCurrentPositionZ () |
| float | getOffsetX () |
| float | getOffsetY () |
| float | getOffsetZ () |
| const CscEntityModel & | getEntityModel () const |
Public Member Functions inherited from conscience_core::bridging::commands::CscCommand | |
| const CscCommandExecutionResult * | _execute (CscEnvironmentSimulator &environmentSimulator) |
| template<class TResult = CscCommandExecutionResult> | |
| const TResult * | execute (CscEnvironmentSimulator &environmentSimulator) |
| const CommandTypeId & | getTypeId () const |
| virtual | ~CscCommand () |
| void | setOriginalCommandString (string command) |
Static Public Attributes | |
| static const CommandTypeId | COMMAND_ID = "EXPORT_SEQUENCE_CSV" |
Protected Member Functions | |
| const CscCommandExecutionResultNone * | doExecute (CscEnvironmentSimulator &environmentSimulator) override |
| ptr< CscEntityReflexion > | getEntityReflexion () const override |
Protected Member Functions inherited from conscience_core::bridging::commands::CscCommand | |
| CscCommand (const CommandTypeId &typeId) | |
| const CscCommandExecutionResultNone * | resultNone () |
| const CscCommandExecutionResultSequence * | resultSequence (CscSequence *sequence, const string &entitySerialNumber, bool doNotPlay=false) |
| const CscCommandExecutionResultFile * | resultFile (const fs::path &resultingFilePath) |
| template<class TResult > | |
| const CscCommandExecutionResultObject< TResult > * | resultObject (TResult *result) |
| const CscWorldElementId | getEntityId () const |
Additional Inherited Members | |
Public Types inherited from conscience_core::bridging::commands::CscCommand | |
| typedef function< void(CscCommand *command)> | CommandExecutedListener |
Static Public Member Functions inherited from conscience_core::bridging::commands::CscCommand | |
| static void | addCommandExecutedListener (CommandExecutedListener listener) |
Protected Attributes inherited from conscience_core::bridging::commands::CscCommand | |
| const CommandTypeId | typeId |
| optional< string > | originalCommandString = {} |
For now: Safran specific, but should be made available for any client or implemented differently (pure AI, business knowledges as persistent data, ...)
| conscience_core::bridging::commands::CommandExportSequenceCsv::CommandExportSequenceCsv | ( | const CscEntityModel * | robotModel, |
| float | currentPositionX, | ||
| float | currentPositionY, | ||
| float | currentPositionZ, | ||
| float | offsetX, | ||
| float | offsetY, | ||
| float | offsetZ | ||
| ) |
|
overrideprotectedvirtual |
Implements conscience_core::bridging::commands::CscCommand.
| float conscience_core::bridging::commands::CommandExportSequenceCsv::getCurrentPositionX | ( | ) |
| float conscience_core::bridging::commands::CommandExportSequenceCsv::getCurrentPositionY | ( | ) |
| float conscience_core::bridging::commands::CommandExportSequenceCsv::getCurrentPositionZ | ( | ) |
| const CscEntityModel & conscience_core::bridging::commands::CommandExportSequenceCsv::getEntityModel | ( | ) | const |
|
inlineoverrideprotectedvirtual |
return entity reflexion if this command applies on an entityReflexion, otherwise return nullptr
Implements conscience_core::bridging::commands::CscCommand.
| float conscience_core::bridging::commands::CommandExportSequenceCsv::getOffsetX | ( | ) |
| float conscience_core::bridging::commands::CommandExportSequenceCsv::getOffsetY | ( | ) |
| float conscience_core::bridging::commands::CommandExportSequenceCsv::getOffsetZ | ( | ) |
|
inlinestatic |