#include <robot_layer.h>
Definition at line 129 of file robot_layer.h.
typedef boost::unordered_map< canopen::MotorBase::OperationMode,hardware_interface::JointHandle* > HandleLayer::CommandMap [private] |
Definition at line 147 of file robot_layer.h.
Definition at line 176 of file robot_layer.h.
HandleLayer::HandleLayer | ( | const std::string & | name, |
const boost::shared_ptr< canopen::MotorBase > & | motor, | ||
const boost::shared_ptr< canopen::ObjectStorage > | storage, | ||
XmlRpc::XmlRpcValue & | options | ||
) |
Definition at line 70 of file robot_layer.cpp.
hardware_interface::JointHandle* HandleLayer::addHandle | ( | T & | iface, |
hardware_interface::JointHandle * | jh, | ||
const std::vector< canopen::MotorBase::OperationMode > & | modes | ||
) | [inline, private] |
Definition at line 150 of file robot_layer.h.
static double* HandleLayer::assignVariable | ( | const std::string & | name, |
double * | ptr, | ||
const std::string & | req | ||
) | [inline, static] |
Definition at line 174 of file robot_layer.h.
Definition at line 103 of file robot_layer.cpp.
void HandleLayer::enableLimits | ( | bool | enable | ) |
Definition at line 289 of file robot_layer.cpp.
void HandleLayer::enforceLimits | ( | const ros::Duration & | period, |
bool | reset | ||
) |
Definition at line 282 of file robot_layer.cpp.
bool HandleLayer::forwardForMode | ( | const canopen::MotorBase::OperationMode & | m | ) |
Definition at line 129 of file robot_layer.cpp.
virtual void HandleLayer::handleDiag | ( | canopen::LayerReport & | report | ) | [inline, private, virtual] |
Implements canopen::Layer.
Definition at line 209 of file robot_layer.h.
virtual void HandleLayer::handleHalt | ( | canopen::LayerStatus & | status | ) | [inline, private, virtual] |
Implements canopen::Layer.
Definition at line 211 of file robot_layer.h.
void HandleLayer::handleInit | ( | canopen::LayerStatus & | status | ) | [private, virtual] |
Implements canopen::Layer.
Definition at line 266 of file robot_layer.cpp.
void HandleLayer::handleRead | ( | canopen::LayerStatus & | status, |
const LayerState & | current_state | ||
) | [private, virtual] |
Implements canopen::Layer.
Definition at line 214 of file robot_layer.cpp.
virtual void HandleLayer::handleRecover | ( | canopen::LayerStatus & | status | ) | [inline, private, virtual] |
Implements canopen::Layer.
Definition at line 212 of file robot_layer.h.
virtual void HandleLayer::handleShutdown | ( | canopen::LayerStatus & | status | ) | [inline, private, virtual] |
Implements canopen::Layer.
Definition at line 210 of file robot_layer.h.
void HandleLayer::handleWrite | ( | canopen::LayerStatus & | status, |
const LayerState & | current_state | ||
) | [private, virtual] |
Implements canopen::Layer.
Definition at line 222 of file robot_layer.cpp.
bool HandleLayer::prepareFilters | ( | canopen::LayerStatus & | status | ) |
Definition at line 260 of file robot_layer.cpp.
void HandleLayer::registerHandle | ( | hardware_interface::JointStateInterface & | iface | ) | [inline] |
Definition at line 187 of file robot_layer.h.
hardware_interface::JointHandle * HandleLayer::registerHandle | ( | hardware_interface::PositionJointInterface & | iface, |
const joint_limits_interface::JointLimits & | limits, | ||
const joint_limits_interface::SoftJointLimits * | soft_limits = 0 |
||
) |
Definition at line 175 of file robot_layer.cpp.
hardware_interface::JointHandle * HandleLayer::registerHandle | ( | hardware_interface::VelocityJointInterface & | iface, |
const joint_limits_interface::JointLimits & | limits, | ||
const joint_limits_interface::SoftJointLimits * | soft_limits = 0 |
||
) |
Definition at line 188 of file robot_layer.cpp.
hardware_interface::JointHandle * HandleLayer::registerHandle | ( | hardware_interface::EffortJointInterface & | iface, |
const joint_limits_interface::JointLimits & | limits, | ||
const joint_limits_interface::SoftJointLimits * | soft_limits = 0 |
||
) |
Definition at line 201 of file robot_layer.cpp.
bool HandleLayer::select | ( | const canopen::MotorBase::OperationMode & | m | ) | [private] |
Definition at line 63 of file robot_layer.cpp.
bool HandleLayer::switchMode | ( | const canopen::MotorBase::OperationMode & | m | ) |
Definition at line 115 of file robot_layer.cpp.
double HandleLayer::cmd_eff_ [private] |
Definition at line 133 of file robot_layer.h.
double HandleLayer::cmd_pos_ [private] |
Definition at line 133 of file robot_layer.h.
double HandleLayer::cmd_vel_ [private] |
Definition at line 133 of file robot_layer.h.
CommandMap HandleLayer::commands_ [private] |
Definition at line 148 of file robot_layer.h.
boost::scoped_ptr<UnitConverter> HandleLayer::conv_eff_ [private] |
Definition at line 137 of file robot_layer.h.
boost::scoped_ptr<UnitConverter> HandleLayer::conv_pos_ [private] |
Definition at line 137 of file robot_layer.h.
boost::scoped_ptr<UnitConverter> HandleLayer::conv_target_eff_ [private] |
Definition at line 136 of file robot_layer.h.
boost::scoped_ptr<UnitConverter> HandleLayer::conv_target_pos_ [private] |
Definition at line 136 of file robot_layer.h.
boost::scoped_ptr<UnitConverter> HandleLayer::conv_target_vel_ [private] |
Definition at line 136 of file robot_layer.h.
boost::scoped_ptr<UnitConverter> HandleLayer::conv_vel_ [private] |
Definition at line 137 of file robot_layer.h.
double HandleLayer::eff_ [private] |
Definition at line 131 of file robot_layer.h.
bool HandleLayer::enable_limits_ [private] |
Definition at line 171 of file robot_layer.h.
filters::FilterChain<double> HandleLayer::filter_eff_ [private] |
Definition at line 139 of file robot_layer.h.
filters::FilterChain<double> HandleLayer::filter_pos_ [private] |
Definition at line 139 of file robot_layer.h.
filters::FilterChain<double> HandleLayer::filter_vel_ [private] |
Definition at line 139 of file robot_layer.h.
boost::atomic<bool> HandleLayer::forward_command_ [private] |
Definition at line 145 of file robot_layer.h.
Definition at line 143 of file robot_layer.h.
boost::atomic<hardware_interface::JointHandle*> HandleLayer::jh_ [private] |
Definition at line 144 of file robot_layer.h.
Definition at line 143 of file robot_layer.h.
Definition at line 142 of file robot_layer.h.
Definition at line 143 of file robot_layer.h.
std::vector<LimitsHandleBase::Ptr> HandleLayer::limits_ [private] |
Definition at line 170 of file robot_layer.h.
boost::shared_ptr<canopen::MotorBase> HandleLayer::motor_ [private] |
Definition at line 130 of file robot_layer.h.
XmlRpc::XmlRpcValue HandleLayer::options_ [private] |
Definition at line 140 of file robot_layer.h.
double HandleLayer::pos_ [private] |
Definition at line 131 of file robot_layer.h.
ObjectVariables HandleLayer::variables_ [private] |
Definition at line 135 of file robot_layer.h.
double HandleLayer::vel_ [private] |
Definition at line 131 of file robot_layer.h.