First follow the instructions in Installation.md file.
Install the following:
sudo apt-get install python-wstool python-rosinstall-generator python-catkin-toolsThen, initialize the catkin workspace and clone this repo in catkin workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
catkin init
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
# Clone this repo
cd ~/catkin_ws/src
git clone https://github.com/vstark21/interiit21_drdo.git
# Build workspace
cd ~/catkin_ws
catkin buildAnd make all the files in scripts directory executable (replace filename with different filenames)
cd ~/catkin_ws/src/interiit21_drdo/scripts
sudo chmod +x filename.py Now remove gimbal_small_2d/ directory
cd ~/.gazebo/models
rm -r gimbal_small_2dTo run different worlds,
roscd interiit21_drdo
./world1.sh # or ./world2.sh or ./world3.shOctomap output
/rtabmap/octomap_full ## contains octomap with color
/rtabmap/octomap_binary ## contains octomap with only binary valueOdometry
/mavros/local_position/odom ## Accurate but is slow at 5 Hz
/rtabmap/odom ## Faster method to achive odometryControlling with setpoint
/setpoint_array ## pass a array of Poses with time stampThis topic will be active after launching nav.py and custom message is used
$ rosmsg info interiit21_drdo/Setpoints
std_msgs/Header header
uint32 seq
time stamp
string frame_id
geometry_msgs/Pose[] setpoints
geometry_msgs/Point position
float64 x
float64 y
float64 z
geometry_msgs/Quaternion orientation
float64 x
float64 y
float64 z
float64 w