+ Reply to Thread
Results 1 to 10 of 10

Thread: Getting rotation from position

  1. #1
    Wire Noob MattaU's Avatar
    Join Date
    Jul 2007
    Posts
    5

    Thumbs up

    how would i obtain an angle for the wire servo from a beacon sensor?

  2. #2
    Wirererer Core Xii's Avatar
    Join Date
    May 2007
    Location
    Finland
    Posts
    393

    Default

    Tick "output bearing"? (or 'direction' or whatever its called in there)
    Grammar is the difference between "helping your uncle, Jack, off his horse" and "helping your uncle jack off his horse".

  3. #3
    Wire Noob MattaU's Avatar
    Join Date
    Jul 2007
    Posts
    5

    Default

    no, i mean so it would aim it i

  4. #4
    Wire Sofaking tomb332's Avatar
    Join Date
    Mar 2007
    Location
    Birmigham,UK
    Posts
    1,377

    Default

    gyroscope and a beacon sensor on output bearing then add the yaw of the gyro and the bearing together to get the intended angle then feed that to the servo.
    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

  5. #5
    Wire Noob MattaU's Avatar
    Join Date
    Jul 2007
    Posts
    5

    Default

    err.. the gyro has no inputs?

  6. #6
    Wirererer Core Xii's Avatar
    Join Date
    May 2007
    Location
    Finland
    Posts
    393

    Default

    He probably typo'd meaning servo not gyroscope.
    Grammar is the difference between "helping your uncle, Jack, off his horse" and "helping your uncle jack off his horse".

  7. #7
    Wire Sofaking tomb332's Avatar
    Join Date
    Mar 2007
    Location
    Birmigham,UK
    Posts
    1,377

    Default

    dam you bad typing skills and many small words ending in o.
    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

  8. #8
    Wire Noob MattaU's Avatar
    Join Date
    Jul 2007
    Posts
    5

    Default

    Ah. Much thanks *bows*

    Wait.. that just makes it spin?

  9. #9
    Wire Sofaking tomb332's Avatar
    Join Date
    Mar 2007
    Location
    Birmigham,UK
    Posts
    1,377

    Default

    the servos and most likly my logic are not perfect.
    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

  10. #10
    Wire Noob MattaU's Avatar
    Join Date
    Jul 2007
    Posts
    5

    Default

    err..

    when the servo rotates, the gyro changes so the value keeps getting higher

+ Reply to Thread

Similar Threads

  1. Replies: 3
    Last Post: 10-17-2008, 01:40 AM
  2. -Request- Forward position
    By Fatallight in forum Installation and Malfunctions Support
    Replies: 5
    Last Post: 02-05-2008, 08:22 PM
  3. 360° rotation
    By liscott in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 09-15-2007, 01:19 AM
  4. proximity spawner has no world position locator
    By farout92227 in forum Installation and Malfunctions Support
    Replies: 3
    Last Post: 08-09-2007, 04:25 PM
  5. How to get the current Z position of a player?
    By Beer in forum Installation and Malfunctions Support
    Replies: 4
    Last Post: 07-25-2007, 01:04 PM

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