+ Reply to Thread
Results 1 to 2 of 2

Thread: Math Help and How-Tos

  1. #1
    Wire Amateur bprater's Avatar
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    75

    Default

    I have a couple math questions for you wizards o' calculus (and maybe we can use the thread for other people who need help!) --

    1) I'm creating a lever as an input using a plate on the ground. A gyro gives me -90 to 90 from one side to the other. I want a range of 10-50 as the output. What would the formula look like?

    2) I have a wallbot. It creeps around a wall with its left edge "sticking" to a wall. I'd like for the right or left thruster to fire harder when its farther off course. If the distance to the wall is >50 units, right thruster fires 1x. But if it gets to >100 units, it should be firing 10x. (Doesn't need to be specific, just a factor of "how hard it pushes back".) If there is an actual word or theory for this let me know, so I can read up.

  2. #2
    Forgotten Lapsus's Avatar
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    239

    Default

    Well, I don't know about for the second question, but this formula should work for your lever:

    (GyroIn + 90) / 180 * 40 + 10 = Output
    Lick the capacitor, lose your tongue, visual cortex and heart function.
    -SkilletAudio

+ Reply to Thread

Similar Threads

  1. My Math Is Epic
    By Inzuki in forum Wiremod General Chat
    Replies: 24
    Last Post: 10-19-2008, 09:22 AM
  2. Making a exprssion math into cpu math
    By Ronin in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 5
    Last Post: 06-03-2008, 07:09 PM
  3. help with the math of a spring
    By sexiewasd in forum Installation and Malfunctions Support
    Replies: 1
    Last Post: 03-09-2008, 04:02 AM
  4. some math help
    By nanotech fur in forum Installation and Malfunctions Support
    Replies: 1
    Last Post: 10-07-2007, 06:45 AM
  5. Math help
    By Crimson in forum Installation and Malfunctions Support
    Replies: 10
    Last Post: 09-22-2007, 10:10 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
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots