Announcement

Collapse
No announcement yet.

RRFusion- My Fusion Brain plugin for RR

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • RRFusion- My Fusion Brain plugin for RR

    I'm in the very early stages of this... but i'm at the point where i can open a topic regarding it. TONS OF THANKS goes out to mx270a for creating his open source VB control app. Without his guide i wouldnt have created this.


    What it is?
    RRFusion is a RR extension plugin writtin in VB.net 2008. It will communicate with the FB via the fusionbrain_winusb.dll. This will allow:
    -labels for analog inputs... both in raw form and in converted values.
    -indicators for FB connection status (connected/disconnected) and indicators for digital outputs (on/off) AND digital inputs (on(5v), off(gnd))
    -commands for control of the FB including connect/disconnect, digital output control (on/off) for all digital outputs.
    -whatever else i can think of.

    What is required for V4/V3 RRFusion?
    -.net framework 3.5 (2.0 MIGHT work, but 3.5 for sure)
    -roadrunner SDK enabled version (any recent version will work)
    -Fusion Brain installed with drivers.
    -Recommended minimum 1ghz processor. Runs just fine on my d201gly


    as with all my plugins i'm attempting to make this very simple. as it stands its MUCH easier to skin for than FCC IMHO... controlling things like output default states are as simple as creating ONSKINLOAD and ONEXIT rr events in exectbl.ini. If anyone can think of anything that really needs to be added let me know and i'll see what i can do.

    Current Status:
    All features working

    https://autoappmart.com/products/RRFusion_136

    Latest Version: 02/09/11

    Update: RRFusion is now fusion brain v6 compatible. The plugin for the V6 fusion brain can be found here

    What is required for V6 RRFusion?
    -.net framework 4.0 (FB v6 requirement)
    -roadrunner SDK enabled version (any recent version will work)
    -Fusion Brain installed with drivers.
    -Recommended minimum 1ghz processor. Runs just fine on my d201gly

    Eventually, 1 RRFusion plugin will be compliant with ALL versions of the fusion brain. Until then, enjoy this fully functional v6 version update only if you have a v6 Fusion Brain. This version will work with existing settings files, but you DO NOT have to specify the number of FBInstances exist. Enjoy
    Last edited by Sonicxtacy02; 12-01-2011, 12:53 PM.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  • #2
    Subscribed and up for beta-ing Lord knows I've got enough of'm.

    Comment


    • #3
      Very nice!

      Why do you need the FCC program if you are communicating with the dll?

      Since you seem to know how to get RR plugins made, if you have time the main program could use your help !
      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

      Comment


      • #4
        i'm reading from the config file created by FCC to create the converted labels. Meaning if the type listed in the config file is tempsensor for port 0 then the ANALOGIN0 label will display the formatted temperature whereas ANALOGIN0RAW will display raw data. Other than that i guess i really dont need FCC installed.

        i'll certainly take a look at the source code for the fusion brain... but i gotta be honest all this plugin is doin is importing the fusionusb.dll 's functions.
        mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
        Follow Me on Twitter or Facebook
        Live mp3Car Facebook Chat

        Comment


        • #5
          Originally posted by Sonicxtacy02 View Post
          i'm reading from the config file created by FCC to create the converted labels. Meaning if the type listed in the config file is tempsensor for port 0 then the ANALOGIN0 label will display the formatted temperature whereas ANALOGIN0RAW will display raw data. Other than that i guess i really dont need FCC installed.

          i'll certainly take a look at the source code for the fusion brain... but i gotta be honest all this plugin is doin is importing the fusionusb.dll 's functions.
          Ah. well the current non-MDX software will be gone pretty soon. So if you are relying on the old skin (which yes is very difficult to skin for ), you may want to think about a simpler system, or just a custom system for yourself. Just a simple text file read in might be better.

          And for the main program the part I am having troubles with is the part you have here. I cannot for the life of me get RR to find my program or communicate with it at all. I keep thinking I am getting closer only to find out it doesnt work at all. Same round about as last november...
          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

          Comment


          • #6
            i guess a standalone .ini is in order then.

            i'll take a look at the lastest source tomorrow. Getting rr to see the .net plugin was a exercise in frustration... but i found it out this morning and ran with it. I'll pm you with status on that.
            mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
            Follow Me on Twitter or Facebook
            Live mp3Car Facebook Chat

            Comment


            • #7
              Wow, glad to see you two talking / working this out! This is the Holy Grail for me for Road Runner! I have so many things I want to control in the car using the FB, and have just been trying to get a simple built in way of doing it with RR that uses standard skins, exectbl commands and labels.

              I have a FB sitting here still in the box, and have been waiting patiently for something just like this

              As always, I am more than willing to Beta Test this as it progresses. No, not to just get a copy early or anything like that, as beta's are usually not full featured as they progres anyhow, but to actually truly test it and offer solid feedback on it function.
              Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

              My Fiero Build Thread

              Comment


              • #8
                Originally posted by JohnWPB View Post
                Wow, glad to see you two talking / working this out! This is the Holy Grail for me for Road Runner! I have so many things I want to control in the car using the FB, and have just been trying to get a simple built in way of doing it with RR that uses standard skins, exectbl commands and labels.

                I have a FB sitting here still in the box, and have been waiting patiently for something just like this

                As always, I am more than willing to Beta Test this as it progresses. No, not to just get a copy early or anything like that, as beta's are usually not full featured as they progres anyhow, but to actually truly test it and offer solid feedback on it function.
                thats just what i'll be looking for shortly.. a few people with different versions of the brain's firmware to test and find bugs. i'll also need people to test cpu usage and hibernation capabilities. I'm at the point now where most everything works i just need to do some optimization with the timer functions n such. Too slow results in slow reads of data, too fast might raise the cpu % a bit. Who knows where it'll land but right now i'm reading/writing to the brain every half second.



                Anyways, here's a very simple screenie of what i've got so far. Before anyone points it out i KNOW there's only 10 digital outputs listed... i simply didnt know there were 12 in total lol. Green squares indicate the port is on, red is off.




                on a side note, i just realized another thing i'm depending on FCC for. I pull the device instance from the registry key FCC creates. Without that people would have to manually enter there vidpids upon installation of the plugin.
                mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                Follow Me on Twitter or Facebook
                Live mp3Car Facebook Chat

                Comment


                • #9
                  more progress... thanks to 2k1Toaster dumming down the formulas for me I'm now receiving converted value labels for the analog inputs:



                  in my skin port 0 is a photosensor.. while ports 8 and 9 are thermosensors. I've completed the formulas for:

                  -thermosensor (tested)
                  -photosensor (tested)
                  -current sensor
                  -ultrasonic sensor
                  -pot sensors

                  i do not have the formula nailed for IR sensor or the accelermeter because as 2k1 has describe to me they're damn hard to figure out. I'll get it done though. The way this works with rr is you set up variables for the analog types in skin.ini or rr.ini. These variables dictate which formula is applied to the raw analog data.

                  FBANALOG0TYPE= 1 means analog port 0 is a thermosensor, plugin then reads from rr.ini WEATHERUNITS to calculate F vs. C.
                  FBANALOG0TYPE = 2 means its a photosensor
                  FBANALOG0TYPE = 3 means current sensor
                  FBANALOG0TYPE = 4 means ultrasonic sensor
                  FBANALOG0TYPE = 5 means pot sensor

                  pretty straight forward i think once you know what each number is mapped to.

                  now we're at the point where i need testers. I want a FEW people that will actually TEST this thing out. I'd LOVE if they have current, ultrasonic, or pot sensors as i dont have those... and wont be getting them in some time due to GTA4 ripping my budget to shreds lol. Who wants in? (aside from steve and john.. u'll get the download link tomorrow)

                  EDIT-
                  also forgot to mention that if your sensors data needs to be modified before its displayed (like if your temp sensor says 75 and you know its 80 you will be able to modify the sensor data in skin.ini or rr.ini. And one last thing... can one of you guys handy with photoshop create a fusion brain connection indicator for me? Just as a favor! lol
                  mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                  Follow Me on Twitter or Facebook
                  Live mp3Car Facebook Chat

                  Comment


                  • #10
                    major props if this thing goes through....

                    as soon as this plug-in is finished, ill go buy a fusion brain.

                    >>> i dont think im alone in this too. i havent researched who developed the fusion brain, but i would seriously make sure this plug-in is developed as it will probably cause a major increase in sales....

                    keep up the good work! i would help beta test, but i dont have the money to buy one yet.

                    Comment


                    • #11
                      keep tellin em that.. maybe i'll getta free one so i can finally install the one i'm testing my plugin with ! lol
                      mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                      Follow Me on Twitter or Facebook
                      Live mp3Car Facebook Chat

                      Comment


                      • #12
                        sonic, keeep up your work, im anxious for rrmail, but this would make me buy a fusion brain. my pocketbook cant keep up with the hardware required for all these plugins!

                        Comment


                        • #13
                          woop woop!

                          Comment


                          • #14
                            Originally posted by Sonicxtacy02 View Post
                            keep tellin em that.. maybe i'll getta free one so i can finally install the one i'm testing my plugin with ! lol
                            Ask and ye shall receive.

                            We can send you a busted LED Version 3 board now (we only have ones with a busted LED left, rest are sold out), a new version 3 board in 3 weeks, or we can send you a new beta Version 4 board (that we need a name for btw). The beta v4 board wont be ready for a month or so. They are currently being fabbed.
                            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

                            Comment


                            • #15
                              Sonic, I certainly do want to see the FB plugin, as well as the Reminders (Not completed) and the Email (Not completed) and the Movie show times (Not completed) & the new label wrap plugin (Not completed). I hope this one does not carry on the same path
                              Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

                              My Fiero Build Thread

                              Comment

                              Working...
                              X