+ Reply to Thread
Page 1 of 8
1 2 3 ... LastLast
Results 1 to 10 of 75

Thread: Wired Servo

  1. #1
    Wire Amateur Exitlights is on a distinguished road Exitlights's Avatar
    Join Date
    Mar 2007
    Posts
    36

    Default

    EDIT BY ANTICEPT:

    Exitlights left this topic in place despite version 2.
    Wired Servo 2

    I've been working on this damn thing for days now, but it's definitely worth it. It's not totally polished, but it gets the job done right now. I'm going to continue refining it, and add a world-angle option, rather than just changing angle relative to the prop it's attached to... but in the mean time, if anybody wants to improve upon my design, or just dick around with it while I make it pretty, here it is!

    Couple things to note:
    • Using Advanced Inputs on too many angles at once will cause the servo to go into gimbal lock at more extreme angles
    • There are some wonky things going on with the constraint sometimes... just be aware that this is a beta of my servo, don't push it too hard
    • I haven't really made a context menu, per se... I'll add a model choice eventually
    • It should accept pretty wide angles, enough to completely swivel around 360 and then some
    • Updating the angles too frequently (i.e. on the amount that the AdvInput updates) can bog it down a little bit--there's a lot of vector math going on in the background, I imagine
    Enjoy!

    ###############################

    Update: Changed version to 1.6, read my other post to view fixes.

    ###############################
    Attached Files
    Last edited by Anticept; 12-21-2008 at 11:16 AM.

  2. #2
    Inactive Yerocrg is on a distinguished road Yerocrg's Avatar
    Join Date
    Mar 2007
    Location
    New Jersey, U.S.A.
    Posts
    91

    Default

    Awesomeness! This is really useful for a contraption I am working on. I was so sick of messing with the hydraulics and expression gates and stuff.
    <div class='quotetop'>QUOTE(Infinity) [url="index.php?act=findpost&pid=3853"]<{POST_SNAPBACK}>[/url]</div>[quote]Wire igniter? I think it'll turn to hell...[/quote]

    <div class='quotetop'>QUOTE(TAD2020) [url="index.php?act=findpost&pid=11109"]<{POST_SNAPBACK}>[/url]</div>[quote]Would only require a heavenly modified wire stool to do this.[/quote]

  3. #3
    Wire Dev - Lazy
    tomb332 has a spectacular aura about tomb332 has a spectacular aura about tomb332's Avatar
    Join Date
    Mar 2007
    Location
    Birmigham,UK
    Posts
    1,294

    Default

    Yeah i have made one of these it works almost perfectly apart from it spazes when there is too much weight on it or if it is placed vertically insted of horizontally.
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

    Super Easy Wire Download

  4. #4
    Wire Amateur Exitlights is on a distinguished road Exitlights's Avatar
    Join Date
    Mar 2007
    Posts
    36

    Default

    Yeah i have made one of these it works almost perfectly apart from it spazes when there is too much weight on it or if it is placed vertically insted of horizontally.[/b]
    Mind if I take a look at your code? Maybe we can have them build off of one another to create a better one...

  5. #5
    Wire Dev - Lazy
    tomb332 has a spectacular aura about tomb332 has a spectacular aura about tomb332's Avatar
    Join Date
    Mar 2007
    Location
    Birmigham,UK
    Posts
    1,294

    Default

    ok if you give me a bit il post it. Mine is using the simple way of using SetAngles() on itself in the Think() function.
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

    Super Easy Wire Download

  6. #6
    Wirererer LuaPineapple is on a distinguished road LuaPineapple's Avatar
    Join Date
    Apr 2007
    Posts
    115

    Default

    For fucks sake! Thank god you made it cause I was getting tired of the requests, good job.

    Quote Originally Posted by kvitske View Post
    Mr Gaeta! Press ctrl-alt-del!
    -----------------------------------------------
    10% of forum members have a stupid 98%+ "if-you-don't-add-this-to-your-sig". If you are part of the population who don't do that and have a frontal lobe and use semi-accurate statistics, don't copy this into your sig![/sarcasm]

  7. #7
    Wire Amateur Exitlights is on a distinguished road Exitlights's Avatar
    Join Date
    Mar 2007
    Posts
    36

    Default

    Just from messing around with this incarnation of my servo, I really don't advise using the advanced input at all... the frequency of the update is just too much for all the math going on and the instability of the ballsocket, undoubtably causing some rounding issues that cause it to eventually go nuts. The whole process is pretty expensive, I'd imagine, with a constraint being created and destroyed, and some under-the-hood quaternion math rotating the angle with each update.

    I may change it so that it can be rotated only along one axis at a time (i.e. yaw), and make it so that it rotates along an axis joint instead of a balljoint. With the axis method, I've been able to reliably use the advanced input. Anybody have any thoughts on this?

  8. #8
    Wire Dev - Lazy
    tomb332 has a spectacular aura about tomb332 has a spectacular aura about tomb332's Avatar
    Join Date
    Mar 2007
    Location
    Birmigham,UK
    Posts
    1,294

    Default

    aah now we see why mine is simpler. It already only does 1 axis and uses an axis joint. And you can set it with any componants output i think at least it works find with adv input and beacon sensors.
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

    Super Easy Wire Download

  9. #9
    Wire Amateur Cruor is on a distinguished road Cruor's Avatar
    Join Date
    May 2007
    Posts
    83

    Default

    tomb332, is your servo similar to the axis tool in that you click one object and then another to place it or is it more like a wheel motor thingie where you have to choose a model for it. I hope it's the former

  10. #10
    Wire Dev - Lazy
    tomb332 has a spectacular aura about tomb332 has a spectacular aura about tomb332's Avatar
    Join Date
    Mar 2007
    Location
    Birmigham,UK
    Posts
    1,294

    Default

    Sorry its s wheel tool. The weird thing is the tool panels doesnt show properly so atm you can only choose car wheel.
    Also its not an axis type joint because it relys on a SENT so i would have to make one of the 2 objects a SENt which is quite complex.
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

    Super Easy Wire Download

+ Reply to Thread
Page 1 of 8
1 2 3 ... LastLast

Similar Threads

  1. Wired Servo 2
    By Exitlights in forum Wiremod Addons
    Replies: 51
    Last Post: 08-13-2009, 10:05 AM
  2. Simple Servo -> normal servo
    By [FX]CJ[CrS] in forum Bug Reports
    Replies: 1
    Last Post: 12-12-2008, 04:05 PM
  3. more true to life Wired Servo (it's not what you think)
    By -Gamah in forum Ideas & Suggestions
    Replies: 5
    Last Post: 07-14-2008, 01:21 AM
  4. Wired Servo.. I have it. Care to take a look?
    By F12Bwth in forum Ideas & Suggestions
    Replies: 13
    Last Post: 05-18-2008, 01:37 AM
  5. Wanted to Buy: Wired Servo
    By bprater in forum Ideas & Suggestions
    Replies: 3
    Last Post: 05-28-2007, 02:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts