mirror of
https://github.com/wassname/pyrobolearn.git
synced 2026-09-09 11:31:38 +08:00
update/refactor states: add window and ticks
This commit is contained in:
@@ -39,7 +39,7 @@ robot = world.load_robot(KukaIIWA)
|
||||
print("Robot's actuated joint ids: {}".format(robot.joints))
|
||||
|
||||
# create state/action
|
||||
state = ExponentialPhaseState(rate=rate)
|
||||
state = ExponentialPhaseState(ticks=rate)
|
||||
action = JointPositionAction(robot, joint_ids=joint_ids)
|
||||
print("State: {}".format(state))
|
||||
print("Action: {}".format(action))
|
||||
|
||||
Reference in New Issue
Block a user