0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Rotrics DexArm をLinux で動かす

Last updated at Posted at 2021-01-29

Rotrics DexArm を入手しました。Ubuntu 20.04 で動かしてみる。
lsusb を使うと

$ lsusb
STMicroelectronics Virtual COM Port

無事に認識できている。

$ ls /dev/serial/by-id/ 
usb-STMicroelectronics_STM32F407ZG_CDC_in_FS_Mode_305C356B3439-if00
$ ls -l /dev/serial/by-id/usb-STMicroelectronics_STM32F407ZG_CDC_in_FS_Mode_305C356B3439-if00 
lrwxrwxrwx 1 root root 13  1月 29 18:30 /dev/serial/by-id/usb-STMicroelectronics_STM32F407ZG_CDC_in_FS_Mode_305C356B3439-if00 -> ../../ttyACM0

下記コマンドを実行するとシリアル通信にも成功。

$ screen /dev/ttyACM0 115200

こちらのリポジトリーのサンプルスクリプトを実行すればロボットは無事動く
https://github.com/Rotrics-Dev/DexArm_API

上記の例だとttyACM0にマウントされているので、パスを/dev/ttyACM0と書き換えること。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?