← back to Oculus Prime Contents

Oculus Prime - Tutorial: Gazebo Simulation

(Preliminary, still under development — tested with ROS Kinetic/Ubuntu 16.04)

Oculus Prime Gazebo urdf model
Gazebo simulator ROS integration for the Oculus Prime robot

Currently available from the oculusprime_ros github in the gazebo_dev branch.

If required, install ROS, git, and setup catkin workspace and install the Oculusprime ROS package following these directions.

Switch to the gazebo_dev branch by entering the following:

$ roscd oculusprime/
$ git pull
$ git checkout gazebo_dev
$ cd ../../
$ catkin_make

Launch Gazebo with Oculus Prime with the following:

$ roslaunch oculusprime oculusprime_gazebo.launch &

You can control the robot with the keyboard with teleop_twist_keyboard:

$ rosrun teleop_twist_keyboard

Try follower mode:

$ roslaunch oculusprime follower_gazebo.launch

Run gmapping using the depth camera with:

$ roslaunch oculusprime gazebo_gmapping.launch 

See here for more info on using gmapping and monitoring progress with rviz.

Once you have a decent map, start up auto-navigation with:

$ roslaunch oculusprime gazebo_nav.launch

Use Rviz to set your current position and set navigation goals:

$ rosrun rviz rviz -d `rospack find oculusprime`/dwa_nav.rviz

If you’re having dependency issues with any of the above try installing the oculusprime_ros prerequisites:

$ sudo apt-get install ros-kinetic-move-base \ 
ros-kinetic-map-server ros-kinetic-amcl \ 
ros-kinetic-dwa-local-planner ros-kinetic-gmapping

NEXT: Updating the Oculus Prime ROS Packages

← back to Oculus Prime Contents

CART 0 items | US$
    Check Order Status
Follow →
instagram twitter facebook youtube
@XaxxonTech Twitter
© 2023 Xaxxon
Products Documentation Downloads Source Code
Warranty & Returns About Us Contact/Support News
instagram twitter facebook youtube