iCub-main
Classes | Functions | Variables
CanBusMotionControl.cpp File Reference
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <string>
#include <iostream>
#include <algorithm>
#include <yarp/os/Time.h>
#include <yarp/dev/PolyDriver.h>
#include <ace/config.h>
#include <ace/Log_Msg.h>
#include <yarp/os/LogStream.h>
#include <yarp/os/Log.h>
#include "ThreadTable2.h"
#include "ThreadPool2.h"
#include "CanBusMotionControl.h"
#include "can_string_generic.h"
#include "messages.h"
#include <yarp/dev/ControlBoardInterfacesImpl.h>
#include "canControlConstants.h"
#include "canControlUtils.h"
#include <stdarg.h>
#include <stdio.h>
+ Include dependency graph for CanBusMotionControl.cpp:

Go to the source code of this file.

Classes

struct  BCastElement
 
class  BCastBufferElement
 
class  CanBusResources
 
class  TBR_CanBackDoor
 

Functions

void PRINT_CAN_MESSAGE (const char *str, CanMessage &m)
 
bool NOT_YET_IMPLEMENTED (const char *txt)
 
bool NOT_YET_IMPLEMENTED_WARNING (const char *txt)
 
bool DEPRECATED (const char *txt)
 
bool validate (Bottle &input, Bottle &out, const std::string &key1, const std::string &txt, int size)
 
bool validate_optional (Bottle &input, Bottle &out, const std::string &key1, const std::string &txt, int size)
 
CanBusResourcesRES (void *res)
 

Variables

const int REPORT_PERIOD =6
 general purpose stuff. More...
 
const double BCAST_STATUS_TIMEOUT =6
 
static can_string_generic cstring [CAN_MAX_CARDS]
 
const int PRINT_BUFFER_LENGTH =255
 

Function Documentation

◆ DEPRECATED()

bool DEPRECATED ( const char *  txt)
inline

Definition at line 86 of file CanBusMotionControl.cpp.

◆ NOT_YET_IMPLEMENTED()

bool NOT_YET_IMPLEMENTED ( const char *  txt)
inline

Definition at line 72 of file CanBusMotionControl.cpp.

◆ NOT_YET_IMPLEMENTED_WARNING()

bool NOT_YET_IMPLEMENTED_WARNING ( const char *  txt)
inline

Definition at line 79 of file CanBusMotionControl.cpp.

◆ PRINT_CAN_MESSAGE()

void PRINT_CAN_MESSAGE ( const char *  str,
CanMessage &  m 
)
inline

Definition at line 64 of file CanBusMotionControl.cpp.

◆ RES()

CanBusResources& RES ( void *  res)
inline

Definition at line 442 of file CanBusMotionControl.cpp.

◆ validate()

bool validate ( Bottle &  input,
Bottle &  out,
const std::string &  key1,
const std::string &  txt,
int  size 
)

Definition at line 96 of file CanBusMotionControl.cpp.

◆ validate_optional()

bool validate_optional ( Bottle &  input,
Bottle &  out,
const std::string &  key1,
const std::string &  txt,
int  size 
)

Definition at line 113 of file CanBusMotionControl.cpp.

Variable Documentation

◆ BCAST_STATUS_TIMEOUT

const double BCAST_STATUS_TIMEOUT =6

Definition at line 57 of file CanBusMotionControl.cpp.

◆ cstring

Definition at line 129 of file CanBusMotionControl.cpp.

◆ PRINT_BUFFER_LENGTH

const int PRINT_BUFFER_LENGTH =255

Definition at line 352 of file CanBusMotionControl.cpp.

◆ REPORT_PERIOD

const int REPORT_PERIOD =6

general purpose stuff.

Id
CanBusMotionControl.cpp,v 1.62 2009/07/29 08:37:58 babybot Exp

specific to this device driver. get the message types from the DSP code.

Definition at line 56 of file CanBusMotionControl.cpp.