Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:pycram:setup [2022/02/01 15:34] – jdech | tutorials:pycram:setup [2022/02/01 15:57] (current) – [PyCRAM on Ubuntu 20.04 (ROS Noetic)] jdech | ||
---|---|---|---|
Line 12: | Line 12: | ||
===== Installing ROS ===== | ===== Installing ROS ===== | ||
PyCRAM uses ROS for a variety of functionality, | PyCRAM uses ROS for a variety of functionality, | ||
- | For information on how to install ROS please referee to the offical | + | For information on how to install ROS please referee to the official |
+ | |||
+ | ===== Installing Dependencies ===== | ||
+ | The dependencies you will need are: | ||
+ | * Pip | ||
+ | * vcstool | ||
+ | These are available via the Ubuntu apt-repos and can be installed via the terminal: | ||
+ | <code bash> | ||
+ | sudo apt-get install python3-pip python3-vcstool | ||
+ | </ | ||
===== PyCRAM on Ubuntu 20.04 (ROS Noetic) ===== | ===== PyCRAM on Ubuntu 20.04 (ROS Noetic) ===== | ||
- | To get PyCRAM | + | Before installing |
< | < | ||
+ | mkdir -p ~/ | ||
+ | cd workspace/ | ||
+ | catkin_make | ||
+ | source devel/ | ||
+ | </ | ||
+ | |||
+ | If '' | ||
+ | <code bash> | ||
+ | source / | ||
+ | </ | ||
+ | Now you can install PyCRAM into your ROS workspace. | ||
+ | |||
+ | <code bash> | ||
cd <Path to your ROS workspace> | cd <Path to your ROS workspace> | ||
cd src/ | cd src/ | ||
- | git clone https://github.com/ | + | vcs import --input |
- | cd pycram/ | + | </ |
+ | |||
+ | The cloning and setting up can take several minutes. After the command finishes you should see a number of repositories in your ROS workspace. | ||
+ | |||
+ | Now the last thing that needs to be done is clone the submodules of the PyCRAM repo, this is done via the following commands: | ||
+ | <code bash> | ||
+ | cd pycram | ||
git submodule init | git submodule init | ||
git submodule update | git submodule update | ||
Line 49: | Line 77: | ||
You can build your ROS workspace with the following commands: | You can build your ROS workspace with the following commands: | ||
- | < | + | < |
cd <Path to your ROS workspace> | cd <Path to your ROS workspace> | ||
catkin_make | catkin_make |