You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a folder catkin_ws mkdir catkin_ws && cd catkin_ws
create a src directory mkdir src && cd src
clone the repository in the src git clone https://github.com/aku98/OpenManipulator_with_IntelRealSense_GazeboPlugin.git
go to the catkin_ws repository and build the files cd ~/catkin_ws && catkin_make
How to run
open a terminal and setup the source for the workspace cd ~/catkin_ws/devel && source setup.sh
run the launch file for openmanipulator controller and sepcify value for platform parameter to use in gazebo roslaunch open_manipulator_controller open_manipulator_controller.launch use_platform:=false
in another terminal launch the gazebo simulator with bot and camera
empty world roslaunch open_manipulator_gazebo open_manipulator_gazebo.launch
world with objects roslaunch open_manipulator_gazebo open_manipulator_gazebo_table.launch
start the simulation by clicking the play button at the bottom in gazebo simulator
to operate the openManipulator bot using keyboard
roslaunch open_manipulator_teleop open_manipulator_teleop_keyboard.launch
To monitor the depth data using Rviz
open rviz in another terminal rosrun rviz rviz
set the fixed frame id to color under the global option
subscribe to the depth data by adding DepthCloud Bytopic
To record the depth data in rosbag
create a directory for rosbag file mkdir rosbag_files && cd rosbag_files
After following the steps to launch the siimulator run this command in new terminal rosbag record -a
this will record all the data from all the topics published by ros master
To record the specific topic mention them instead of -a in the above command
all the published topics can be viewed using the command rostopc list