I am new to LINUX operating system. I am using ROS (Robotic Operating System) where I type few commands in separate terminal windows for doing the setup.
ie Before I run my program, I have to do(each in separate terminal) :-
karthik@Satellite-C640:~$ rosrun nodelet nodelet standalone velodyne_pointcloud/CloudNodelet
karthik@Satellite-C640:~/Desktop/OpenCV$ source setup.bash
karthik@Satellite-C640:~/Desktop/OpenCV$ rosrun pcl_tutorial front_view_bag input:=/velodyne_points
karthik@Satellite-C640:/media/BE8C6D3A8C6CEDF9/Users/KARTHICK/Desktop/project/ros_datas$ rosbag play file2.bag
The above commands are a must before I can actually run my C++ program and it is to be in the above order, issued from the respective directories.
I am using ubuntu12.04. Is it possible to write a program or something (sorry i am not familiar with linux) so that if I run that single program, all the above commands will be properly executed in separate terminals at the respective directories rather than manually executing them each time.
Thanks in advance