ROS

Was ist ROS?

ROS heißt laut Wikipedia "Robot Operating System (ROS) ist ein Framework für persönliche Roboter. ..."

Wie verwende ich ROS?

Entwicklungssystem

als root
echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list
apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
apt update
apt install ros-noetic-desktop-full #aktuelle Version
source /opt/ros/noetic/setup.bash

als Benutzer
mkdir -p ~/catkin_wc/src
cd ~/catlin_wc
catkin_make
 

Anwendungssystem (Raspberry Pi 2/3/4)

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu buster main" > /etc/apt/sources.list.d/ros-noetic.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update
sudo apt-get install -y python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential cmake
sudo rosdep init && rosdep update
mkdir ~/ros_catkin_ws && cd ~/ros_catkin_ws
rosinstall_generator ros_comm --rosdistro noetic --deps --wet-only --tar > noetic-ros_comm-wet.rosinstall
wstool init src noetic-ros_comm-wet.rosinstall
rosdep install -y --from-paths src --ignore-src --rosdistro noetic -r --os=debian:buster
sudo src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/noetic -j2 -DPYTHON_EXECUTABLE=/usr/bin/python3

Bei welche Roboter verwenden ich ROS?


Stephan Günther, 1997-2025, letzte Änderung 22.12.2020, Datenschutzerklärung, DisclaimerPowered by GetSimple