Embedded Motion Control/Tutorials: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
## [http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/ MIT's Introduction to C++]: up to and including '''Classes''' | ## [http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-096-introduction-to-c-january-iap-2011/lecture-notes/ MIT's Introduction to C++]: up to and including '''Classes''' | ||
#* Remarks: | #* Remarks: | ||
#** For now, use a simple editor such as ''gedit'' (the ubuntu version of | #** For now, use a simple editor such as ''gedit'' (the ubuntu version of Notepad). 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:<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 ]] |
Revision as of 11:31, 28 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 (the ubuntu version of Notepad). 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