Design a User-defined robot of your choice (or you can use the URDF file) and enable the LIDAR Scanner so that any obstacle placed on the path of the light scan will cut the light rays. Visualize the robot in the Gazebo workspace, and also show the demonstration in RViz. (NB: Gain knowledge on wiring URDF file and .launch file for enabling any user-defined robot to get launched in the gazebo platform.) SLAM : One of the most popular applications of ROS is SLAM(Simultaneous Localization and Mapping). The objective of the SLAM in mobile robotics is to construct and update the map of an unexplored environment with the help of the available sensors attached to the robot which will be used for exploring. URDF: Unified Robotics Description Format, URDF, is an XML specification used in academia and industry to model multibody systems such as robotic manipulator arms for manufacturing assembly lines and animatronic robots for amusement parks. URDF is especially popular with users of the Robo
Step 1: Install all the necessary packages
$] sudo yum update
$] sudo yum install tcl tk gcc-c++ libX11-devel libXt-devel libXmu-devel
Step 2: unzip the software ns-xx.tar.gz
$] tar zxvf ns-allinone-2.35.tar.gz
$] cd ns-allinone-2.35/
Open the file
$] gedit ns-2.35/linkstate/ls.hin line number 137 change erase to this->erase as shown above.....
Save the file and give this command
$] ./install This will install all the packages as you see in the video. This process may be take upto 5 minutes.
Once installation is over now....
Setting the PATH
The following line is pasted in the PATH variable as shown in the video
$] gedit /home/pradeepkumar/.bash_profile
:/home/pradeepkumar/ns-allinone-2.35/bin:/home/pradeepkumar/ns-allinone-2.35/tcl8.5.10/unix:/home/pradeepkumar/ns-allinone-2.35/tk8.5.10/unixOnce the PATH is set, source the .bash_profile file as the new PATH will be reflected within the current terminal.
the command is
$] source /home/pradeepkumar/.bash_profile
now try
$ ns
$ nam
$ xgraphto see whether the software is working or not.
T S Pradeep Kumar
Comments
Post a Comment