Dynamixel  2.9.5
RoadNarrows Robotics Dynamixel Package
dynashell_cmd_if.cxx File Reference

The Dynamixel Shell Interface Derived Commands. More...

#include <sys/time.h>
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <ctype.h>
#include <cstring>
#include <iostream>
#include <fstream>
#include <string>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "Dynamixel/Dynamixel.h"
#include "Dynamixel/DynaComm.h"
#include "Dynamixel/DynaCommSerial.h"
#include "Dynamixel/DynaServo.h"
#include "Dynamixel/DynaChain.h"
#include "Dynamixel/DynaBgThread.h"
#include "dynashell.h"
#include "dynashell_cmd.h"
#include "dynashell_util.h"

Go to the source code of this file.

Classes

class  DynaShellCmdCreate
 Create command. More...
 
class  DynaShellCmdDestroy
 Destroy command. More...
 
class  DynaShellCmdScan
 Scan command. More...
 
class  DynaShellCmdPing
 Ping command. More...
 
class  DynaShellCmdList
 List command. More...
 
class  DynaShellCmdLink
 Link <master_id> <slaf_id> <dir> command. More...
 
class  DynaShellCmdUnlink
 List command. More...
 
class  DynaShellCmdMegaScan
 MegaScan command. More...
 
class  DynaShellCmdBgtStart
 Start the background thread. More...
 
class  DynaShellCmdBgtStop
 Start the background thread. More...
 
class  DynaShellCmdBgtGetState
 Start the background thread. More...
 
class  DynaShellCmdSetHalfDuplexCtl
 Set halfduplex control command. More...
 

Functions

void PublishShellInterfaceCommands (DynaShell &shell)
 Publish shell dynamixel interface commands to shell. More...
 

Detailed Description

The Dynamixel Shell Interface Derived Commands.

LastChangedDate
2015-07-04 11:47:16 -0600 (Sat, 04 Jul 2015)
Rev
4023
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)

Definition in file dynashell_cmd_if.cxx.

Function Documentation

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().

1468 {
1469  shell.PublishCommand(NULL, new DynaShellCmdCreate());
1470  shell.PublishCommand(NULL, new DynaShellCmdDestroy());
1471  shell.PublishCommand(NULL, new DynaShellCmdScan());
1472  shell.PublishCommand(NULL, new DynaShellCmdPing());
1473  shell.PublishCommand(NULL, new DynaShellCmdList());
1474  shell.PublishCommand(NULL, new DynaShellCmdLink());
1475  shell.PublishCommand(NULL, new DynaShellCmdUnlink());
1476  shell.PublishCommand(NULL, new DynaShellCmdMegaScan());
1477  shell.PublishCommand("bg", new DynaShellCmdBgtStart());
1478  shell.PublishCommand("bg", new DynaShellCmdBgtStop());
1479  shell.PublishCommand("bg", new DynaShellCmdBgtGetState());
1480  shell.PublishCommand("set", new DynaShellCmdSetHalfDuplexCtl());
1481 }
Destroy command.
Start the background thread.
Create command.
MegaScan command.
Start the background thread.
Set halfduplex control command.
Start the background thread.
void PublishCommand(const char *sParent, DynaShellCmd *pNewCmd)
Publish new command to shell.
Definition: dynashell.cxx:192