My Work Time line: Difference between revisions

From Intelligent Materials and Systems Lab

No edit summary
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:IMS-robotics]]
Welcome to my Activity Log!!!
Welcome to my Activity Log!!!
My Research topic is " Co-operative mappingg by using a swarm of sensors". The first target to achieve is to build up knowledge about using Ubuntu and ROS kinetics.
My Research topic is " Co-operative mappingg by using a swarm of sensors". The first target to achieve is to build up knowledge about using Ubuntu and ROS kinetics.
== '''Repeat Shavery work''' ==


== '''Installation''' ==
== '''Mapping with a  Hokuyo''' ==
Ubuntu seems new to me as i always worked on window versions of operating systems. So for me task 1 was to install Ubuntu and make myself familiar to its working.
== '''TF''' ==
When i started Ubuntu installation, i had to face problem because my system was not ready to accept different operating system. It started screaming out loud to warn me but i keep going. After 3 failures i became successful in Ubuntu installation over the cost of data in my hard drive.
<big>Writing a TF  broadcaster follow this tutorial<br /></big>
http://wiki.ros.org/tf/Tutorials/Writing%20a%20tf%20broadcaster%20%28C%2B%2B%29<br />
=='''For navigation stack'''==
https://github.com/ut-ims-robotics/tutorials/wiki/Navigation-stack<br />


