Dynamical Systems and Controllers used in hitting experiments
- numpy
- scipy
- pybullet
- qpsolvers, osqp
- pclick (only for AGX sim)
- roboticstoolbox-python (only for AGX sim)
Run pip install -r requirements.txt
Run simulation with python3 simulation_flux_hit.py
Currently getting inertia matrix from Pybullet
- Clone the urdf-application in branch fix/model-structure
git clone -b fix/model-structure git@git.algoryx.se:algoryx/external/i-am/urdf-application.git
- Follow the docker installation steps here https://git.algoryx.se/algoryx/external/i-am/urdf-application#installing-docker
- Log in to the docker registry with the credentials you have to login in gitlab
sudo docker login registry.algoryx.se
- Navigate to the Project folder
cd urdf-application/PythonApplication/models/Projects
- Clone the repo containing the custom AGX scene
git clone https://github.com/Elise-J/iam_sim_agx.git
- Navigate to the PythonApplication folder of the urdf-application
cd urdf-application/PythonApplication
- Launch AGX simulation
sudo python3 ../run-in-docker.py python3 click_application.py --model models/Projects/i_am_project/Scenes/IiwaPybullet.yml --timeStep 0.005 --agxOnly --rcs --portRange 5656 5658 --disableClickSync
- The simulation can be seen at
http://localhost:5656/
- In another terminal, navigate to the root of this repo (hitting_sim)
- Run the controller
python3 simulation_agx.py