0 like 0 dislike
1 view
in Robotik by anonymous Bilge (165k points)
ros kurulumu

3 Answers

0 like 0 dislike
by anonymous Bilge (165k points)

1-
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

2-

sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

3- // farklı sürümse kinetic yerine onu yazın

sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full 

4- init ros

sudo rosdep init
rosdep update

5- Enviorment setup

echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
source /opt/ros/kinetic/setup.bash
echo "source /opt/ros/kinetic/setup.zsh" >> ~/.zshrc
source ~/.zshrc

6- Dependency

sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential

7- Avaliable packages

apt-cache search ros-kinetic

0 like 0 dislike
by anonymous Bilge (165k points)
Catkin için; (ros çalışma ortamıdır)

$ mkdir -p ~/catkin_ws/src

$ cd ~/catkin_ws/

$ catkin_make

$source devel/setup.bash

$ echo $ROS_PACKAGE_PATH /home/youruser/catkin_ws/src:/opt/ros/kinetic/share
0 like 0 dislike
by anonymous Bilge (165k points)
source /opt/ros/kinetic/setup.bash
source devel/setup.bash
roslaunch gazebo_ros empty_world.launch
...