![]() |
Dynamixel
2.9.5
RoadNarrows Robotics Dynamixel Package
|
Dynamixel shell record and playback functions. More...
#include <sys/select.h>#include <limits.h>#include <time.h>#include <ctype.h>#include <cstring>#include <iostream>#include <fstream>#include <map>#include <vector>#include <math.h>#include <gsl/gsl_bspline.h>#include <gsl/gsl_multifit.h>#include <gsl/gsl_rng.h>#include <gsl/gsl_randist.h>#include <gsl/gsl_statistics.h>#include "rnr/rnrconfig.h"#include "rnr/log.h"#include "Dynamixel/Dynamixel.h"#include "Dynamixel/DynaComm.h"#include "Dynamixel/DynaPidSpeed.h"#include "Dynamixel/DynaServo.h"#include "Dynamixel/DynaChain.h"#include "Dynamixel/DynaOlio.h"#include "dynashell.h"#include "dynashell_cmd.h"#include "dynashell_recording.h"#include "dynashell_util.h"Go to the source code of this file.
Classes | |
| class | DynaShellCmdGetPid |
| Get the PID values for the given servos. More... | |
| class | DynaShellCmdSetPid |
| Get the PID values for the given servos. More... | |
| class | DynaShellCmdLoadRecording |
| Load recording from file. More... | |
| class | DynaShellCmdSaveRecording |
| Save recording to file. More... | |
| class | DynaShellCmdTrain |
| Record dynamixel chain movements. More... | |
| class | DynaShellCmdPlay |
| Record dynamixel chain movements. More... | |
Functions | |
| static bool_t | waitkey (int nMSec) |
| Block, waiting for either timeout or user keyboard press. More... | |
| static bool_t | waitkey (double fSec) |
| Block, waiting for either timeout or user keyboard press. More... | |
| void | PublishShellTrainCommands (DynaShell &shell) |
| Publish shell servo commands to shell. More... | |
Dynamixel shell record and playback functions.
Definition in file dynashell_cmd_train.cxx.
| 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().
|
static |
Block, waiting for either timeout or user keyboard press.
No characters are read.
| nMSec | Wait period (ms) |
Definition at line 102 of file dynashell_cmd_train.cxx.
Referenced by DynaShellCmdPlay::Play(), and DynaShellCmdTrain::RecordTraining().
|
static |
Block, waiting for either timeout or user keyboard press.
No characters are read.
| fSec | Wait period (seconds) |
Definition at line 135 of file dynashell_cmd_train.cxx.