
leonardo46
Italy
Asked
— Edited

Is it possible to have moviment panel working with its actions, but having at the same time the possibility to control motors with hbridge and Arrow Keys and even keyboard commands ? It seems not possible. Everyone disables the other.
Can you explain why does not work ? Please describe the controls you use.
During this performance , I'd want to move the robot by a hbridge pwm movement control panel driving the wheel, using the arrow keys option that's in that panel. I added this control in my project,
I also would like to send other commands using the PC keyboard, by the "keyboard control". But the three control panels don't work at the same time. While the main control panel operates the arms, or ends its performance, the other functions are disabled.
How can I get these three control functions working at the same time , without having to enable/disable each one by clicking on them with the mouse ?
Alan
And while the action is running, I actually have arrow keys working, but when the action ends , the arrow keys don't work any more, and then I have to "click to use arrow keys " again , otherwise I can't have arrow keys working any more.
See my public ez-b project "myroli-mkii" for examples.
Alan
Code:
You can always use the script Cheat Sheet function to find valid script commands. Right click in the script edit window, select the object you want to send a command to, and there will be a dropdown of all available commands for that object (mostly control commands).
There are numerous examples of executing autopostion actions, frame jumps, and executing other scripts in the key command object of my public "myroli-mkii" project on the EZ-cloud.
Alan
I had tried with control commands , but my sintax was not exact , (capital letters, blank spaces between words , parameters , etc).
It was necessary to be 100% correct ! I had no detailed diagnostic, no intellisense available.
Thanks, you solved my problem !
The Cheat Sheet will make locating the syntax super easy and accurate. Use the ControlCommand syntax with the cheat sheet. All commands available for your project are listed there. You can also explore ControlCommand() syntax by right clicking on the script editor window.
The Cheat Sheet is the way to identify dynamic commands for controls regarding your specific project configuration. The Cheat Sheet is your intellicense.
The above tutorial is super useful for tips and tricks with ezscript
ARC has many powerful tools, but to discover them is not always easy.
Answers from community members are often more efficient than tutorials .
Often tutorials aren't detailed enough to provide an answer to my banal questions.
Enjoy that tutorial