robot_fingers.py_two_joint module¶
- class robot_fingers.py_two_joint.TwoJointConfig¶
Bases:
pybind11_object
- class CalibrationParameters¶
Bases:
pybind11_object
- property endstop_search_torques_Nm¶
Torque that is used to find the end stop.
- property move_steps¶
Number of time steps for reaching the initial position.
- class TrajectoryStep¶
Bases:
pybind11_object
- property move_steps¶
Number of time steps for reaching the target position.
- property target_position_rad¶
Target position to which the joints should move.
- property calibration¶
Parameters related to calibration.
- property can_ports¶
List of CAN port names used by the robot.
- property hard_position_limits_lower¶
Hard lower limits for joint positions.
- property hard_position_limits_upper¶
Hard upper limits for joint positions.
- property has_endstop¶
Whether the joints have physical end stops or not.
- property home_offset_rad¶
Offset between home and zero position.
- property initial_position_rad¶
Initial position to which the robot moves during initialisation.
- is_within_hard_position_limits(self: robot_fingers.py_two_joint.TwoJointConfig, position: numpy.ndarray[numpy.float64[2, 1]]) bool ¶
is_within_hard_position_limits(position: list) -> bool
Check if the given position is within the hard limits.
- Parameters:
position – Joint positions.
- Returns:
True if hard_position_limits_lower <= position <= hard_position_limits_upper.
- static load_config(config_file_name: str) robot_fingers.py_two_joint.TwoJointConfig ¶
load_config(config_file_name: str) -> Config
Load driver configuration from a YAML file.
- Parameters:
config_file_name – Path to the config file.
- Returns:
The configuration loaded from the given file.
- property max_current_A¶
Maximum current that can be sent to the motor [A].
- property move_to_position_tolerance_rad¶
Tolerance for reaching the target with NJointBlmcRobotDriver::move_to_position()
- property position_control_gains¶
Default control gains for the position controller.
- print(self: robot_fingers.py_two_joint.TwoJointConfig) None ¶
print()
Print the configuration.
- property safety_kd¶
D-gain to dampen velocity. Set to zero to disable damping.
- property shutdown_trajectory¶
Trajectory which is executed during shutdown.
- property soft_position_limits_lower¶
Soft lower limits for joint positions.
- property soft_position_limits_upper¶
Soft upper limits for joint positions.
- robot_fingers.py_two_joint.create_two_joint_backend(*args, **kwargs)¶
Overloaded function.
create_two_joint_backend(robot_data: robot_interfaces.py_two_joint_types.BaseData, config: robot_fingers::NJointBlmcRobotDriver<robot_interfaces::NJointObservation<2ul>, 2ul, 1ul>::Config, first_action_timeout: float = inf, max_number_of_actions: int = 0) -> robot_interfaces.py_two_joint_types.Backend
create_two_joint_backend(robot_data: robot_interfaces.py_two_joint_types.BaseData, config_file: str, first_action_timeout: float = inf, max_number_of_actions: int = 0) -> robot_interfaces.py_two_joint_types.Backend