software:ros:installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:ros:installation [2013/04/16 14:30] – [General workflow for compiling ROS stacks] tenorth | software:ros:installation [2016/05/19 09:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 25: | Line 25: | ||
===== Install IAI software components ===== | ===== Install IAI software components ===== | ||
+ | It is recommended to install the ROS stacks for which .deb packages exist first, also because this is the easiest way to get all system dependencies installed: | ||
+ | |||
+ | sudo aptitude install ros-fuerte-knowrob ros-fuerte-ias-common | ||
Copy the following [[http:// | Copy the following [[http:// | ||
Line 32: | Line 35: | ||
- git: {local-name: | - git: {local-name: | ||
- git: {local-name: | - git: {local-name: | ||
- | - svn: {local-name: | + | - git: {local-name: |
- git: {local-name: | - git: {local-name: | ||
- git: {local-name: | - git: {local-name: | ||
Line 43: | Line 46: | ||
rosws update | rosws update | ||
+ | Note: As an alternative to creating and merging a rosinstall file into your workspace you can also manually add each one at a time using the command 'rosws set ...'. Usage of this command is shown in the next section. | ||
+ | |||
+ | To compile the software, please refer to the next section for information about how to install the required ROS and system dependencies. | ||
===== General workflow for compiling ROS stacks ===== | ===== General workflow for compiling ROS stacks ===== | ||
Line 74: | Line 80: | ||
roslocate describe < | roslocate describe < | ||
| | ||
+ | # Let us assume the package pkg_name is in stack stack_name. | ||
+ | |||
# Check if there is a .deb package for the stack. They are called | # Check if there is a .deb package for the stack. They are called | ||
# ros-< | # ros-< | ||
- | # are replaced by hyphens (e.g. pr_apps | + | # are replaced by hyphens (e.g. stack_name |
- | #You can search for this package using | + | # You can search for this package using |
| | ||
- | apt-cache search ros-fuerte-pr2-apps | + | apt-cache search ros-fuerte-stack-name |
| | ||
# and install with | # and install with | ||
| | ||
- | sudo apt-get install ros-fuerte-pr2-apps | + | sudo apt-get install ros-fuerte-stack-name |
+ | |||
+ | # If there is no .deb package, install the stack from source using | ||
| | ||
- | | + | |
| | ||
- | | + | |
+ | Now everything should be resolved and you are ready to compile. The //rosmake// command automatically compiles all dependencies and the package or stack given as argument. If later on you already have compiled all dependencies and just updated the package itself, it's also safe to just call //make// in that package, which does not re-build the dependencies (and is therefore faster). | ||
+ | rosmake your_stack | ||
software/ros/installation.1366122603.txt.gz · Last modified: 2016/05/19 09:18 (external edit)