Skip to content

Commit e0f2632

Browse files
author
Shota Aoki
authored
READMEに通信ポートアクセス権限設定の説明を追加。サンプルの画像を追加。 (#24)
* samples03のREADMEに動画を追加 * トップのREADMEの画像更新 * USB通信ポート設定の説明を追加
1 parent 415cb6c commit e0f2632

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
[上半身人型ロボット**Sciurus17(シューラスセブンティーン)**](https://rt-net.jp/products/sciurus17/)
99
を動かすための、C++ライブラリおよびサンプルプログラムを提供します。
1010

11-
<img src=https://rt-net.github.io/images/crane-x7/CRANE-X7-500x500.png width=400px /><img src=https://rt-net.github.io/images/sciurus17/Sciurus17-500x500.png width=400px />
11+
[<img src=https://rt-net.github.io/images/crane-x7/CRANE-X7-500x500.png width=400px />](https://rt-net.jp/products/crane-x7/)
12+
[<img src=https://rt-net.github.io/images/sciurus17/Sciurus17-500x500.png width=400px />](https://rt-net.jp/products/sciurus17)
13+
14+
[![gravity_compensation](https://rt-net.github.io/images/crane-x7/x7_s17_gravity_compensation.gif)](./samples/samples03/README.md)
1215

1316
## 動作環境
1417

samples/samples01/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ $ ./build_samples.bash
3737

3838
## 通信設定
3939

40+
USB通信ポートのアクセス権限を変更するため次のコマンドを実行します。
41+
42+
```sh
43+
$ sudo chmod 666 /dev/ttyUSB0
44+
```
45+
46+
永続的なアクセス権限を付与する場合は次のコマンドを実行します。
47+
48+
```sh
49+
$ sudo usermod -aG dialout $USER
50+
$ reboot
51+
```
52+
4053
ロボットとの通信遅延を最小にするため次のコマンドを実行します。
4154

4255
```sh

samples/samples03/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
- [ロボットのサーボモータの動かし方について](#ロボットのサーボモータの動かし方について)
66
- [運動学計算で使用するライブラリについて](#運動学計算で使用するライブラリについて)
77
- [解析的に逆運動学を解いて手先を任意の位置・姿勢に移動させる](#解析的に逆運動学を解いて手先を任意の位置姿勢に移動させる)
8+
- [動画](#動画)
89
- [解説](#解説)
910
- [重力補償トルクをサーボモータに入力する](#重力補償トルクをサーボモータに入力する)
11+
- [動画](#動画-1)
1012
- [解説](#解説-1)
1113

1214
## サンプルのビルド
@@ -77,6 +79,10 @@ IKに成功しました
7779
...
7880
```
7981

82+
### 動画
83+
84+
[![](https://img.youtube.com/vi/amp-ql9TS6w/sddefault.jpg)](https://youtu.be/amp-ql9TS6w)
85+
8086
### 解説
8187

8288
解析的に逆運動学を解く関数を使用する場合、
@@ -206,6 +212,10 @@ $ ./x7_gravity_compensation
206212
...
207213
```
208214

215+
### 動画
216+
217+
[![](https://img.youtube.com/vi/H_gSnJDFhqs/sddefault.jpg)](https://youtu.be/H_gSnJDFhqs)
218+
209219
### 解説
210220

211221
重力補償トルクを計算する関数を使用する場合、

0 commit comments

Comments
 (0)