-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
For recent versions of V-REP, i had to modify the child script in MyRobot.ttt to:
`
-- Initialization.
if (sim_call_type == sim.syscb_init) then
-- Reset target velocities (which may have been modified at a previous session).
front_left_wheel_joint = sim.getObjectHandle('front_left_wheel_joint')
back_left_wheel_joint = sim.getObjectHandle('back_left_wheel_joint')
back_right_wheel_joint = sim.getObjectHandle('back_right_wheel_joint')
front_right_wheel_joint = sim.getObjectHandle('front_right_wheel_joint')
sim.setJointTargetVelocity(front_left_wheel_joint, 0)
sim.setJointTargetVelocity(back_left_wheel_joint, 0)
sim.setJointTargetVelocity(back_right_wheel_joint, 0)
sim.setJointTargetVelocity(front_right_wheel_joint, 0)
end
`
Metadata
Metadata
Assignees
Labels
No labels