This is a gazebo simulator for the MIRRAX robot. The robot has a number of simulated sensors which can be configured in the mirrax_description package.
This package provides a simple PS4 joystick controller for manual control of the robot.
The setup assumes that you are working in the directory catkin_ws. Modify this reference if it is different.
First, clone the repository to your catkin_ws workspace:
git clone https://github.com/EEEManchester/mirrax_sim.git ~/catkin_ws/src
To install ros dependencies:
cd ~/catkin_ws
rosdep install --from-paths src --ignore-src -r -yThis package should be built with catkin_tools
cd ~/catkin_ws
catkin build
source devel/setup.bashThere are two robot descriptions available. The mirrax_description is the actual MIRRAX robot, while the urax_desciption is a half-sized version of MIRRAX built using off-the-shelf components instead of custom parts for the former. The default launch file is set to the actual robot i.e. mirrax. The Gazebo simulation for either of them can be invoked as follows:
roslaunch mirrax_gazebo empty_world.launch
roslaunch mirrax_gazebo empty_world.launch robot:=uraxTo control the robot using a PS4 joystick, run the following in a new terminal:
roslaunch mirrax_simple_demo joystick.launchThe controller functions are shown below:
To view the robot's motion or sensor in RViZ:
roslaunch mirrax_gazebo rviz.launch