If I control the arms with the Servopad, everything is too rude for me.
Has anyone ever driven an excavator?
If you move the joystick slightly in one direction,
The arm moves continuously slowly in the direction.
If you move the joystick strongly in one direction,
The arm moves continuously rapidly in one direction.
For my robot I would like something similar.
I would like a Servopad which when in use
The arm continuously moves.
I can not find the function anywhere in the EZ software.
Upgrade to ARC Pro
Get access to the latest features and updates with ARC Early Access edition. You'll have everything that's needed to unleash your robot's potential!
I am at work without access to ARC right now, but I believe there is a public version of my modified ROLI project in the cloud. Project is Myroli-mkii.
There is a script manager with various scripts for moving the arm and claw incrementally and looping as long as the key is pressed. Note, the specific arm is defined by a variable, which I change with another key press so I can use the same keys to control either arm.
I have loaded and tested your project.
Looks very interesting.
I had tried it similarly,
And asked me if you could integrate it into a Servopad.
But I can build a Joypad with buttons and scripts.
Very interesting. thank you
Your project helped me a lot.
repeatwhile(GetServo(2) < 170)
One Press on the Button und it works and second Press is stopping.
But when i want to make a emergencystop,
i have no chance to stop all scripts with one order.
I have try
and release all.
How i can stop them?
And when a script running to servo up.
And i forget stopping and press script for servo down,
i think i can kill the servo.
Do you have a way to stop only the other script from this servo?
Halt() stops the current script
Stop() sends a command to the current Movement Panel to STOP the robot from moving
Neither of those provide the logic you request. Keeping track of a variable is the best way. Here is a functional example...
SCRIPT FOR DOWN
SCRIPT FOR EMERGENCY STOP
I am again at work and can't open ARC (not allowed to install on my new computer. I am going to need to set up remote access to a home machine...).
Isn't there a way to do this with control command? ScriptStop if specifying a specific script object, and I think there is a stop all of some kind if the scripts are in a script manager object.
I think I even use this in the project referenced above. I know I have a panic stop script of some kind, but I forget if I named every script or if I had some global commands available.
This help me.
Halt() is for stop scripts.
But my scripts run away.
They stopped only by reach of the limit from the servo.
Halt() has no function in my script example.
I try yours.
All commands work only within their script.
Exit the current running script. <- The script that HALT() is inside
See my example. See HALT() is used within the script. HALT() exits/cancels/stops the current script.
SCRIPT FOR DOWN
Its really cool.
Oh man, thats amazing when iam ready with this.
Its really funny.
DJ's method is also effective, and it can be global (ie, use the same variable, maybe call it "$moving" instead of "$movingdown", so it is really a matter of style, but my method keeps the actual movement scripts simpler but the emergency stop script more complex.
Now i have found this.
Its the overkill Panicbutton.
Thats really cool.
This stop all.
I see, with this project i can learn a long time.
Thank you for your help.
Iam using my robot mostly with computer but now i test the App.
I have create all scripts and icons for the app and
i have tested all with my computer.
all works fine.
When i start the app with my handy, my scripts in the menu
"Steuerung" does not work.
I become the working icon, but my robot does not make the order.
This is the script on my Button.
And this is the Script "* T".
This is started and stoped from the button.
I have forgotten the half world is sleeping ;-)
I have found my error self.