Page 5 of 74 FirstFirst 1234567891555 ... LastLast
Results 41 to 50 of 737
  1. #41
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    432
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Jan,
    Stefan is the expert, I'm just learning my way through it.

    I have another question Stefan.

    I have coded my turn coordinator ball and it compiled without any trouble.
    I am using the calibrate function.

    I am getting all weird movements on the ball. I wrote a print function and viewed the 0x036E offset and have used FSInterogate.

    Previous documentation state (V1) that the numbers go from -127 to 128
    In the print function I did get similar numbers but without the minus part.
    FSInterogate only gave me minus numbers in the Factored column.

    I got it working really easy but can't get it to behave.

    Here's the code I've got so far:


    case
    FS_TURNCOORD:
    {
    static CALTAB TURNCORDINATORIndicator [] = {
    {-127,7},{-100,15},{-60,30},{-30,40},{0,45},{30,55},{60,65},{100,75},{128,85}
    };
    val = Calibrate (val, TURNCORDINATORIndicator,9);
    FsbusWrite (C_TURNCOSERVO, val);
    }
    break;


    Hope you can help.

    David

  2. #42
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    432
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hmm, that's weird. With the print function, I am getting numbers ascending and descending from 130ish thought to zero and on to 130ish.
    There isn't any minus as there should be. should be between -128 and 128

    So my turn ball moves and stays only on the right side.

  3. #43
    300+ Forum Addict
    Join Date
    Feb 2008
    Location
    Krefeld, Germany
    Posts
    325
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi,
    is your FS_TURNCOORD objekt TP_I8???

    Regards,
    Stefan

  4. #44
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    432
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Yes it is.

    The numbers coming out of FSX don't seem right.

    I put a print function on the Turn rate to see if it gave negative numbers and it gave from -512 to +512.

    The turn coordinator only gives positive numbers but it should be -128 to +128.

  5. Thanks sgaert thanked for this post
  6. #45
    300+ Forum Addict
    Join Date
    Feb 2008
    Location
    Krefeld, Germany
    Posts
    325
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    If you look on 0x036E with FSInterogate, do you see negativ Values?

  7. #46
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    432
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    FSInterogate only gave me minus numbers in the Factored column.

  8. #47
    300+ Forum Addict
    Join Date
    Feb 2008
    Location
    Krefeld, Germany
    Posts
    325
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Ok i will check that after work.
    What shows FSInterogate on the 8bit column?

  9. #48
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    432
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    I did it about 9 hours ago so I don't remember off the top of my head but
    I'll do it again and give you the numbers. Should take about 10 mins.

  10. #49
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    432
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Standing still on the runway, I get 254 in the 8 bit box and -2 in the factored box.

    Hard right rudder (ball hard left) produces 131 in the 8 bit box and -125 in the factored box.

    Hard left rudder (ball hard right) produces 126 in the 8 bit box and 126 in the Factored box. (the numbers droped down through 0 then up again as the ball crossed the center)

    Ok, that strange.

    0 centered first numbers on turning left (ball to the right) is 255 and then reduces the harder the ball moves to the right.

    The same the other way so it looks like this:

    0-<--100<----255-centered-255--->100--->--0

  11. #50
    300+ Forum Addict
    Join Date
    Feb 2008
    Location
    Krefeld, Germany
    Posts
    325
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Ok that ist realy strange.
    I donīt see a way to readout the factored field.
    Did you try an other aircraft?
    Last way is to ask Pete about the Offset.

    Regards,
    Stefan

Page 5 of 74 FirstFirst 1234567891555 ... LastLast

Similar Threads

  1. Fsbus CDK
    By flyandre in forum General Builder Questions All Aircraft Types
    Replies: 4
    Last Post: 12-27-2014, 12:58 PM
  2. Need Help Getting My FSBUS NG I/O Going Again..
    By JBRoberts in forum I/O Interfacing Hardware and Software
    Replies: 14
    Last Post: 03-21-2010, 01:38 PM
  3. Fsbus ng io
    By Davral in forum I/O Interfacing Hardware and Software
    Replies: 0
    Last Post: 01-10-2009, 10:38 PM
  4. Fsbus 2.4.3
    By Anderson/SBSP in forum I/O Interfacing Hardware and Software
    Replies: 9
    Last Post: 11-30-2008, 04:25 PM
  5. Help FSBUS
    By cesarfsim in forum I/O Interfacing Hardware and Software
    Replies: 2
    Last Post: 10-26-2008, 02:23 PM

Tags for this Thread