Embedded Motion Control/Tutorials: Difference between revisions

From Control Systems Technology Group
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 Wordpad). We will install a more advanced editor (IDE - Integrated Development Environment) later.
#** 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

  1. Introduction
  2. Installing Ubuntu
  3. Customizing Ubuntu
  4. Do the following (ROS-independent) C++ tutorials:
    1. cplusplus.com: up to and including Name visibility
    2. 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
  5. Installing and configuring ROS
  6. Navigating the ROS filesystem
  7. Creating a ROS package
  8. Using Subversion to share and manage your project
  9. Building a ROS package
  10. 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
  11. Setting up an IDE
  12. Setting up the PICO simulator