GW連休中に引き続き「RaspberryPiで学ぶROSロボット入門」を進めていきます。
4.4.1章のMake installがうまくいかなかったのですが、Makefileの「install」と「uninstall」の間に空行を入れていなかったからみたいです。
参考情報「Raspberry Piで学ぶ ROSロボット入門」の情報リポジトリ」
6.3章で本の通りのいかないで困ってます。
ubuntu@ubuntu:~/catkin_ws/src/pimouse_ros$ git remote add origin git@github.com:*****/pimouse_ros.git
fatal: remote origin already exists.
このページが参考になりました:fatal: remote origin already exists. と表示された場合の解決法
次はこれに困りました
ubuntu@ubuntu:~/catkin_ws/src/pimouse_ros$ git pull origin master
fatal: Couldn't find remote ref master
これは次のページでfatalが出なくなったので良しとして進めてみます。
「git pull origin masterしたら「fatal: Couldn't find remote ref master」となる」
次はこれに困りました。
ubuntu@ubuntu:~/catkin_ws/src/pimouse_ros$ git commit -m "Add package files"
ブランチ master
nothing to commit, working directory clean
対処法がいまいちわからないので、次のページを参考に6章を最初からやりなおしてみます:ローカルファイル削除、リポジトリ削除
「Git add できない場合の対処法」
【次回】と思ったけど、githubにpushできているので、もう少し続けてみたいと思います