few corrections

This commit is contained in:
Brian Delhaisse
2019-08-24 03:43:39 +02:00
parent 8c2516d169
commit b1cfa487dc
9 changed files with 78 additions and 18 deletions
@@ -22,6 +22,7 @@ robot = prl.robots.RRBot(sim)
robot.disable_motor() # disable motors; comment the `robot.set_joint_torques(torques)` to see what happens
robot.print_info()
robot.change_transparency()
world.load_robot(robot)
# define variables
link_id = robot.get_link_ids('hokuyo_link') # the link we are interested to
@@ -22,6 +22,7 @@ robot = prl.robots.RRBot(sim)
robot.disable_motor() # disable motors; comment the `robot.set_joint_torques(torques)` to see what happens
robot.print_info()
robot.change_transparency()
world.load_robot(robot)
# run simulator
+1
View File
@@ -22,6 +22,7 @@ robot = prl.robots.RRBot(sim)
robot.disable_motor() # disable motors
robot.print_info()
robot.change_transparency()
world.load_robot(robot)
# run simulator