Difference between revisions of "Navigating the ROS wiki"

From Lofaro Lab Wiki
Jump to: navigation, search
(Created page with "Installation: See [http://wiki.lofarolabs.com/index.php/Installing_and_configuring_your_ROS_environment this link] *rospack find - find the path to a specified ros folder or...")
 
 
Line 1: Line 1:
 
Installation:
 
Installation:
 
See [http://wiki.lofarolabs.com/index.php/Installing_and_configuring_your_ROS_environment this link]
 
See [http://wiki.lofarolabs.com/index.php/Installing_and_configuring_your_ROS_environment this link]
 +
 +
The following available in [http://wiki.lofarolabs.com/index.php/Navigating_the_ROS_Filesystem Navigating the ROS Filesystem]
  
 
*rospack find - find the path to a specified ros folder or file
 
*rospack find - find the path to a specified ros folder or file
Line 14: Line 16:
 
*rosls - view the files inside a specified ros folder
 
*rosls - view the files inside a specified ros folder
  
All above available in this [http://wiki.lofarolabs.com/index.php/Navigating_the_ROS_Filesystem tutorial]
+
The following available in [http://wiki.lofarolabs.com/index.php/Creating_a_ROS_Package Creating a ROS Package]
  
 
*source devel/setup.bash - source the devel folder
 
*source devel/setup.bash - source the devel folder
Line 20: Line 22:
 
*catkin_create_pkg - create a ros package
 
*catkin_create_pkg - create a ros package
  
All above available in this [http://wiki.lofarolabs.com/index.php/Creating_a_ROS_Package tutorial]
+
The following available in [http://wiki.lofarolabs.com/index.php/Building_a_ROS_Package Building a ROS Package]
  
 
*source /opt/ros/hydro/setup.bash - source the environment
 
*source /opt/ros/hydro/setup.bash - source the environment
Line 26: Line 28:
 
*catkin_make - build the catkin package
 
*catkin_make - build the catkin package
  
All above available in this [http://wiki.lofarolabs.com/index.php/Building_a_ROS_Package tutorial]
+
The following available in [http://wiki.lofarolabs.com/index.php/Understanding_ROS_Nodes Understanding ROS Nodes]
  
 
*sudo apt-get install ros-hydro-ros-tutorials - install turtle simulator
 
*sudo apt-get install ros-hydro-ros-tutorials - install turtle simulator
Line 44: Line 46:
 
*rosnode ping - test to see if specified node is running
 
*rosnode ping - test to see if specified node is running
  
All above available in this [http://wiki.lofarolabs.com/index.php/Understanding_ROS_Nodes tutorial]
+
The following available in [http://wiki.lofarolabs.com/index.php/Understanding_ROS_Topics Understanding ROS Topics]
  
 
*sudo apt-get install ros-hydro-rqt
 
*sudo apt-get install ros-hydro-rqt
 
+
sudo apt-get install ros-hydro-rqt-common-plugins - install rqt-graph
sudo apt-get install ros-hydro-rqt-common-plugins - install rqt-graph
+
  
 
*rostopic echo - view what data is being published to a topic
 
*rostopic echo - view what data is being published to a topic
Line 60: Line 61:
 
*rostopic type - view in-depth information on a topic
 
*rostopic type - view in-depth information on a topic
  
All above available in this [http://wiki.lofarolabs.com/index.php/Understanding_ROS_Topics tutorial]
+
The following available in [http://wiki.lofarolabs.com/index.php/Understanding_ROS_Services_and_Parameters Understanding ROS Service and Parameters]
  
 
*rosservice list - list the services a node can provide
 
*rosservice list - list the services a node can provide
Line 78: Line 79:
 
*rosparam load - load parameters from a file
 
*rosparam load - load parameters from a file
  
All above available in this [http://wiki.lofarolabs.com/index.php/Understanding_ROS_Services_and_Parameters tutorial]
+
The following available in [http://wiki.lofarolabs.com/index.php/Using_rosed_to_Edit_Files_in_ROS Using rosed]
  
 
*rosed - Edit a file within a package
 
*rosed - Edit a file within a package
  
All above available in this [http://wiki.lofarolabs.com/index.php/Using_rosed_to_Edit_Files_in_ROS tutorial]
+
The following available in [http://wiki.lofarolabs.com/index.php/Creating_a_ROS_msg_and_srv Creating a ROS msg and srv]
  
 
*rosmsg show - Tells you if ros sees a message specified
 
*rosmsg show - Tells you if ros sees a message specified
Line 88: Line 89:
 
*roscp - Copy files from one folder to another
 
*roscp - Copy files from one folder to another
  
All above available in this [http://wiki.lofarolabs.com/index.php/Creating_a_ROS_msg_and_srv tutorial]
+
The following available in [http://wiki.lofarolabs.com/index.php/Recording_and_Playing_Back_Data Recording Data]
  
 
*rosbag record - reocrd topics from a node to a bag file
 
*rosbag record - reocrd topics from a node to a bag file
Line 96: Line 97:
 
*rosbag play - Use the information from a bag file to run a node
 
*rosbag play - Use the information from a bag file to run a node
  
All above available in this [http://wiki.lofarolabs.com/index.php/Recording_and_Playing_Back_Data tutorial]
+
The following available in [http://wiki.lofarolabs.com/index.php/Getting_Started_with_roswtf Using roswtf]
  
 
*roswtf - command examines the system to try and find problems
 
*roswtf - command examines the system to try and find problems
 
All above available in this [http://wiki.lofarolabs.com/index.php/Getting_Started_with_roswtf tutorial]
 

Latest revision as of 12:44, 22 October 2014

Installation: See this link

The following available in Navigating the ROS Filesystem

  • rospack find - find the path to a specified ros folder or file
  • roscd - move around folders in ros
  • pwd - see the path to the current working directory
  • echo $ROS_PACKAGE_PATH - see the ros environment path
  • roscd log - see where ros keeps its log files
  • rosls - view the files inside a specified ros folder

The following available in Creating a ROS Package

  • source devel/setup.bash - source the devel folder
  • catkin_create_pkg - create a ros package

The following available in Building a ROS Package

  • source /opt/ros/hydro/setup.bash - source the environment
  • catkin_make - build the catkin package

The following available in Understanding ROS Nodes

  • sudo apt-get install ros-hydro-ros-tutorials - install turtle simulator
  • roscore - run the ros core
  • sudo chown -R <your_username> ~/.ros - change ownership of the root
  • rosnode list - see what nodes are running
  • rosnode info - see information about a specified node
  • rosrun - run a node
  • rosnode cleanup - cleans up the list of nodes
  • rosnode ping - test to see if specified node is running

The following available in Understanding ROS Topics

  • sudo apt-get install ros-hydro-rqt

sudo apt-get install ros-hydro-rqt-common-plugins - install rqt-graph

  • rostopic echo - view what data is being published to a topic
  • rostopic type - return th emessage type of a topic being published
  • rostopic pub - publish data to a topic
  • rostopic hz - see how fast data is being published to a topic
  • rostopic type - view in-depth information on a topic

The following available in Understanding ROS Service and Parameters

  • rosservice list - list the services a node can provide
  • rosservice type - display information on a service
  • rosservice call - use a service from a node
  • rosparam list - list the parameters the node has on the server
  • rosparam set - set parameters on the server
  • rosparam get - get parameters from the server
  • rosparam dump - Dump parameters to a file
  • rosparam load - load parameters from a file

The following available in Using rosed

  • rosed - Edit a file within a package

The following available in Creating a ROS msg and srv

  • rosmsg show - Tells you if ros sees a message specified
  • roscp - Copy files from one folder to another

The following available in Recording Data

  • rosbag record - reocrd topics from a node to a bag file
  • rosbag info - look at information on a bag file
  • rosbag play - Use the information from a bag file to run a node

The following available in Using roswtf

  • roswtf - command examines the system to try and find problems