Public Member Functions | Public Attributes | Private Member Functions | List of all members
dynamixel_controllers.joint_controller.JointController Class Reference
Inheritance diagram for dynamixel_controllers.joint_controller.JointController:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, dxl_io, controller_namespace, port_namespace)
 
def initialize (self)
 
def process_command (self, msg)
 
def process_motor_states (self, state_list)
 
def process_set_compliance_margin (self, req)
 
def process_set_compliance_punch (self, req)
 
def process_set_compliance_slope (self, req)
 
def process_set_speed (self, req)
 
def process_set_torque_limit (self, req)
 
def process_torque_enable (self, req)
 
def rad_to_raw (self, angle, initial_position_raw, flipped, encoder_ticks_per_radian)
 
def raw_to_rad (self, raw, initial_position_raw, flipped, radians_per_encoder_tick)
 
def set_compliance_margin (self, margin)
 
def set_compliance_punch (self, punch)
 
def set_compliance_slope (self, slope)
 
def set_speed (self, speed)
 
def set_torque_enable (self, torque_enable)
 
def set_torque_limit (self, max_torque)
 
def start (self)
 
def stop (self)
 

Public Attributes

 command_sub
 
 compliance_margin
 
 compliance_marigin_service
 
 compliance_punch
 
 compliance_punch_service
 
 compliance_slope
 
 compliance_slope_service
 
 controller_namespace
 
 dxl_io
 
 joint_name
 
 joint_speed
 
 joint_state_pub
 
 motor_states_sub
 
 port_namespace
 
 running
 
 speed_service
 
 torque_limit
 
 torque_limit_service
 
 torque_service
 

Private Member Functions

def __ensure_limits (self)
 

Detailed Description

Definition at line 61 of file joint_controller.py.

Constructor & Destructor Documentation

def dynamixel_controllers.joint_controller.JointController.__init__ (   self,
  dxl_io,
  controller_namespace,
  port_namespace 
)

Definition at line 62 of file joint_controller.py.

Member Function Documentation

def dynamixel_controllers.joint_controller.JointController.__ensure_limits (   self)
private

Definition at line 83 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.initialize (   self)

Definition at line 103 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.process_command (   self,
  msg 
)

Definition at line 166 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.process_motor_states (   self,
  state_list 
)

Definition at line 163 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.process_set_compliance_margin (   self,
  req 
)

Definition at line 151 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.process_set_compliance_punch (   self,
  req 
)

Definition at line 155 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.process_set_compliance_slope (   self,
  req 
)

Definition at line 147 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.process_set_speed (   self,
  req 
)

Definition at line 139 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.process_set_torque_limit (   self,
  req 
)

Definition at line 159 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.process_torque_enable (   self,
  req 
)

Definition at line 143 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.rad_to_raw (   self,
  angle,
  initial_position_raw,
  flipped,
  encoder_ticks_per_radian 
)
angle is in radians 

Definition at line 169 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.raw_to_rad (   self,
  raw,
  initial_position_raw,
  flipped,
  radians_per_encoder_tick 
)

Definition at line 176 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.set_compliance_margin (   self,
  margin 
)

Definition at line 130 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.set_compliance_punch (   self,
  punch 
)

Definition at line 133 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.set_compliance_slope (   self,
  slope 
)

Definition at line 127 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.set_speed (   self,
  speed 
)

Definition at line 124 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.set_torque_enable (   self,
  torque_enable 
)

Definition at line 121 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.set_torque_limit (   self,
  max_torque 
)

Definition at line 136 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.start (   self)

Definition at line 106 of file joint_controller.py.

def dynamixel_controllers.joint_controller.JointController.stop (   self)

Definition at line 112 of file joint_controller.py.

Member Data Documentation

dynamixel_controllers.joint_controller.JointController.command_sub

Definition at line 109 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.compliance_margin

Definition at line 70 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.compliance_marigin_service

Definition at line 79 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.compliance_punch

Definition at line 71 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.compliance_punch_service

Definition at line 80 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.compliance_slope

Definition at line 69 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.compliance_slope_service

Definition at line 78 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.controller_namespace

Definition at line 65 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.dxl_io

Definition at line 64 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.joint_name

Definition at line 67 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.joint_speed

Definition at line 68 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.joint_state_pub

Definition at line 108 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.motor_states_sub

Definition at line 110 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.port_namespace

Definition at line 66 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.running

Definition at line 63 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.speed_service

Definition at line 76 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.torque_limit

Definition at line 72 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.torque_limit_service

Definition at line 81 of file joint_controller.py.

dynamixel_controllers.joint_controller.JointController.torque_service

Definition at line 77 of file joint_controller.py.


The documentation for this class was generated from the following file:


dynamixel_controllers
Author(s): Antons Rebguns, Cody Jorgensen, Cara Slutter
autogenerated on Tue May 12 2020 03:10:59