Skip to main content

So101Follower

Inherits from: FeetechMotorsBus, Arm No class docstring.

Inherited methods

  • From Arm: setNamedPose, removeNamedPose, getNamedPose
  • From Robot: addSensor, getImage, cleanup

init

So101Follower.__init__(port: str = '/dev/ttyACM1')
No docstring provided.
Arguments
port (str)
str
No description provided.

getJointAngles

So101Follower.getJointAngles() -> list[float]
Get the joint angles in radians.
Returns
returns
list[float]

setJointAngles

So101Follower.setJointAngles(angles: list, blocking = True, moving_time = 0.0, accel_time = None)
Set the joint angles in radians.
Arguments
angles (list)
list
required
No description provided.
blocking
No description provided.
moving_time
No description provided.
accel_time
No description provided.

moveToNamedPose

So101Follower.moveToNamedPose(pose_name: str, moving_time = 2.0)
Move the robot to a named pose.
Arguments
pose_name (str)
str
required
No description provided.
moving_time
No description provided.

grasp

So101Follower.grasp()
Close the gripper to grasp an object.

release

So101Follower.release()
Open the gripper to release an object.

stop

So101Follower.stop()
Soft e-stop the robot.

shutdown

So101Follower.shutdown()
Turn off motor torques and disconnect from the robot.

getState

So101Follower.getState() -> dict
Get the state of the robot
Returns
dict
dict
state of the robot

getPosition

So101Follower.getPosition() -> Position | None
Get the position of the robot in the world frame, in meters
Returns
Position
Position | None
position of the robot

getOrientation

So101Follower.getOrientation() -> Orientation | None
Get the orientation of the robot in the world frame
Returns
Orientation
Orientation | None
orientation of the robot

moveByVelocity

So101Follower.moveByVelocity(linear_velocity: Velocity, angular_velocity: Velocity, frame: str = 'body') -> None
Move the robot by a given velocity in m/s. Due to different form factors for robots, there is no guarantee that the robot will exactly move at the given velocity. Hence, it is recommended to use feedback and state data to ensure that the robot is moving as expected. We also recommend referring to the robot specific documentation for more information on how to use this method.
Arguments
linear_velocity (Velocity)
Velocity
required
linear velocity
angular_velocity (Velocity)
Velocity
required
angular velocity
frame (str)
str
frame to move in (body or world)
Returns
returns
None