An open API service indexing awesome lists of open source software.

https://github.com/nate711/pupperv3-testing


https://github.com/nate711/pupperv3-testing

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

        

# Prereqs
Install mujoco v2.2.2

Change hard-coded paths in
``src/pupper_mujoco/lib/basic_sim_node.cpp``. I would make these relative if I knew how...

# Simulation
```
colcon build
source install/local_setup.bash
ros2 run pupper_mujoco basic_sim_node_test
```

In another terminal
```
source install/local_setup.bash
ros2 run mock_controller mock_pub
```

# Write custom controller
Write a node that publishes
``JointCommand`` messages. Which for reference looks like
```
std_msgs/Header header

string[] name
float64[] kp
float64[] kd
float64[] position_target
float64[] velocity_target
float64[] feedforward_torque
```

# TODO
* Refactor everything to adopt any robot xml. Which means number of actuators can be variable. Allow plugging in a custom actuator model.
* Make the sim publish at a rate connected to sim time