I tried using Rotrics Dex Arm

I had a chance to touch Rotrics DexArm at work, so I made a note. It's full of amateurs, so I'd be happy if you could point it out m (_ _) m

First of all, I tried to download Rotrics Studio to my Mac and use it, but it doesn't recognize the main unit connected via USB. Maybe you need VCP drivers? I tried to install it, but I couldn't enable it either and gave up (a problem with my MacBook Pro). There seems to be no Linux version of Studio yet. SDK seems to be still under development and nothing ...

It can be moved from the attached controller, so you can play for the time being, but this is a free and expensive radio control model.

So, the strategy is to change the route a little and pour GCode through serial communication. This time, I prepared Raspberry Pi as a Linux machine. Connect the included USB cord and use the lsusb command to see that the device is recognized!

STMicroelectronics Virtual COM Port

--Reference: USB for Linux

You can connect as follows with the Screen command.

screen /dev/ttyACM0 115200

Since there is no echo back, it is a little difficult to use (is there a setting method ??).

Python's serial module is useful for working together.

import serial
s = serial.Serial("/dev/ttyACM0",115200)
#Arm in initial position
s.write(b'M1111\n')
#Setting the operating speed(Is 8000 the maximum? ??)
s.write(b'G0 F 8000\n')
#Move the arm to the specified coordinates
s.write(b'G0 X150 Y0 Z100\n')
s.write(b'G0 X0 Y300 Z0\n')
s.write(b'G0 X0 Y-300 Z0\n')

Occasionally, it stops in the middle of the operation, and I put a wait until the end of the script to deceive it. Perhaps it should be executed sequentially while waiting for a response from the DexArm side? I feel like it.

It's a very attractive product, but I thought it would be nice if a library that could be controlled more easily came out.

Recommended Posts

I tried using Rotrics Dex Arm # 2
I tried using Rotrics Dex Arm
I tried using parameterized
I tried using argparse
I tried using mimesis
I tried using anytree
I tried using aiomysql
I tried using Summpy
I tried using coturn
I tried using Pipenv
I tried using matplotlib
I tried using "Anvil".
I tried using Hubot
I tried using ESPCN
I tried using openpyxl
I tried using Ipython
I tried using PyCaret
I tried using cron
I tried using ngrok
I tried using face_recognition
I tried using Jupyter
I tried using PyCaret
I tried using Heapq
I tried using doctest
I tried using folium
I tried using jinja2
I tried using folium
I tried using time-window
[I tried using Pythonista 3] Introduction
I tried using easydict (memo).
I tried face recognition using Face ++
I tried using BigQuery ML
I tried using Amazon Glacier
I tried using git inspector
[Python] I tried using OpenPose
I tried using magenta / TensorFlow
I tried using AWS Chalice
I tried using Slack emojinator
I tried using GrabCut of OpenCV
I tried using Thonny (Python / IDE)
I tried server-client communication using tmux
I tried reinforcement learning using PyBrain
I tried deep learning using Theano
Somehow I tried using jupyter notebook
[Kaggle] I tried undersampling using imbalanced-learn
I tried shooting Kamehameha using OpenPose
I tried using the checkio API
[Python] I tried using YOLO v3
I tried asynchronous processing using asyncio
I tried using Amazon SQS with django-celery
I tried using Azure Speech to Text.
I tried using Twitter api and Line api
I tried playing a ○ ✕ game using TensorFlow
I tried using Selenium with Headless chrome
I tried drawing a line using turtle
[Kaggle] I tried ensemble learning using LightGBM
I tried using PyEZ and JSNAPy. Part 2: I tried using PyEZ
I tried using Bayesian Optimization in Python
I tried to classify text using TensorFlow
I tried using Selective search as R-CNN
I tried using UnityCloudBuild API from Python