sot-torque-control  1.6.5
Collection of dynamic-graph entities aimed at implementing torque control on different robots.
ddp-actuator-solver.cpp File Reference
#include <dynamic-graph/factory.h>
#include <Eigen/Dense>
#include <sot/core/debug.hh>
#include <sot/torque_control/commands-helper.hh>
#include <sot/torque_control/ddp-actuator-solver.hh>
Include dependency graph for ddp-actuator-solver.cpp:

Go to the source code of this file.

Namespaces

 dynamicgraph
 to read text file
 
 dynamicgraph::sot
 
 dynamicgraph::sot::torque_control
 

Macros

#define DBGFILE   "/tmp/debug-ddp_actuator_solver.dat"
 
#define EIGEN_RUNTIME_NO_MALLOC
 
#define ODEBUG(x)
 
#define ODEBUG3(x)   std::cout << x << std::endl
 
#define ODEBUG4(x)
 
#define ODEBUG4FULL(x)
 
#define ODEBUG5(x)
 
#define ODEBUG5FULL(x)
 
#define RESETDEBUG4()
 
#define RESETDEBUG5()
 

Functions

 DEFINE_SIGNAL_OUT_FUNCTION (tau, dynamicgraph::Vector)
 
 DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (DdpActuatorSolver, "DdpActuatorSolver")
 

Macro Definition Documentation

◆ DBGFILE

#define DBGFILE   "/tmp/debug-ddp_actuator_solver.dat"

Definition at line 21 of file ddp-actuator-solver.cpp.

◆ EIGEN_RUNTIME_NO_MALLOC

#define EIGEN_RUNTIME_NO_MALLOC

Definition at line 5 of file ddp-actuator-solver.cpp.

◆ ODEBUG

#define ODEBUG (   x)

Definition at line 17 of file ddp-actuator-solver.cpp.

◆ ODEBUG3

#define ODEBUG3 (   x)    std::cout << x << std::endl

Definition at line 19 of file ddp-actuator-solver.cpp.

◆ ODEBUG4

#define ODEBUG4 (   x)

Definition at line 47 of file ddp-actuator-solver.cpp.

◆ ODEBUG4FULL

#define ODEBUG4FULL (   x)

Definition at line 46 of file ddp-actuator-solver.cpp.

◆ ODEBUG5

#define ODEBUG5 (   x)
Value:
{ \
std::ofstream DebugFile; \
DebugFile.open(DBGFILE, std::ofstream::app); \
DebugFile << x << std::endl; \
DebugFile.close(); \
}

Definition at line 37 of file ddp-actuator-solver.cpp.

◆ ODEBUG5FULL

#define ODEBUG5FULL (   x)
Value:
{ \
std::ofstream DebugFile; \
DebugFile.open(DBGFILE, std::ofstream::app); \
DebugFile << __FILE__ << ":" << __FUNCTION__ << "(#" << __LINE__ \
<< "):" << x << std::endl; \
DebugFile.close(); \
}

Definition at line 29 of file ddp-actuator-solver.cpp.

◆ RESETDEBUG4

#define RESETDEBUG4 ( )

Definition at line 45 of file ddp-actuator-solver.cpp.

◆ RESETDEBUG5

#define RESETDEBUG5 ( )
Value:
{ \
std::ofstream DebugFile; \
DebugFile.open(DBGFILE, std::ofstream::out); \
DebugFile.close(); \
}

Definition at line 23 of file ddp-actuator-solver.cpp.

DBGFILE
#define DBGFILE
Definition: ddp-actuator-solver.cpp:21