#include <sot/core/parameter-server.hh>
◆ ParameterServer()
dynamicgraph::sot::ParameterServer::ParameterServer |
( |
const std::string & |
name | ) |
|
◆ convertJointNameToJointId()
bool dynamicgraph::sot::ParameterServer::convertJointNameToJointId |
( |
const std::string & |
name, |
|
|
unsigned int & |
id |
|
) |
| |
|
protected |
time to sleep at every iteration (to slow down simulation)
◆ display()
virtual void dynamicgraph::sot::ParameterServer::display |
( |
std::ostream & |
os | ) |
const |
|
virtual |
◆ displayRobotUtil()
void dynamicgraph::sot::ParameterServer::displayRobotUtil |
( |
| ) |
|
◆ init()
void dynamicgraph::sot::ParameterServer::init |
( |
const double & |
dt, |
|
|
const std::string & |
urdfFile, |
|
|
const std::string & |
robotRef |
|
) |
| |
Initialize.
- Parameters
-
dt | control interval |
urdfFile | path to the URDF model of the robot |
◆ isJointInRange()
bool dynamicgraph::sot::ParameterServer::isJointInRange |
( |
unsigned int |
id, |
|
|
double |
q |
|
) |
| |
|
protected |
◆ setFootFrameName()
void dynamicgraph::sot::ParameterServer::setFootFrameName |
( |
const std::string & |
, |
|
|
const std::string & |
|
|
) |
| |
◆ setForceLimitsFromId()
void dynamicgraph::sot::ParameterServer::setForceLimitsFromId |
( |
const double & |
jointId, |
|
|
const dynamicgraph::Vector & |
lq, |
|
|
const dynamicgraph::Vector & |
uq |
|
) |
| |
◆ setForceNameToForceId()
void dynamicgraph::sot::ParameterServer::setForceNameToForceId |
( |
const std::string & |
forceName, |
|
|
const double & |
forceId |
|
) |
| |
◆ setImuJointName()
void dynamicgraph::sot::ParameterServer::setImuJointName |
( |
const std::string & |
| ) |
|
◆ setJointLimitsFromId()
void dynamicgraph::sot::ParameterServer::setJointLimitsFromId |
( |
const double & |
jointId, |
|
|
const double & |
lq, |
|
|
const double & |
uq |
|
) |
| |
◆ setJoints()
void dynamicgraph::sot::ParameterServer::setJoints |
( |
const dynamicgraph::Vector & |
| ) |
|
Set the mapping between urdf and sot.
◆ setNameToId()
void dynamicgraph::sot::ParameterServer::setNameToId |
( |
const std::string & |
jointName, |
|
|
const double & |
jointId |
|
) |
| |
Commands related to joint name and joint id.
◆ setRightFootForceSensorXYZ()
void dynamicgraph::sot::ParameterServer::setRightFootForceSensorXYZ |
( |
const dynamicgraph::Vector & |
| ) |
|
◆ setRightFootSoleXYZ()
void dynamicgraph::sot::ParameterServer::setRightFootSoleXYZ |
( |
const dynamicgraph::Vector & |
| ) |
|
◆ updateJointCtrlModesOutputSignal()
void dynamicgraph::sot::ParameterServer::updateJointCtrlModesOutputSignal |
( |
| ) |
|
|
protected |
◆ m_dt
double dynamicgraph::sot::ParameterServer::m_dt |
|
protected |
true if the entity has been successfully initialized
◆ m_emergency_stop_triggered
bool dynamicgraph::sot::ParameterServer::m_emergency_stop_triggered |
|
protected |
◆ m_initSucceeded
bool dynamicgraph::sot::ParameterServer::m_initSucceeded |
|
protected |
◆ m_is_first_iter
bool dynamicgraph::sot::ParameterServer::m_is_first_iter |
|
protected |
true if an emergency condition as been triggered either by an other entity, or by control limit violation
◆ m_iter
int dynamicgraph::sot::ParameterServer::m_iter |
|
protected |
true at the first iteration, false otherwise
◆ m_robot_util
◆ m_sleep_time
double dynamicgraph::sot::ParameterServer::m_sleep_time |
|
protected |