ROS2FollowerAdapter
Use this on the robot machine.JointRanges
required
How far each joint can move. See JointRanges.
callable
required
Called with each command, as
{joint: position} in your topic’s units. Send
it to your robot from here.ROS2LeaderAdapter
Use this on the operator machine. It takes the sameranges and latest, but
no sink.
JointRanges
How far each joint can move on this machine’s arm, in your topic’s units.Example
A follower node. The subscription stores the robot’s position inlatest, and
the adapter sends commands through send.
Export ZERORUNTIME_AUTH_TOKEN and ZERORUNTIME_MEETING_ID first, or pass
meeting_id= and token= to the adapter.
follower_node.py
start() joins the room, and the timer calls tick() to run the control loop.
What’s next
Follower
All the arguments the follower takes.
ROS 2 bridge
The ready-made bridge built on these classes.