Skip to content

Commit

Permalink
test:確認
Browse files Browse the repository at this point in the history
  • Loading branch information
kh-23-27 committed Jan 5, 2025
1 parent 094c1b6 commit 9c5982f
Show file tree
Hide file tree
Showing 18 changed files with 12 additions and 1,479 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
- uses: actions/checkout@v2
- name: Setup ROS environment
run: |
apt-get update
apt-get install -y python3-pip
python3 -m pip install --upgrade pip
python3 -m pip install sshkeyboard
#apt-get update
#apt-get install -y python3-pip
#python3 -m pip install --upgrade pip
# python3 -m pip install sshkeyboard
- name: build and test
run: |
rsync -av ./ /root/ros2_ws/src/keyboard_teleop/
Expand Down
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# keyboard_teleop

[![test](https://github.com/kh-23-27/keyboard_teleop/actions/workflows/test.yml/badge.svg)](https://github.com/kh-23-27/keyboard_teleop/actions/workflows/test.yml)
## 概要
このパッケージは対象物をキーボード操作するROS2のパッケージです.
このパッケージはリモートで対象物をキーボード操作するROS2のパッケージです.

## ノード
- keyboard_teleop
Expand All @@ -13,8 +13,6 @@
### セットアップ
- ROS 2インストール
ROS 2は各自でインストールしてください.
- sshkeyboardのインストール
$ pip install sshkeyboard
## 実行例
- 端末1
以下のコマンドを実行します.
Expand All @@ -25,18 +23,14 @@ $ ros2 run keyboard_teleop keyborad_teleop
```
---------------------------
Moving around:
q e
w
a d
s
z c
q w e
a d
z s c
j: Increase x, y speed
k: Decrease x, y speed
l: Reset x, y speed to 0.5
j: Increase speed
k: Decrease speed
l: Reset speed to 0.5
---------------------------
```
wを押すと前進、sを押すと後退、aを押すと左に、dを押すと右に動きます.
Expand Down
1 change: 0 additions & 1 deletion keyboard_teleop/build/.built_by

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion keyboard_teleop/install/.colcon_install_layout

This file was deleted.

Empty file.
Loading

0 comments on commit 9c5982f

Please sign in to comment.