Embedded Motion Control/Tutorials: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
# [[ Embedded Motion Control/Tutorials/Navigating the ROS filesystem | Navigating the ROS filesystem ]] | # [[ Embedded Motion Control/Tutorials/Navigating the ROS filesystem | Navigating the ROS filesystem ]] | ||
# [[ Embedded Motion Control/Tutorials/Creating a ROS package | Creating a ROS package ]] | # [[ Embedded Motion Control/Tutorials/Creating a ROS package | Creating a ROS package ]] | ||
# [[ Embedded Motion Control/Tutorials/Using Subversion to share and manage your project | Using Subversion to share and manage your project ]] | |||
# [[ Embedded Motion Control/Tutorials/Building a ROS package | Building a ROS package ]] | # [[ Embedded Motion Control/Tutorials/Building a ROS package | Building a ROS package ]] | ||
# On the [http://wiki.ros.org/ROS/Tutorials ROS tutorials page], do tutorials 5 ([http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes Understanding ROS Nodes]) to 17 ([http://wiki.ros.org/ROS/Tutorials/Recording%20and%20playing%20back%20data Recording and playing back data]), but '''keep this in mind''': | # On the [http://wiki.ros.org/ROS/Tutorials ROS tutorials page], do tutorials 5 ([http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes Understanding ROS Nodes]) to 17 ([http://wiki.ros.org/ROS/Tutorials/Recording%20and%20playing%20back%20data Recording and playing back data]), but '''keep this in mind''': | ||
Line 18: | Line 19: | ||
#** For now, use a simple editor such as ''gedit''. We will install an IDE (Integrated Development Environment) later. | #** For now, use a simple editor such as ''gedit''. We will install an IDE (Integrated Development Environment) later. | ||
#** Once you have saved your C++ program (e.g. as ''example.cpp''), it can be compiled from a terminal using:<pre>g++ example.cpp -o example</pre>and run with<pre>./example</pre> | #** Once you have saved your C++ program (e.g. as ''example.cpp''), it can be compiled from a terminal using:<pre>g++ example.cpp -o example</pre>and run with<pre>./example</pre> | ||
# [[ Embedded Motion Control/Tutorials/Setting up an IDE | Setting up an IDE ]] | |||
# [[ Embedded Motion Control/Tutorials/Setting up the PICO simulator | Setting up the PICO simulator ]] | |||
<!-- | <!-- | ||
Learn about ROS concepts on the ROS tutorial page. Start [http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes here] and continue up until the tutorial '''Using RosEd''' | Learn about ROS concepts on the ROS tutorial page. Start [http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes here] and continue up until the tutorial '''Using RosEd''' | ||
Line 32: | Line 36: | ||
# [[ Embedded Motion Control/Tutorials/Recording and playing back data | Recording and playing back data ]] | # [[ Embedded Motion Control/Tutorials/Recording and playing back data | Recording and playing back data ]] | ||
--> | --> | ||
Revision as of 09:47, 24 April 2014
- System Overview (todo)
- Installing Ubuntu (todo)
- Customizing Ubuntu (todo)
- Installing and configuring ROS
- Navigating the ROS filesystem
- Creating a ROS package
- Using Subversion to share and manage your project
- Building a ROS package
- On the ROS tutorials page, do tutorials 5 (Understanding ROS Nodes) to 17 (Recording and playing back data), but keep this in mind:
- If you can choose between rosbuild and catkin, select rosbuild
- If you can choose between C++ and Python, select C++
- Whenever the tutorial refers to the beginners_tutorial ROS package, use the name of the package you created above instead (that is, beginners_tutorial_<YOUR_NAME>). Of course, you can use TAB completion when possible.
- The path to your ROS package differs from the path in the ROS tutorials
- Do the following (ROS-independent) C++ tutorials:
- cplusplus.com: up until Name visibility
- MIT's Introduction to C++: up until Classes
- Remarks:
- For now, use a simple editor such as gedit. We will install an IDE (Integrated Development Environment) later.
- Once you have saved your C++ program (e.g. as example.cpp), it can be compiled from a terminal using:
g++ example.cpp -o example
and run with./example
- Setting up an IDE
- Setting up the PICO simulator