Prevent PC Sleep icon Prevent PC Sleep — Prevents a PC from entering sleep mode via a tiny, resizable control-keeps the system awake while minimizing UI real estate Try it →
Unknown Country
Asked
2 Participants

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)
Turn an Arduino Uno into a Synthiam ARCx robot controller with EZB firmware, servos, sensors, PWM, and browser control.
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

Your robot can be more than a simple automated machine with the power of ARC Pro!

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.