Any code for the DACERI (DAta CEnter Robot Inspector) project in affiliation with Jefferson Lab.
- Download the respective file based on OS and architecture: https://github.com/google-deepmind/mujoco/releases
- Extract the file, and run simulate inside the extracted folder. Mujoco simulator should run
- Clone this repository
- Go into the sim/ directory
- Drag-and-drop any .xml into the simulator
- Clone this repository
- Go into the designs/ directory
- Choose any design you'd like
- Open in any CAD software and export as STL
- Use a program like UltiMaker Cura or Prusa Slicer and slice the STL file into GCODE
- Run on a 3D printer
- Clone this repository
- Go into the scripts/ directory
- Use the provided Dockerfile (Wiki: How to download and install Docker) to automatically setup the correct packages and libraries or use a Linux/MacOS system with Python installed
- Container:
cd ./robot-project docker build -t robot-container . docker run -v `pwd`:/work/robot:Z -v /dev/input:/dev/input:ro --rm -it robot-container:latest
- Host System (Linux/MacOS):
python -m ./.venv source ./.venv/bin/activate pip install -r ./robot-project/libs/requirements.txt
- Container:
- Plug in a controller (OS-dependent; usually Linux works the best)
- Run the RobotController.py file (under the scripts/ subdirectory) with the desired connection type:
- UDP Sockets:
python RobotController.py s [R-Pi IPv4 address]
- Websockets:
python RobotController.py w [R-Pi IPv4 address]
- UDP Sockets:
python RobotController.py u [R-Pi IPv4 address]
- UDP Sockets:
- Press the right joystick to activate the motors
- Start moving the joysticks to move the robot!