[HINT]: use a compute node for this otherwise you'll be waiting a while
- Follow instructions to get mujoco binaries
- Load anaconda module
module load anaconda3/3.7
- Create anaconda environment.
conda create -n <env-name> python=3.7 anaconda
[HINT]: use a compute node for this otherwise you'll be waiting a while
module load anaconda3/3.7
conda create -n <env-name> python=3.7 anaconda
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import pybullet as pb | |
| import pybullet_data | |
| def read_parameters(dbg_params): | |
| '''Reads values from debug parameters | |
| Parameters | |
| ---------- |
| """ | |
| sudo apt-get install libhidapi-hidraw0 libhidapi-libusb0 | |
| pip3 install --user hid | |
| Notes: | |
| - servos_off will power off the servos | |
| - sending a movement command wakes up unpowered servos | |
| - position readouts are sadly pretty slow, they can take up to 450ms | |
| """ |