iCub-main
Loading...
Searching...
No Matches
Macros | Functions | Variables
main.cpp File Reference
#include <yarp/os/Network.h>
#include <yarp/os/Port.h>
#include <yarp/os/Bottle.h>
#include <yarp/os/Time.h>
#include <yarp/os/Vocab.h>
#include <yarp/dev/ControlBoardInterfaces.h>
#include <yarp/dev/PolyDriver.h>
#include <yarp/os/LogStream.h>
#include <yarp/os/Log.h>
#include <string>
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Macros

#define VOCAB_HELP   yarp::os::createVocab32('h','e','l','p')
 
#define VOCAB_QUIT   yarp::os::createVocab32('q','u','i','t')
 
#define VOCAB_ICONTROLMODE_DEBUG   yarp::os::createVocab32('i','c','d','d')
 

Functions

void handleTorqueMsg (ITorqueControl *itq, IPidControl *ipid, const yarp::os::Bottle &cmd, yarp::os::Bottle &response, bool *rec, bool *ok)
 
void handleImpedanceMsg (IImpedanceControl *iimp, const yarp::os::Bottle &cmd, yarp::os::Bottle &response, bool *rec, bool *ok)
 
void handleControlModeMsg (IControlMode *icm, const yarp::os::Bottle &cmd, yarp::os::Bottle &response, bool *rec, bool *ok)
 
void handleControlModeMsg_DEBUG (IControlMode *icm, const yarp::os::Bottle &cmd, yarp::os::Bottle &response, bool *rec, bool *ok)
 
void handleInteractionModeMsg (IInteractionMode *_iInteract, const yarp::os::Bottle &cmd, yarp::os::Bottle &response, bool *rec, bool *ok)
 
int main (int argc, char *argv[])
 

Variables

int jnts = 0
 

Macro Definition Documentation

◆ VOCAB_HELP

#define VOCAB_HELP   yarp::os::createVocab32('h','e','l','p')

Definition at line 49 of file main.cpp.

◆ VOCAB_ICONTROLMODE_DEBUG

#define VOCAB_ICONTROLMODE_DEBUG   yarp::os::createVocab32('i','c','d','d')

Definition at line 51 of file main.cpp.

◆ VOCAB_QUIT

#define VOCAB_QUIT   yarp::os::createVocab32('q','u','i','t')

Definition at line 50 of file main.cpp.

Function Documentation

◆ handleControlModeMsg()

void handleControlModeMsg ( IControlMode *  icm,
const yarp::os::Bottle &  cmd,
yarp::os::Bottle &  response,
bool *  rec,
bool *  ok 
)

Definition at line 1512 of file main.cpp.

◆ handleControlModeMsg_DEBUG()

void handleControlModeMsg_DEBUG ( IControlMode *  icm,
const yarp::os::Bottle &  cmd,
yarp::os::Bottle &  response,
bool *  rec,
bool *  ok 
)

Definition at line 1459 of file main.cpp.

◆ handleImpedanceMsg()

void handleImpedanceMsg ( IImpedanceControl *  iimp,
const yarp::os::Bottle &  cmd,
yarp::os::Bottle &  response,
bool *  rec,
bool *  ok 
)

Definition at line 1383 of file main.cpp.

◆ handleInteractionModeMsg()

void handleInteractionModeMsg ( IInteractionMode *  _iInteract,
const yarp::os::Bottle &  cmd,
yarp::os::Bottle &  response,
bool *  rec,
bool *  ok 
)

Definition at line 1603 of file main.cpp.

◆ handleTorqueMsg()

void handleTorqueMsg ( ITorqueControl *  itq,
IPidControl *  ipid,
const yarp::os::Bottle &  cmd,
yarp::os::Bottle &  response,
bool *  rec,
bool *  ok 
)

Definition at line 1053 of file main.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 62 of file main.cpp.

Variable Documentation

◆ jnts

int jnts = 0

Definition at line 60 of file main.cpp.