Page 14 of 20 FirstFirst ... 4567891011121314151617181920 LastLast
Results 131 to 140 of 196

Thread: Tutorial - Steering Wheel Controls

  1. #131
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Quote Originally Posted by customaudioman View Post
    no, I SAVED the new file like you said, not as note pad, xl .
    I have no idea what this means.

  2. #132
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Quote Originally Posted by customaudioman View Post
    why does all the digital out on when I open the program?
    If you look in the XML file with notepad, or open it with the configurator, you will see the default state of the output is on. It's just because that's the same skin as i use for testing.

  3. #133
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    659
    did i DO IT RIGHT SO FAR

  4. #134
    Low Bitrate
    Join Date
    Mar 2008
    Posts
    108
    Custom, i know you are getting aggravated ( i would be too ), but these guys are trying to help.. I did exactly as he said and saved the file as he said and it worked for me. Copy and paste the code into the fusionconfiguration.xml file (deleting everything that is in there already) and apply some voltage to input0. open a notepad and you should start seeing AAAAAAAAA repeated..

    Take your time and follow the steps, make sure you are doing everyting exactly as he said. there is something that you must be missing if it is not working. I ran the test at home without even having a FB attached to the PC using a virtual brain, and it worked perfectly. try the virtual brain and see what you get. I believe it was requested that you post a screen shot of when you run the file this way they can help you further

  5. #135
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    659
    So how do I plug in my voltages for the buttons?

  6. #136
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    659
    alright, i'll give it another try

  7. #137
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Quote Originally Posted by customaudioman View Post
    did i DO IT RIGHT SO FAR
    I have no idea, since you haven't responded about what happened when you followed the steps I outlined above.

    Once you get the repeating "a"s in notepad, we can help you further.

  8. #138
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by Urbanmindz View Post
    how can i delay the time between presses? and if possible can you explain a little bit more on how i can get this done

    if voltage > threshold, then increment a variable.
    If (voltage < threshold && variable > 0), then varaible = 0 and send key B.
    If (voltage > threshold && variable == 0), then send key A.
    if voltage < threashold, then variable = 0

    2k1 posted that for me but i am confused on how to implement it.

    THanks and sorry to bother soo much..
    Been at work, and will be a bit more silent over the next few days as it is exam time...

    But to answer this question, use the minimum vote time. Each of your if/then statements should have an id and another value. That controls the minimum time between votes. Not the actual time between. So if set to 0, it will fire as fast as it possibly can. If set to 1000, then that is 1000mS which is 1 second. So it will vote 1 time every second.


    For instance:
    Code:
          <if fire_on="logic" minimum_delta_vote_time="250" id="Steering Wheel Button B Logic">
            <boolean_operation type="between ii">
              <parameter1>
                <number>3.751</number>
              </parameter1>
              <parameter2>
                <analogue id="Steering Wheel Analogue Input" time="0"></analogue>
              </parameter2>
              <parameter3>
                <number>3.892</number>
              </parameter3>
            </boolean_operation>
            <then>
              <do function="Send Key To Foreground" functionTargetID="fds" vote_opinion="B" vote_priority="Medium"></do>
            </then>
          </if>
    The emphasised part says only vote every 250ms.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  9. #139
    Maximum Bitrate customaudioman's Avatar
    Join Date
    Oct 2005
    Location
    Maryland
    Posts
    659
    Quote Originally Posted by greenman100 View Post
    I have no idea, since you haven't responded about what happened when you followed the steps I outlined above.

    Once you get the repeating "a"s in notepad, we can help you further.
    I open the note pad , then I open the program. The fusion brain skin comes up. Then I put a check the little box ''override input streams". I put in my highest voltage value in the 1st box(analogue 1-5) sine Im doing this from my desktop which I dont have a brain hook up. then once I inject the 3.75v in, I get "a" non-stop in notepad. whats comes next? aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaa

    This happen when I had the program open and trying to do a post at the same time, lol . Also in my car when having the brain hooked up, for analogue 01, I get different voltages when pressing the buttons. The numbers seem to get to the next value faster even if I hit the button slow.

  10. #140
    Low Bitrate
    Join Date
    Mar 2008
    Posts
    108
    2K1, thanks for the info on the delta vote time, however, when i tried it it still did not slow down the keystroke.

    the only way i got it to slow down was by changing this value:

    <!-- Begin Timer Setup -->
    <timer id="input" interval="75"></timer>
    <timer id="output" interval="100"></timer>
    <timer id="gui" interval="50"></timer>
    <timer id="logic" interval="1000"></timer>
    <!-- End Timer Setup -->

    Originally it was set to 50, when i changed that to 1000 it pressed a key everysecond. the downside to this is that i have a feeling it will affect the entire logic for all the buttons and i would like to only control the speed on two buttons.

    Any idea? Goodluck with your exams

Similar Threads

  1. Toyota Steering Wheel Control Question
    By 205GTi in forum Input Devices
    Replies: 5
    Last Post: 05-21-2014, 09:57 PM
  2. Steering Wheel ADD-ON Controls w/o System
    By ChaCha in forum General Hardware Discussion
    Replies: 13
    Last Post: 11-16-2012, 01:19 PM
  3. Replies: 2
    Last Post: 05-23-2006, 11:56 AM
  4. RF keyfob remotes for adhoc steering wheel controls?
    By archimense in forum Input Devices
    Replies: 27
    Last Post: 12-23-2004, 04:27 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
  •