![]()  | 
  
    libfranka 0.16.1
    
   FCI C++ API 
   | 
 
Documented in ActiveControlBase. More...
#include <active_control.h>


Public Member Functions | |
| std::pair< RobotState, Duration > | readOnce () override | 
| Waits for a robot state update and returns it.   | |
| void | writeOnce (const Torques &) override | 
| Updates torque commands of an active control.   | |
| void | writeOnce (const JointPositions &, const std::optional< const Torques > &) override | 
| Updates the joint position and torque commands of an active control.   | |
| void | writeOnce (const JointVelocities &, const std::optional< const Torques > &) override | 
| Updates the joint velocity and torque commands of an active control.   | |
| void | writeOnce (const CartesianPose &, const std::optional< const Torques > &) override | 
| Updates the cartesian position and torque commands of an active control.   | |
| void | writeOnce (const CartesianVelocities &, const std::optional< const Torques > &) override | 
| Updates the cartesian velocity and torque commands of an active control.   | |
| void | writeOnce (const JointPositions &motion_generator_input) override | 
| Updates the joint position commands of an active control, with internal controller.   | |
| void | writeOnce (const JointVelocities &motion_generator_input) override | 
| Updates the joint velocity commands of an active control, with internal controller.   | |
| void | writeOnce (const CartesianPose &motion_generator_input) override | 
| Updates the cartesian pose commands of an active control, with internal controller.   | |
| void | writeOnce (const CartesianVelocities &motion_generator_input) override | 
| Updates the cartesian velocity commands of an active control, with internal controller.   | |
Protected Member Functions | |
| ActiveControl (std::shared_ptr< Robot::Impl > robot_impl, uint32_t motion_id, std::unique_lock< std::mutex > control_lock) | |
| Construct a new ActiveControl object.   | |
Protected Attributes | |
| std::shared_ptr< Robot::Impl > | robot_impl | 
| shared pointer to Robot::Impl instance for read and write accesses  | |
| uint32_t | motion_id | 
| motion id of running motion  | |
| std::unique_lock< std::mutex > | control_lock | 
| control-lock preventing parallel control processes  | |
| bool | control_finished | 
| flag indicating if control process is finished  | |
| std::optional< Duration > | last_read_access | 
| duration to last read access  | |
Documented in ActiveControlBase.
      
  | 
  protected | 
Construct a new ActiveControl object.
      
  | 
  overridevirtual | 
Waits for a robot state update and returns it.
| NetworkException | if the connection is lost, e.g. after a timeout. | 
| ProtocolException | if robot returns an unexpected message. | 
| ControlException | if robot is in an error state. | 
Implements franka::ActiveControlBase.
      
  | 
  inlineoverridevirtual | 
Updates the cartesian position and torque commands of an active control.
hint: implemented in ActiveMotionGenerator<CartesianPose>
Implements franka::ActiveControlBase.
      
  | 
  inlineoverridevirtual | 
Updates the cartesian pose commands of an active control, with internal controller.
| motion_generator_input | the new motion generator input | 
Implements franka::ActiveControlBase.
      
  | 
  inlineoverridevirtual | 
Updates the cartesian velocity and torque commands of an active control.
hint: implemented in ActiveMotionGenerator<CartesianVelocities>
Implements franka::ActiveControlBase.
      
  | 
  inlineoverridevirtual | 
Updates the cartesian velocity commands of an active control, with internal controller.
| motion_generator_input | the new motion generator input | 
Implements franka::ActiveControlBase.
      
  | 
  inlineoverridevirtual | 
Updates the joint position and torque commands of an active control.
hint: implemented in ActiveMotionGenerator<JointPositions>
Implements franka::ActiveControlBase.
      
  | 
  inlineoverridevirtual | 
Updates the joint position commands of an active control, with internal controller.
| motion_generator_input | the new motion generator input | 
Implements franka::ActiveControlBase.
      
  | 
  inlineoverridevirtual | 
Updates the joint velocity and torque commands of an active control.
hint: implemented in ActiveMotionGenerator<JointVelocities>
Implements franka::ActiveControlBase.
      
  | 
  inlineoverridevirtual | 
Updates the joint velocity commands of an active control, with internal controller.
| motion_generator_input | the new motion generator input | 
Implements franka::ActiveControlBase.
      
  | 
  inlineoverridevirtual | 
Updates torque commands of an active control.
hint: implemented in ActiveTorqueControl
Implements franka::ActiveControlBase.
Reimplemented in franka::ActiveTorqueControl.