Browse Source

Minimal things

pull/8/head
hello-jesus 1 year ago
committed by GitHub
parent
commit
08124a5b88
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      stretch_body/tutorial_robot_motion.md

+ 5
- 5
stretch_body/tutorial_robot_motion.md View File

@ -11,7 +11,7 @@ robot.startup()
robot.arm.move_by(0.1) robot.arm.move_by(0.1)
robot.push_command() robot.push_command()
time.sleep(2.0) time.sleep(2.0)
robot.stop() robot.stop()
``` ```
@ -26,7 +26,7 @@ robot.startup()
robot.arm.move_to(0.1) robot.arm.move_to(0.1)
robot.push_command() robot.push_command()
time.sleep(2.0) time.sleep(2.0)
robot.stop() robot.stop()
``` ```
@ -121,7 +121,7 @@ robot.arm.wait_until_at_setpoint()
robot.arm.move_to(0.5) robot.arm.move_to(0.5)
robot.push_command() robot.push_command()
robot.arm.wait_until_at_setpoint() robot.arm.wait_until_at_setpoint()
robot.stop() robot.stop()
``` ```
@ -148,7 +148,7 @@ robot.head.move_to('head_pan',deg_to_rad(90.0))
robot.head.move_to('head_tilt',deg_to_rad(45.0)) robot.head.move_to('head_tilt',deg_to_rad(45.0))
time.sleep(3.0) time.sleep(3.0)
robot.stop() robot.stop()
``` ```
@ -177,7 +177,7 @@ a = robot.params['head_pan']['motion']['slow']['accel']
robot.head.move_to('head_pan',deg_to_rad(90.0),v_r=v, a_r=a) robot.head.move_to('head_pan',deg_to_rad(90.0),v_r=v, a_r=a)
time.sleep(3.0) time.sleep(3.0)
robot.stop() robot.stop()
``` ```

Loading…
Cancel
Save