- ソースのインストール
$ cd ~/catkin_ws/src
$ git clone https://github.com/ros-teleop/teleop_tools
Cloning into 'teleop_tools'...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 1168 (delta 2), reused 7 (delta 1), pack-reused 1154
Receiving objects: 100% (1168/1168), 184.95 KiB | 914.00 KiB/s, done.
Resolving deltas: 100% (735/735), done.
- ビルド
$ cd ~/catkin_ws
$ catkin_make
Base path: /home/ubuntu/catkin_ws
Source space: /home/ubuntu/catkin_ws/src
Build space: /home/ubuntu/catkin_ws/build
Devel space: /home/ubuntu/catkin_ws/devel
Install space: /home/ubuntu/catkin_ws/install
Multiple packages found with the same name "key_teleop":
- gopigo3/key_teleop
- teleop_tools/key_teleop
$ source devel/setup.bash
テスト
$ rosrun key_teleop key_teleop.py /key_vel:=/cmd_vel
|