damn, and i finished my vectorthruster-based-servo. will try it![]()
(Re-post from Facepunch)
After about a day of sitting on this thing, I think I'm OK with releasing it as a beta. Here's my second take on the wired servo problem, except this one does exactly what I had intended for it to do. Here's what it does:
- Accepts a direction input (1 for clockwise, -1 for counter clockwise, and 0 for smart-acquire mode (rotates in the direction that will acquire the desired angle fastest)
- Accepts an angle input, and will rotate until it achieves the desired angle...
- ...Once it achieves the desired angle, it will either weld itself stopped, or just brake (doesn't work perfectly, use friction for the non-weld stopping to work better)
- Outputs its angle (when used in conjunction with non-weld mode, the servo can be used as a rotation-input device
Besides that added functionality, I built the servo off of the wired wheel tool, so it also has a torque and friction slider in the context menu. And also due to the wired wheel base, you can use any model that the wired wheel can use.
One issue that I'm looking into resolving: a few of the models (big, rusty wheels) have vector-related problems that will report only either 90 or 270 degrees. Don't use these models in the meantime, and once I get to the bottom of the issue, I'll fix those.
And a note for use: the faster (i.e. more torque or SpeedMod) this thing rotates, the less accurate this will be. This is because of the Think function, so there's no real way around this problem. At reasonable speeds, it's accurate within a few degrees, but if you slow it down, you can get it pretty close to the exact angle you want.
Here's a very brief video showing what it does:
http://www.vimeo.com/2001391
Here's the link to download:
Let me know if there are any other issues with it.
damn, and i finished my vectorthruster-based-servo. will try it![]()
It doesn't spazz out mad when you spawn one servo on another one?
Hmm, used alone it's nice, not as spazzy as the previous versions. But putting another server on the servo is a bad idea. Have to test it while making a car or something
Oh and remove that "Case4 init" console spamm.
«You're thinking with wires»
It shouldn't. It's essentially the wired wheel but with code to determine relative angle. The weld-based stopping mechanism also only welds to its base, so putting a servo on top of another shouldn't have any adverse effects.
Haha, oops... "Case4 init" will be removed on releaseBut I would absolutely advocate for this servo over the first one I created, so if one needs to go, kill that one.
I'm going to let it sit for a few days to see if anybody has any criticism of it or other desires, and then kick out the official 1.0 release of this.
this is cool I can use it for my radio systems dishes to point it at a satalight
After playing around with this a little more, it's a little buggier than I thought. Expect a patch in the next day or so.
How about UWSVN commit? PM me with preferred UN/PW if you want.
Also, since this is a beta, it might be best to put it under the "beta" category for wire tools. With your final version, what do you say to getting all the best of the servos that are in the UWSVN combined into one?
Signature.
NEEDS SPEED INPUT!!!! Degrees/sec or something similar would make this amazing, depending on how stable it is i may finally be able to make a real fin powered swash plate-controlled helicopter!
Bookmarks