Canada
Asked — Edited

Release(D*)

I am continuing to test my new Kit and servos with various commands. Servo(D*) (=whatever port chosen) works fine, ServoRandom(D) works great, ReleaseAll() works well.....but.......Release(D*) comes back with an error of " Unknown servo Port D(*)! I would appreciate anyone trying their Release(D1) (or whatever port) and verifying. Thank you!:)


ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

#1  

To add to this thread,using a ServoSpeed(d1,25) before or after Servo(D1,10) Sleep(2000) Servo(D1,90) ,ReleaseAll(), then removing the ServoSpeed command with a # at the script line, it does not return to its normal speed until I reboot(pwr off and on the EZ board and reestablish the connection)? Perhaps there is a tutorial on this specific observation/test?

PRO
Synthiam
#2  

I see the release() issue and it's resovled for next release. However, i do not understand your last paragraph. Can you expand on the grammar and format your code so i can read it:)

PRO
Synthiam
#3  

I re-read your paragraph to try and understand - are you stating this...

This code moves the servo slowly and sets the speed to 25


ServoSpeed(d1, 25)
Servo(d1, 10)
Sleep(2000)

This code moves the servo slowly and sets the speed to 25. And you expected the servo to move at regular speed because you "commented out the ServoSpeed" command?


# ServoSpeed(d1, 25)
Servo(d1, 10)
Sleep(2000)

Once you set the speed for a servo, it is set. For example, pretend I came to your home and placed a chicken on your kitchen counter, and then I left your home. When I return to your home the next day, the chicken will still be there - unless you or someone else moved it. When you tell something to happen, it happens until you tell it to stop happening.

Commenting code does not mean "reverse the command". For example, I can comment about the chicken I placed on your counter - but my comment will not remove the chicken from your counter.

:)

What you want to do is change the speed back..


ServoSpeed(d1, 0)
Servo(d1, 10)
Sleep(2000)

#4  

Eureka! Thank You DJ for the Release problem resolve and explanation of the ServoSpeed set and then resetting. I must and now understand # is for comments only!:)
Two trbls in one bag resolved!
Best regards , Glen

PRO
Synthiam
#5  

Did you like my chicken story?

#6  

YES I did:) and still holding my stomach from laughing so hard...but the chicken would never be left overnight on my counter because it would be put in the oven for all the EZ robot builder guests dinner! Ever come out west to Vancouver Island? Your welcome anytime...for a chicken dinner... and a day of sailing on my vintage1939 Sea Witch!:)

PRO
Synthiam
#7  

Oh! I'll be touring the island in August actually! I visit usually once a year to do some biking - but I didn't this past year:(

#8  

region Chicken Response
/*
// I thought I should comment on this thread
for the fun of it.
*/
#endregion


PRO
Synthiam
#9  

Funny guy:)

<!-- I like the different styles of commenting -->

-- That you used

#10  

My apologies to readers of this thread! I have strayed from topic:( but in liu of robot pics...

Awesome ! There was a huge bike-in on Salt Spring Island(where I live) last year attended by 400 cyclists! You have a place to stay if you wish either on board the 30 foot Sea Witch or in our loft overlooking Fulford Harbour. With 3 or 4 wineries and a big goat cheese farm you wouldn't go thirsty or hungry! View looking north to fulford and then the Sea Witch

User-inserted image

User-inserted image

PRO
Synthiam
#11  

That is an amazing view from your balcony! Is there much snow this time of year? Very nice boat! Time to turn it into a robot:D

#12  

Look at all that water, on your deck railing. Nice Boat by the way.

#13  

Snow!? 4 letter word! Well for one thing were at sea level and we are called the bannana belt of Canada:) rarely snows..we have to drive to the snow! thanks orwnic82....hmmm a robotic boat..I guess thats called autopilot..not recomended with such close proximity to many islands..BUT back to robotics..I want to see robotic fish in Josh's aquarium!

#14  

irobot58,

I'm in lower Wisconsin, USA. How long will it take me to drive to your house? Maybe I can stop by for a visit next weekend? Your place looks like a good place for me to hang out for a few weeks! Maybe we can spend the time on your boat, drinking wine and writing EZ-B script. Of course there would be women present. cool

Your very good and devoted friend, Dave Schulpius

#15  

Indeed Dave! You would be most welcome! Sailing this time of year is a bit brisk, but when the sun is shining, there's nothing like it. The wine would be mulled(spiced and hot),and most DEFinately our ladies present. I am thinking a 3 day drive over the rockies followed by a wonderful Ferry ride from Seattle to Victoria and then another 20 minute ferry to Fulford! When were not sailing or writing Script(top priority,followed by wine) we could be doing archery or teaching you the Arte of Defence(I teach 16th century Rapier(think muskateer):)

#16  

Sounds like a wonderful way to spend a week or two! After looking at the map I would think a car ride straight north and then pick up a train west to the coast. I've always wanted to take a train trip through Canada and on up to Alaska where my Mom and Dad met and married.

You've mentioned two of my fond interests; Swords and Archery. Well, maybe four; wine and women also. :)

Can you make out what is hanging on the wall behind the head of my B9 in the pic below? I have them all over walls of my home office:

User-inserted image

#17  

Sweet Swept hilt rapier! Darkwood armoury?....Bring it and we can sword fight on board the Sea Witch! Oh and B9 is freaking awesome! In the pic I am the one in black and silver using a spanish cup hilt

User-inserted image

:)

#18  

Cant remember where I got the rapier but you do look good in that head gear. :P