22 #ifndef SCHUNKPOWERBALLNODE_H 23 #define SCHUNKPOWERBALLNODE_H 28 namespace canopen_schunk {
110 const int16_t interpolation_type = 0,
111 const uint8_t size_of_data_record = 4);
124 #endif // SCHUNKPOWERBALLNODE_H
bool CommutationCalibrated()
Checks if the device is already correctly commutated by checking the value of the relevant register e...
virtual void initNode()
Initializes the node and sets the Schunk Default PDO mapping.
void commutationSearch()
Performs a commutation search for a Schunk powerball module.
boost::shared_ptr< SchunkPowerBallNode > Ptr
Shared pointer to a SchunkPowerBallNode.
This class gives a device specific interface for Schunk Powerballs, as they need some "special" treat...
virtual void configureInterpolationData(const uint8_t buffer_organization=0, const int16_t interpolation_type=0, const uint8_t size_of_data_record=4)
Additionally to the basis implementation this sets a number of cycles that are allowed to be missed b...
SchunkPowerBallNode(const uint8_t node_id, const icl_hardware::canopen_schunk::CanDevPtr &can_device, HeartBeatMonitor::Ptr heartbeat_monitor)
virtual void setDefaultPDOMapping(const DS402Node::eDefaultPDOMapping mapping)
Choose one of the predefined default mappings. Please see the enum eDefaultPDOMapping for a list of a...
virtual void configureHomingMethod(const uint8_t homing_method)
Set the device's homing method for a Schunk PowerBall.
boost::shared_ptr< const SchunkPowerBallNode > ConstPtr
Shared pointer to a const SchunkPowerBallNode.
virtual void configureHomingSpeeds(const uint32_t low_speed, const uint32_t high_speed=0)
Set the speeds for homing for a Schunk PowerBall.
Class that holds devices according to the DS402 (drives and motion control) specification.
static const double RAD_TO_STEPS_FACTOR
This factor will be used to convert RAD numbers into encoder ticks.