Franka robot has 7 hinge joints and 1 tendon which connects two slide joints (endeffectors).
You can control the franka robot through data variable which is instance of mujoco.MjData. The franka robot joints can be instructed by setting data.ctrl parameters. For instance, the franka robot has 8 controllable parts (7 joints and a tendon), so you can set data.ctrl parameters as follows.
import mujoco
model = mujoco.MjModel.from_xml_path("franka_emika_panda/scene.xml")
data = mujoco.MjData(model)
data.ctrl = [0, 0, 0, -1.57079, 0, 1.57079, -0.7853, 255]
The value of data.ctrl means joint or dendon positions. So you can see the robot joints and a tendon are set to be the parameters, a few steps after you set them.
left: X+ from front to back: Y+ up: Z+
Range (endeffector) X: -0.75 ~ 0.75 Y: -0.75 ~ 0.75 Z: 0.06 ~ 1.18
# docker build -t adwaver4157/mujoco .
docker pull adwaver4157/mujoco
./RUN-DOCKER.sh username
./RUN-DOCKER.sh username ssh
vnc
python franka_test.py
python make_franka_dataset.py --file-name franka_10k.pkl
python train_inverse.py --data-path dataset/franka_10k.pkl