-
-
# 実装概要
ボタン制御用API(hub/button)を実装する.
# 実装内容
- ボタン状態取得関数(必須)
- ボタン状態型の`button_t`の定義(任意)
- ボタンハンドラ(任意)
## ボタン状態取得関数
```c
pbio_error_t hub_button_is_pressed(pbio_button_flags_t *pressed);
```
…
-
`/prototypes/single-robot/` に目次を掲載する?
https://github.com/toppers/hakoniwa/blob/web/content/prototypes/single-robot.md#%E5%B0%8E%E5%85%A5%E6%96%B9%E6%B3%95
のところに下記をいれるとか.
```
- [導入方法(TOP)]({{< re…
-
これは、問題ではないかもしれませんが、
SPIKE側のプログラムを実行して、”ET”と表示されてから、
およそ、1分55秒〜58秒程度で、動きが止まるのですが、
これは、競技ルール上の2分の成約条件によるものでしょうか?
例えば、SPIKE側のプログラムを実行して、”ET”と表示されてから、
30秒後に、EV3RT側のプログラムを実行すると、動作可能時間は
2分ー30秒=1分3…
-
tslp_tsk()に設定した時間に比べて、
早い時間で、スリープ時間が終わってしまうと思います。
単純に、モーターを30秒回すプログラムなのですが、
18秒程度で、モーターが止まってしまいます。
また、SPIKE側のプログラムを起動し直さないと、
動く時間が短くなっていきます。
[sample_00_spike.zip](https://github.com/ytoi/ev3…
-
```
int i=100;
float x=100.0f,y;
y=i;
printf("%d %f %f\n",i,x,y);
```
の出力を行うと
`100 0.000000 0.000000`
と表示され、正しくない
-
## 完了条件
- 必要なタスクの分析
- 空のタスクを実装
## 実現方法
- タスクの実装方法について調査する
- タスク設計を実現できていることを示す動作テストを行う
## 関連資料(省略可)
https://qiita.com/yamanekko/items/7ddb6029820d3cfbd583
https://qiita.com/koushiro/items/…
-
### 現在の構成
```
root@DESKTOP-O413EOM:~/workspace# pwd
/root/workspace
root@DESKTOP-O413EOM:~/workspace# ls ..
athrill athrill-target-v850e2m ev3rt-athrill-v850e2m tools
athrill-device …
-
`hrp3/sdk/workspace`には`workspace`シンボリックリンクを貼り、実機への転送は`ev3`コマンドで便利になった。
でも、`ev3rt-athrill-v850e2m/sdk/workspace/`に生成されるasp/*.aspは完全に放置プレイで、いちいち掘るのが面倒
`ev3`コマンドと使用感を合わせて、`sim cp`とか`sim ls`とか作ってはどうか。
-
お世話になります。
「プロトタイプモデル・単体ロボット向け ARM版」を次の環境で構築を試みています。
・VMWare Player 15 + Ubuntu 20.04-2
・single-robot-HackEV(v2.0):ARM版
ホームページ「[単体ロボット向け](https://toppers.github.io/hakoniwa/prototypes/single-ro…