[[https://www.ubuntu.com/ Ubuntu Official Website]]
=='''Recording and playing bag file'''==
 
For this purpose Lidar scan was used and following steps were performed. <br />
== Installing ROS ==
# roscore<br />
Next task was to install ROS kinetics.
#  '''hokuyo_node was run rosrun but lidar was connected''' rosrun hokuyo_node hokuyo_node <br />
Installing ROS Kinetics was not difficult after watching few tutorials on you tube.
# '''rviz run by using this command''' rosrun rviz rviz<br />
 
# '''laser''' was selected in fixed frame option menu in Display<br />
== '''Learning ROS'''==
# '''laser scan''' was added from '''add''' option<br />
Use ROS Tutorials<br />
# Recording was started by using this command  rosbag record LaserScanner /scan
# For playing this bag file performed 6 steps again and use this command    rosbag play "2017-07-31-14-46-07".bag<br />


=='''For Lidar'''==
<big>first run roscore<br />
then hokuyo_node<br />
after it tf function<br />
for tf function<br /></big>
rosrun tf static_transform_publisher 0.0 0.0 0.0 0.0 0.0 0.0 map my_frame 100<br />
http://answers.ros.org/question/195962/rviz-fixed-frame-world-does-not-exist/
Then run rviz<br />
rosrun rviz rviz<br />
=='''Working with Lidar'''==
<big>Read this tutorial</big><br />
http://wiki.ros.org/hokuyo_node/Tutorials/UsingTheHokuyoNode
=='''Interfacing 3D Camera'''==
http://wiki.ros.org/realsense_camera<br />
https://01.org/developerjourney/recipe/intel-realsense-robotic-development-kit<br />
== '''How to add a new Package in workspace''' '''(27-06-2017)''' ==
Insert non-formatted text here
$ cd catkin_ws // go in workspace
$ cd src //go in source directory
$ git clone https://github.com/ros-drivers/usb_cam.git  // download package
/catkin_ws$ catkin_make //go in workspace and run catkin_make
$ source devel/setup.bash  // run it
$roslaunch usb_cam usb_cam-test.launch // to launch package<br />
== '''Creating a Package''' ==
== '''Creating a Package''' ==
To create a Package follow these steps<br />
To create a Package follow these steps<br />
Line 23: Line 52:
  $ catkin_make
  $ catkin_make
  $ source ./devel/setup.bash
  $ source ./devel/setup.bash
== '''Learning ROS'''==
Use ROS Tutorials<br />
== '''Installation of ROS''' ==
Next task was to install ROS kinetics.
Installing ROS Kinetics was not difficult after watching few tutorials on you tube.


== '''How to add a new Package in workspace''' '''(27-06-2017)''' ==
== '''Installation''' ==
Insert non-formatted text here
Ubuntu seems new to me as i always worked on window versions of operating systems. So for me task 1 was to install Ubuntu and make myself familiar to its working.
$ cd catkin_ws // go in workspace
When i started Ubuntu installation, i had to face problem because my system was not ready to accept different operating system. It started screaming out loud to warn me but i keep going. After 3 failures i became successful in Ubuntu installation over the cost of data in my hard drive.
$ cd src //go in source directory
$ git clone https://github.com/ros-drivers/usb_cam.git  // download package
/catkin_ws$ catkin_make //go in workspace and run catkin_make
$ source devel/setup.bash  // run it
$roslaunch usb_cam usb_cam-test.launch // to launch package<br />


=='''Interfacing 3D Camera'''==
[[https://www.ubuntu.com/ Ubuntu Official Website]]
http://wiki.ros.org/realsense_camera<br />
https://01.org/developerjourney/recipe/intel-realsense-robotic-development-kit<br />
 
=='''Working with Lidar'''==
<big>Read this tutoria</big>l<br />
http://wiki.ros.org/hokuyo_node/Tutorials/UsingTheHokuyoNode
 
=='''For Lidar'''==
first run roscore<br />
then hokuyo_node<br />
after it tf function<br />
for tf function<br />
rosrun tf static_transform_publisher 0.0 0.0 0.0 0.0 0.0 0.0 map my_frame 100
http://answers.ros.org/question/195962/rviz-fixed-frame-world-does-not-exist/
Then run rviz<br />
rosrun rviz rviz<br />
 
=='''For navigation stack'''==
https://github.com/ut-ims-robotics/tutorials/wiki/Navigation-stack<br />
 
=='''Recording and playing bag file'''==
For this purpose Lidar scan was used and following steps were performed. <br />
# roscore<br />
#  '''hokuyo_node was run rosrun but lidar was connected''' rosrun hokuyo_node hokuyo_node <br />
# '''rviz run by using this command''' rosrun rviz rviz<br />
# '''laser''' was selected in fixed frame option menu in Display<br />
# '''laser scan''' was added from '''add''' option<br />
# Recording was started by using this command  rosbag record LaserScanner /scan
# For playing this bag file performed 6 steps again and use this command    rosbag play "2017-07-31-14-46-07".bag<br />
== '''TF''' ==
<big>Writing a TF  broadcaster follow this tutorial<br /></big>
http://wiki.ros.org/tf/Tutorials/Writing%20a%20tf%20broadcaster%20%28C%2B%2B%29<br />

Latest revision as of 16:54, 26 January 2018

Welcome to my Activity Log!!! My Research topic is " Co-operative mappingg by using a swarm of sensors". The first target to achieve is to build up knowledge about using Ubuntu and ROS kinetics.

Repeat Shavery work

Mapping with a Hokuyo

TF

Writing a TF broadcaster follow this tutorial
http://wiki.ros.org/tf/Tutorials/Writing%20a%20tf%20broadcaster%20%28C%2B%2B%29

For navigation stack

https://github.com/ut-ims-robotics/tutorials/wiki/Navigation-stack

Recording and playing bag file

For this purpose Lidar scan was used and following steps were performed.

  1. roscore
  2. hokuyo_node was run rosrun but lidar was connected rosrun hokuyo_node hokuyo_node
  3. rviz run by using this command rosrun rviz rviz
  4. laser was selected in fixed frame option menu in Display
  5. laser scan was added from add option
  6. Recording was started by using this command rosbag record LaserScanner /scan
  7. For playing this bag file performed 6 steps again and use this command rosbag play "2017-07-31-14-46-07".bag

For Lidar

first run roscore
then hokuyo_node
after it tf function
for tf function
rosrun tf static_transform_publisher 0.0 0.0 0.0 0.0 0.0 0.0 map my_frame 100

http://answers.ros.org/question/195962/rviz-fixed-frame-world-does-not-exist/

Then run rviz
rosrun rviz rviz

Working with Lidar

Read this tutorial
http://wiki.ros.org/hokuyo_node/Tutorials/UsingTheHokuyoNode

Interfacing 3D Camera

http://wiki.ros.org/realsense_camera
https://01.org/developerjourney/recipe/intel-realsense-robotic-development-kit

How to add a new Package in workspace (27-06-2017)

Insert non-formatted text here

$ cd catkin_ws // go in workspace
$ cd src //go in source directory
$ git clone https://github.com/ros-drivers/usb_cam.git  // download package
/catkin_ws$ catkin_make //go in workspace and run catkin_make
$ source devel/setup.bash   // run it
$roslaunch usb_cam usb_cam-test.launch // to launch package

Creating a Package

To create a Package follow these steps

  1. Go to your workspace, in our case it is catkin_ws and src directory by using this command cd %YOUR_CATKIN_WORKSPACE_HOME%/src
  2. Then use this command catkin_create_pkg Package name tf roscpp rospy turtlesim
  3. Build your new package before you can roscd
$ cd %YOUR_CATKIN_WORKSPACE_HOME%/
$ catkin_make
$ source ./devel/setup.bash

Learning ROS

Use ROS Tutorials

Installation of ROS

Next task was to install ROS kinetics. Installing ROS Kinetics was not difficult after watching few tutorials on you tube.

Installation

Ubuntu seems new to me as i always worked on window versions of operating systems. So for me task 1 was to install Ubuntu and make myself familiar to its working. When i started Ubuntu installation, i had to face problem because my system was not ready to accept different operating system. It started screaming out loud to warn me but i keep going. After 3 failures i became successful in Ubuntu installation over the cost of data in my hard drive.

[Ubuntu Official Website]