cobotta のpython
どうでもいいことですが,cobotta のpython って,3系列ではなく2系列なんですね.
cobotta@cobotta-desktop:~/wataru$ python3 wataru.py
File "wataru.py", line 61
except rospy.ServiceException, e:
^
SyntaxError: invalid syntax
cobotta@cobotta-desktop:~/wataru$ python wataru.py
[ INFO] [1578881640.217492178]: Loading robot model 'cobotta'...
[ INFO] [1578881640.218210220]: No root/virtual joint specified in SRDF. Assuming fixed joint
...
cobotta@cobotta-desktop:~/wataru$ python --version
Python 2.7.12
python3 を指定するとエラーが出ました.
python のみで起動すると動いています.
Python のみの場合,2.7.12 を使っています….
コメントを残す