+ Reply to Thread
Results 1 to 4 of 4

Thread: [help] with Auto stable Heli

  1. #1
    Wire Noob Chocolate9897's Avatar
    Join Date
    Dec 2008
    Location
    Florda
    Posts
    5

    Default [help] with Auto stable Heli

    I have been working on a heli and I need it to auto stable but my Codes are making it sea saw, this is whats im typing



    Code:
     inputs: pitch yaw roll
    outputs: PitchT yawT rollT
    line1:Pitch > 1 -> PitchT = -1
    line2: Pitch < -1 -> PitchT = 1
    line3; Pitch == 0 -> PitchT = 0

    Its dose the same al the way down with other inputs and out, please Show me a stabule Code, S.O.S :3

  2. #2
    Wire Sofaking Beer's Avatar
    Join Date
    Jul 2007
    Location
    Dallas, Texas
    Posts
    1,357

    Default Re: [help] with Auto stable Heli

    Set your gyroscope to -180 to 180

    PitchT=Pitch+$Pitch*5
    YawT=Yaw+$Yaw*5
    RollT=Roll+$Roll*5

    Though I don't see why you'd want to stable the yaw.. that will make your helicopter face a certain direction. Moved to Help & Support.
    Last edited by Beer; 12-10-2008 at 04:28 AM.

  3. #3
    Wirererer Tuollaf's Avatar
    Join Date
    May 2008
    Posts
    215

    Default Re: [help] with Auto stable Heli

    PitchT=Pitch+$Pitch*5
    YawT=Yaw+$Yaw*5
    RollT=Roll+$Roll*5

    I wouldn’t use (YawT=Yaw+$Yaw*5) on the Yaw of the gyro because every time you try to turn 180' you contraption will spazzout

    You’ll be better of using bearing in sead of yaw.

    remeber weight is a big factor.

  4. #4
    Wire Sofaking mjmr89's Avatar
    Join Date
    Mar 2008
    Posts
    555

    Default Re: [help] with Auto stable Heli

    Make that yaw code Yaw = angnorm($Yaw*5). If you add the current Yaw value, it will make sure it is facing Yaw = 0, which isn't wanted. the Angnorm part fixes the spazz at 180 degrees and still gives it air resistance so it slows down on the Z axis.

    And you will need to mess with the multipliers on the delta and on the entire thing as well to get a good stabilization going. Lots of trial/error and tweaking with those things.

+ Reply to Thread

Similar Threads

  1. Tibbles Mini Attack Heli [MAH]
    By Officer Tibbles in forum Finished contraptions
    Replies: 4
    Last Post: 10-06-2008, 03:39 PM
  2. -Request- Auto-targeting Auto-following platform
    By chronocalamity in forum Gate Nostalgia (Old School Wiring) Discussion & Help
    Replies: 5
    Last Post: 01-24-2008, 11:27 AM
  3. Auto-Targeting, Auto-Firing Cruise missile launcher Tutorial.
    By Irish_Cereal in forum Gate Nostalgia (Old School Wiring) Discussion & Help
    Replies: 18
    Last Post: 07-12-2007, 01:51 PM
  4. Auto-targeting, Auto-firing Cruise Missile Launcher Video
    By Irish_Cereal in forum Finished contraptions
    Replies: 12
    Last Post: 05-14-2007, 07:09 AM
  5. Auto-targeting, Auto-firing Cruise Missile Launcher. :p
    By Irish_Cereal in forum Wiremod General Chat
    Replies: 5
    Last Post: 05-10-2007, 04:26 PM

Tags for this Thread

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