Openai Chatgpt icon Openai Chatgpt ChatGPT conversational AI for ARC robots-configurable personality, memory, image description, script execution, speech and API integration. Try it →
Asked

Smoothing Myo Control On EZ-Inmoov

I’ve got an EZ-InMoov Robot Head running on an EZ-Robot IoTiny over WiFi (ARC on a Windows laptop). Servos are wired: D0 = neck pan, D1 = neck tilt, D2 = eyes pan, D3 = jaw. I’m trying to drive pan/tilt with a Thalmic Labs Myo armband using the Myo Gesture Armband robot skill. I installed the Myo Connect 1.0.1 driver from the link on the skill page, paired the armband, and the skill connects fine (green status, gestures show up in the UI). If I map Yaw to D0 and Pitch to D1 inside the skill, the head follows-but I get a lot of drift and twitching even when my arm is fairly still, and the "center" seems to wander after a few minutes.

What I want: add a small deadband and smoothing, and also be able to "re-center" the head with a gesture (ideally Double Tap) without having to recalibrate in Myo Connect each time.

What I tried so far:

  • Turned off direct servo mapping in the skill and attempted to read the orientation variables in a Script (JavaScript) to do my own filtering. I assumed variables like $myo_yaw and $myo_pitch would update, but in Variables they seem to stay at 0 even while the UI graphs move.
  • Lowered servo Speed and added a small offset in the servo config; helps a bit but doesn’t cure the drift.
  • Myo Connect set to Always Unlocked; recalibrated a few times.

What are the exact script variable names the Myo Gesture Armband skill publishes for orientation and gesture events, and is there a recommended way in ARC to add deadband/smoothing and a re-center gesture for pan/tilt on the IoTiny without relying on Myo Connect recalibration?



Related Hardware (view all EZB hardware)
EZ-Inmoov Robot Head by EZ-Robot & Gael Langevin
EZ-InMoov robot head-DIY educational humanoid kit powered by Synthiam ARC for vision tracking, speech, chatbot integration and mobile control
Wi-Fi
Servos 8
Camera
Audio
UART
I2C
ADC 2
Digital 8

ARC Pro

Upgrade to ARC Pro

Don't limit your robot's potential – subscribe to ARC Pro and transform it into a dynamic, intelligent machine.