
H.Berserk
Hi everyone, I have been following you for some time and first of all I wanted to thank this forum and the fantastic Ez Robot because you have allowed me to learn many things.
I started building a hexapod around an ez board v4 and I played a bit with AutoPosition but I have a strange problem with the speed of the servos.
When I turn on the ez board v4 for the first time I have to turn on the PC camera even for a second and then turn it off otherwise the movements are slow, I don't understand why I didn't set anything in the camera device.
I tried to turn on the ez camera instead of the camera pc but the movements remain slow.
Same problem with the mobile app.
I thought of resetting all the movements without ever turning on the pc camera, but maybe I'm missing something?
I inserted a video that maybe will explain better than my English "google".
You can force a speed initialization in the connection control with these steps...
1) Press the GEAR icon on the connection control to open the settings window
2) press the pencil icon to edit the script for "0 - Connection Established Cmd"
3) Paste in this initialization code...
Code:
4) Save and reconnect to the robot. Reconnecting will ensure the SetSpeed() is set.
Sorry I forgot to mention that I had already set up an init script.
And I also tried to move the speed slide before starting the USB camera but it doesn't solve the problem.
I Had also tried to add in the init script servospeed (Dxx, 0) for each servo but it does not work.
I also tried a new project and I imported the AutoPosition frame and action and init script but it doesn't work.
Today I made the last attempt I installed ARC on another PC but it does not work until I turn on the USB camera... Maybe at the hexapod likes to see my face from PC before walk fast..
I am attaching the project file.
Hexapod Backup.EZB
I tried the new Beta release, I created a new project and I imported only AutoPosition Frame/action and Init script but we were unlucky.
It does not work yet until I add camera device and start for a second the USB camera.
I do this.. I never ever ever ever start USB camera in my project and i fix delay/step/speed of each movement. Easy!
But I want to thank you and I would like to take the opportunity to ask you another question.
I created a variable to change the speed of each frame/action because I saw that Fast Movement Modifier is present only on "Forward(), Left(), Right(), Reverse(), Stop() " and SetSpeed() don't work on the others Actions.
This is the variable i start in a init script:
after i create a action :Code:
Now how do I stop the script " strafe right" when I change action?Code:
Because just it finishes the new action, "Strafe Right" starts from where it had remained.
I tried to use the If/ElseIf/else and Waitforchange() / waitfor() functions but I couldn't fix it.. The script stays paused but then starts again on its own.
Sorry for the beginner question.
as for your second question... I think it makes sense for the speed modifier to apply to all actions. I’ll have the software updated for that. Stay tuned!
Thanks DJ Sures!
Less than 24 hours to release the new build!!
You awesome!
I need clarification with fast movement modifiers. For example if I create an action with these values:
When the setSpeed value is 255 I should have 10delay 5steps 1speed, but unfortunately the + 3steps of the fast movement modifiers are not added, and the result is 10delay 2step. Does anyone have the same problem as me?
So moving things in the real world can sometimes be tricky, but we're working on that