MUJOCO loadMJCF actuator control
-
- Posts: 1
- Joined: Wed Apr 15, 2020 1:43 am
MUJOCO loadMJCF actuator control
The actuators are just the joint rot_2 and rot_3. The slide joints are not actuated. This is causing the snake robot to not move ahead in the simulation. But this does not happen when I use gym environment. Even though the slide joints are not actuated, the robot moves ahead. What changes do I need to do to make it run in pybullet?
I am attaching the XML file.
Thanks !
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: MUJOCO loadMJCF actuator control
Please share a minimal script you use to move your robot. Note that by default, all joints have joint motors with a velocity target of 0.
You may need to disable them:
You may need to disable them:
Code: Select all
for j in range (p.getNumJoints(robot)):
p.setJointMotorControl2(robot,j, p.VELOCITY_CONTROL, force=0)