![]() |
Dynamixel
2.9.5
RoadNarrows Robotics Dynamixel Package
|
The dynashell Command Class Interface. More...
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <cstring>
#include <iostream>
#include <fstream>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "Dynamixel/Dynamixel.h"
#include "Dynamixel/DynaComm.h"
#include "Dynamixel/DynaServo.h"
#include "Dynamixel/DynaChain.h"
#include "dynashell.h"
Go to the source code of this file.
Classes | |
class | DynaShellCmd |
Dynamixel shell command abstract base class. More... | |
class | DynaShellCmdChainIn |
Dynamixel chain input command abstract base class. More... | |
struct | ExecTup_T |
Execute 2-tuple structure type. More... | |
class | DynaShellCmdChainOut |
Dynamixel chain output command abstract base class. More... | |
Macros | |
#define | TRY(boolexpr, ...) do { if( !(boolexpr) ) { return; } } while(0) |
Try boolean expression. More... | |
Functions | |
void | PublishShellCoreCommands (DynaShell &shell) |
Publish shell core commands to shell. More... | |
void | PublishShellInterfaceCommands (DynaShell &shell) |
Publish shell dynamixel interface commands to shell. More... | |
void | PublishShellServoCommands (DynaShell &shell) |
Publish shell servo commands to shell. More... | |
void | PublishShellTrainCommands (DynaShell &shell) |
Publish shell servo commands to shell. More... | |
The dynashell Command Class Interface.
Definition in file dynashell_cmd.h.
#define TRY | ( | boolexpr, | |
... | |||
) | do { if( !(boolexpr) ) { return; } } while(0) |
Try boolean expression.
boolexpr | Boolean C/C++ expression. |
Definition at line 89 of file dynashell_cmd.h.
Referenced by DynaShellCmdCreate::Exec(), DynaShellCmdHelp::Exec(), DynaShellCmdMoveAtSpeedTo::Exec(), DynaShellCmdSetPid::Exec(), DynaShellCmdDestroy::Exec(), DynaShellCmdScan::Exec(), DynaShellCmdEStop::Exec(), DynaShellCmdPing::Exec(), DynaShellCmdFreeze::Exec(), DynaShellCmdLoadRecording::Exec(), DynaShellCmdLog::Exec(), DynaShellCmdList::Exec(), DynaShellCmdRelease::Exec(), DynaShellCmdLink::Exec(), DynaShellCmdWait::Exec(), DynaShellCmdChainIn::Exec(), DynaShellCmdSetOdometer::Exec(), DynaShellCmdScript::Exec(), DynaShellCmdChainOut::Exec(), DynaShellCmdUnlink::Exec(), DynaShellCmdMegaScan::Exec(), DynaShellCmdBgtStart::Exec(), DynaShellCmdSaveRecording::Exec(), DynaShellCmdBgtStop::Exec(), DynaShellCmdReadMaxTorqueLimit::Exec(), DynaShellCmdBgtGetState::Exec(), DynaShellCmdTrain::Exec(), DynaShellCmdSetHalfDuplexCtl::Exec(), DynaShellCmdWriteMaxTorqueLimit::Exec(), DynaShellCmdPlay::Exec(), DynaShellCmdSetSoftTorqueTh::Exec(), DynaShellCmdReadByte::Exec(), and DynaShellCmdWriteByte::Exec().
void PublishShellCoreCommands | ( | DynaShell & | shell | ) |
Publish shell core commands to shell.
The core set includes the common shell base commands idependent of application.
shell Dynamixel shell.
Definition at line 689 of file dynashell_cmd_core.cxx.
References DynaShell::PublishCommand().
Referenced by DynaShellCmdChainOut::ArgToUInt(), and MainInit().
void PublishShellInterfaceCommands | ( | DynaShell & | shell | ) |
Publish shell dynamixel interface commands to shell.
The dynamixel interface command set contains the top-level dynamixel library semantic fundamentals.
shell Dynamixel shell.
Definition at line 1467 of file dynashell_cmd_if.cxx.
References DynaShell::PublishCommand().
Referenced by DynaShellCmdChainOut::ArgToUInt(), and MainInit().
void PublishShellServoCommands | ( | DynaShell & | shell | ) |
Publish shell servo commands to shell.
shell Dynamixel shell.
Definition at line 2846 of file dynashell_cmd_servo.cxx.
References DynaShell::PublishCommand().
Referenced by DynaShellCmdChainOut::ArgToUInt(), and MainInit().
void PublishShellTrainCommands | ( | DynaShell & | shell | ) |
Publish shell servo commands to shell.
shell Dynamixel shell.
Definition at line 2260 of file dynashell_cmd_train.cxx.
References DynaShell::PublishCommand().
Referenced by DynaShellCmdChainOut::ArgToUInt().