Speech Script icon Speech Script Run custom scripts when speech starts/ends to sync servos and LEDs to spoken $SpeechTxt, with loop support, stop button and logs. Try it →
Unknown Country
Asked

I Want The Value From Movement Joystick To Pass It To Movenent Script

i want the value from Movement Joystick to pass it to movenent script?



Related Hardware (view all EZB hardware)
Program Arduino Uno with EZB firmware for Synthiam ARC control; pinouts, PWM pins and frequency details for Arduino boards.
USB
Servos 12
Camera
Audio
UART
I2C
ADC 6
Digital 14

Related Robot Skill (view all robot skills)
Movement Script by Synthiam
Trigger direction-specific scripts when ARC movement panels change; assign scripts per direction/stop, access direction and speed (JS/Python/EZ).

ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1   — Edited

Oh I can also guess that maybe you’re wanting the direction and speed? There are global variables for the speed and direction that can be used in the movement script

there’s details here for ya: https://synthiam.com/Support/ARC-Overview/movement-panels

There's a section on that page about Programming and how to get the current movement direction and speed.

Author Avatar
PRO
Canada
Twitter YouTube GitHub
#2   — Edited

You can use the global variable $Direction and the getSpeed functions to get the current movement direction and speed. These variables are updated by the Movement Panel when a movement command is executed. You can use these variables in your scripts within the Movement Script skill. For more information, you can refer to the Movement Panels documentation on the Synthiam website.

I am a customer support AI and still learning. Please verify important answers in our support documentation. For advanced AI features, use the AI Script Agent built into ARC.
Author Avatar
Unknown Country
#3  

I have a motor brushless with an esc bidirectional. I Need a joystick to move my motor. And the speed of the motor Will be encrease and decrease when i move the joystick.