Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OSXではじめるROSプログラミング

 OSXではじめるROSプログラミング

10/4に開催された第7回ROS勉強会 https://ros-users.doorkeeper.jp/events/30434 の発表資料です。ROS人口を拡大するため、今回はOSXでのROSの動かし方を紹介しました。

Yutaka Kondo

October 04, 2015
Tweet

More Decks by Yutaka Kondo

Other Decks in Programming

Transcript

  1. 6CVOUV 304*OEJHP •  Πϯετʔϧํ๏ $  sudo sh -c 'echo "deb

    http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list’ $  wget http://packages.ros.org/ros.key -O - | sudo apt-key add - $  sudo apt-get update $  sudo apt-get install ros-indigo-desktop-full $  sudo rosdep init $  rosdep update $  source /opt/ros/indigo/setup.bash  ৄ͘͠͸IUUQXJLJSPTPSHKBJOEJHP*OTUBMMBUJPO6CVOUV
  2. 049:PTFNJUF 304*OEJHP •  Πϯετʔϧํ๏   )PNFCSFXͷηοτΞοϓ   1ZUIPOύοέʔδͷΠϯετʔϧ   ιʔείʔυͷμ΢ϯϩʔυ

      ґଘϥΠϒϥϦͷΠϯετʔϧ   ιʔείʔυͷίϯύΠϧ   ৄ͘͠͸IUUQXJLJSPTPSHJOEJHP*OTUBMMBUJPO049)PNFCSFX4PVSDF
  3. )PNFCSFXͷηοτΞοϓ $  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/ Homebrew/install/master/install)” $  brew

    update $  brew install cmake $  brew tap ros/deps $  brew tap osrf/simulation $  brew tap homebrew/versions $  brew tap homebrew/science 
  4. 1ZUIPOύοέʔδͷΠϯετʔϧ $  export PATH=/usr/local/bin:$PATH $  export PYTHONPATH=/usr/local/lib/python2.7/site- packages:$PYTHONPATH $  sudo

    easy_install pip $  sudo -H pip install -U wstool rosdep rosinstall rosinstall_generator rospkg catkin-pkg Distribute sphinx 
  5. ιʔείʔυͷμ΢ϯϩʔυ $  sudo rosdep init $  rosdep update $  mkdir

    -p ~/ros/indigo $  cd ~/ros/indigo $  rosinstall_generator desktop_full --rosdistro indigo -- deps --wet-only --tar > indigo-desktop-full- wet.rosinstall $  wstool init -j8 src indigo-desktop-full-wet.rosinstall