Embedded Motion Control/Tutorials: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
#** 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/Installing and configuring your ROS environment | Installing and configuring ROS ]] | # [[ Embedded Motion Control/Tutorials/Installing and configuring your ROS environment | Installing and configuring ROS ]] | ||
# [[ 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/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''': | ||
#* If you can choose between ''rosbuild'' and ''catkin'', select '''rosbuild''' | #* If you can choose between ''rosbuild'' and ''catkin'', select '''rosbuild''' |
Revision as of 15:16, 24 April 2014
- Introduction
- Installing Ubuntu
- Customizing Ubuntu
- Do the following (ROS-independent) C++ tutorials:
- cplusplus.com: up to and including Name visibility
- MIT's Introduction to C++: up to and including Classes
- Remarks:
- For now, use a simple editor such as gedit. We will install a more advanced editor (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
- 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
- Setting up an IDE
- Setting up the PICO simulator
- Creating your first PICO-related ROS package