MPPI (Model Predictive Path-Integral) Controller for a Swerve Drive Robot
CLICK HERE TO EXPAND
-
Prerequisites
-
Clone the project repository.
cd <path to your workspace> git clone https://github.com/MizuhoAOKI/mppi_swerve_drive_ros
-
Run for the first time setup to build the docker image.
cd <path to your workspace>/mppi_swerve_drive_ros make setup_docker
-
Launch the docker container and get into the bash inside.
cd <path to your workspace>/mppi_swerve_drive_ros make run_docker
-
[Inside the docker container] Build the project.
cd ~/mppi_swerve_drive_ros make build
CLICK HERE TO EXPAND
-
Prerequisites
-
Clone the project repository.
cd <path to your workspace> git clone https://github.com/MizuhoAOKI/mppi_swerve_drive_ros
-
Install foundation packages.
cd <path to your workspace>/mppi_swerve_drive_ros sudo make install_deps
-
Initialize rosdep, update it, and install dependencies.
cd <path to your workspace>/mppi_swerve_drive_ros sudo rosdep init rosdep update rosdep update && rosdep install -y --from-paths src --ignore-src --rosdistro noetic
-
Build the project.
cd <path to your workspace>/mppi_swerve_drive_ros make build
Build the project.
cd <path to your workspace>/mppi_swerve_drive_ros
make build
(Optional) Clean the cache before building the project if necessary.
cd <path to your workspace>/mppi_swerve_drive_ros
make clean
cd <path to your workspace>/mppi_swerve_drive_ros
source /opt/ros/noetic/setup.bash && source ./devel/setup.bash
roslaunch launch/gazebo_world.launch gazebo_world_name:=maze
NOTES
gazebo_world_name
options:empty
empty_garden
cylinder_garden
maze
- Default joystick path is
/dev/input/js0
. If you want to change the path, please editmppi_swerve_drive_ros/src/operation/joy_controller/config/joy.yaml
.
Note
planner and controller nodes are under preparation. please wait for the update.