Added Special Case to allow Servo to be disabled

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
whatsupskip
Normal user
Posts: 125
Joined: 28 Feb 2018, 07:40
Location: Melbourne, Australia

Added Special Case to allow Servo to be disabled

#1 Post by whatsupskip » 31 Oct 2018, 06:04

I noticed this in on one of the recent update release notes.

What does this change mean?
Friends with kangaroos and some time koala rescuer.

waspie
Normal user
Posts: 127
Joined: 09 Feb 2017, 19:35

Re: Added Special Case to allow Servo to be disabled

#2 Post by waspie » 31 Oct 2018, 12:26

i don't see anything in the commits... but im not that good at deciphering what's going on in github. hopefully it releases the servo after some allotted amount of time after a movement.

waspie
Normal user
Posts: 127
Joined: 09 Feb 2017, 19:35

Re: Added Special Case to allow Servo to be disabled

#3 Post by waspie » 31 Oct 2018, 12:31

scratch that, had to go back one more day to find it:

jamestutton
Added Special Case to allow Servo to be disabled …
Servo Motors by default forcefully hold the desired position. This consumes power. In some cases for example to turn a value or open a latch once the position is set there may be no need to hold the new position. With this update users can pass a special case value above >9000 which is out of normal range 0-180 or 365. when this value is passed the servo is detached and is free to move.

so my guess is something like servo,1,5,100 followed by servo1,5,9001 would move it to 100 then the second command detaches it? ***edit***(it's actually >= to 9000 so 9000 would work)

on eventwhatever do
servo,1,5,100
delay 200
servo,1,5,9001
endon


i've been manually editing in a detach statement so this is helpful. this would mean no longer remembering to edit the switch ino every time i compile a release.

whatsupskip
Normal user
Posts: 125
Joined: 28 Feb 2018, 07:40
Location: Melbourne, Australia

Re: Added Special Case to allow Servo to be disabled

#4 Post by whatsupskip » 31 Oct 2018, 22:20

Sorry I should have said, it is Release mega-20181030.

I am sure there was a thread about using the 9 gram servos and them burning out or consuming a lot of power when they were not engaged. It sounds like this update might fix this problem.
Friends with kangaroos and some time koala rescuer.

kenkoknz
Normal user
Posts: 64
Joined: 03 Jul 2018, 23:46
Location: New Zealand

Re: Added Special Case to allow Servo to be disabled

#5 Post by kenkoknz » 01 Nov 2018, 06:52

Hi @whatsupskip,
Thank you and good spotting, this is exactly what I am looking to stop servo creep on a 360 servo I modified, see post: http://www.letscontrolit.com/forum/view ... f=6&t=5996

Tested it (Release mega-20181030) and works perfectly.

Quick question for developers, does all new updates features (assuming no issues) get carried over to the next release?

Thanks,
Ken

whatsupskip
Normal user
Posts: 125
Joined: 28 Feb 2018, 07:40
Location: Melbourne, Australia

Re: Added Special Case to allow Servo to be disabled

#6 Post by whatsupskip » 01 Nov 2018, 07:11

kenkoknz wrote: 01 Nov 2018, 06:52 Hi @whatsupskip,
Quick question for developers, does all new updates features (assuming no issues) get carried over to the next release?
If you are referring to this fix, then yes it should carry forward.
Friends with kangaroos and some time koala rescuer.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 25 guests