Announcement

Collapse
No announcement yet.

Fusion Brain Plugin

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

  • Fusion Brain Plugin

    Hey all I use fusion brain for alot if my car motorized stuff. I wanted to know if there could be a way to do a plugin for it.


    Thanks

    Steve
    My Car!

  • #2
    i dont have centrefuse so i couldnt begin writing a plugin for it unfortunately.. but if someone wants to work on a FB plugin for it i can share some of my roadrunner RRFusion plugin for this.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

    Comment


    • #3
      Originally posted by Sonicxtacy02 View Post
      i dont have centrefuse so i couldnt begin writing a plugin for it unfortunately.. but if someone wants to work on a FB plugin for it i can share some of my roadrunner RRFusion plugin for this.
      I would be interested in how you created the plugin for RR. I am not a programmer but am going to learn a little. From what I can see, Fusion offers the source for their stuff and Centrafuse offers an SDK. And, looks like Visual Designer can be used to create the skin and even integrate the Fusion code(although that appears to be for the skin only). The part I'm having trouble understanding is what code is needed.

      In other words, it doesn't appear that a lot of manual code writing is necessary but rather picking the right stuff to put in. Centrafuse looks to offer example apps that would require editing.

      I haven't had a chance to look at it yet, but someone created a VB app to get basic stuff from the fusion brain. Looks like it would be the easiest to integrate into Centrafuse and then use that data in calculations, maybe in the xml?

      I would love for someone that's been there to provide some insight.

      Comment


      • #4
        Originally posted by jss812 View Post
        I would be interested in how you created the plugin for RR. I am not a programmer but am going to learn a little. From what I can see, Fusion offers the source for their stuff and Centrafuse offers an SDK. And, looks like Visual Designer can be used to create the skin and even integrate the Fusion code(although that appears to be for the skin only). The part I'm having trouble understanding is what code is needed.

        In other words, it doesn't appear that a lot of manual code writing is necessary but rather picking the right stuff to put in. Centrafuse looks to offer example apps that would require editing.

        I haven't had a chance to look at it yet, but someone created a VB app to get basic stuff from the fusion brain. Looks like it would be the easiest to integrate into Centrafuse and then use that data in calculations, maybe in the xml?

        I would love for someone that's been there to provide some insight.
        MDX has the ability to do COM interaction. I do not have or use CentraFuse, but if they have an SDK I can try to see what happens...
        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


        • #5
          Originally posted by jss812 View Post
          I would be interested in how you created the plugin for RR. I am not a programmer but am going to learn a little. From what I can see, Fusion offers the source for their stuff and Centrafuse offers an SDK. And, looks like Visual Designer can be used to create the skin and even integrate the Fusion code(although that appears to be for the skin only). The part I'm having trouble understanding is what code is needed.

          In other words, it doesn't appear that a lot of manual code writing is necessary but rather picking the right stuff to put in. Centrafuse looks to offer example apps that would require editing.

          I haven't had a chance to look at it yet, but someone created a VB app to get basic stuff from the fusion brain. Looks like it would be the easiest to integrate into Centrafuse and then use that data in calculations, maybe in the xml?

          I would love for someone that's been there to provide some insight.
          i actually started writing a CF plugin for the fusion brain but stopped shortly after my trial ended. In its current form it controls the digital outputs but doesnt handle the analog/digital inputs. If you'd like the source to finish this i'll provide it.. u'll need visual studio 2008 because its written in vb.net
          mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
          Follow Me on Twitter or Facebook
          Live mp3Car Facebook Chat

          Comment


          • #6
            Originally posted by Sonicxtacy02 View Post
            i actually started writing a CF plugin for the fusion brain but stopped shortly after my trial ended. In its current form it controls the digital outputs but doesnt handle the analog/digital inputs. If you'd like the source to finish this i'll provide it.. u'll need visual studio 2008 because its written in vb.net
            Yes! Please! I'd like to take a look at what you did. I have Visual Studio 2008. Right now I find it interesting that you chose to use VB, part was in C++, and part was in C#.

            2k1 - If you are willing to register, Centrafuse has an SDK available. You might even talk to them and get them to let you have more than a 30 day trial of Centrafuse. You are a developer, right? Then you could develop a plugin and make your product (Fusion Brain) more attractive to more users. (hint, hint).

            Anyways, I really don't want to be a programmer but I think I can figure out how to do what I want if I have examples and a starting point (well, maybe a little bit more than starting). I'm wanting something kind of specific and don't intend to spend the time it takes to develop a flexible interface. So, if 2k1 could jump in there.......

            Comment


            • #7
              Originally posted by jss812 View Post
              Yes! Please! I'd like to take a look at what you did. I have Visual Studio 2008. Right now I find it interesting that you chose to use VB, part was in C++, and part was in C#.

              2k1 - If you are willing to register, Centrafuse has an SDK available. You might even talk to them and get them to let you have more than a 30 day trial of Centrafuse. You are a developer, right? Then you could develop a plugin and make your product (Fusion Brain) more attractive to more users. (hint, hint).

              Anyways, I really don't want to be a programmer but I think I can figure out how to do what I want if I have examples and a starting point (well, maybe a little bit more than starting). I'm wanting something kind of specific and don't intend to spend the time it takes to develop a flexible interface. So, if 2k1 could jump in there.......

              Well for my plugin I picked Sonic's brain over RR's interface for a while since I didnt get the documentation apparently. But I think I understand it know and i got it working.

              I do all my work in C# now, and I did download the CF trial with intent to integrate it. I havent even double clicked the little icon yet. I will send an email to Flux and see what we can work out.
              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


              • #8
                Originally posted by 2k1Toaster View Post
                Well for my plugin I picked Sonic's brain over RR's interface for a while since I didnt get the documentation apparently. But I think I understand it know and i got it working.

                I do all my work in C# now, and I did download the CF trial with intent to integrate it. I havent even double clicked the little icon yet. I will send an email to Flux and see what we can work out.
                I see this as win-win. They would have a very nice plugin to control additional hardware from within their front end and you guys would have additional appeal from Centrafuse users.

                I have actually contemplated going the other direction by developing MDX to suit my needs (or wants, depending on your point of view) since I really want to navigate, play music, and display information (temp, distance, g-force), and maybe control cameras. But I already have Centrafuse so the shortest route seems to be to integrate MDX.

                Along the distance thing, can you tell me how to get MDX to sound tones? Like slow beeping at long distance changing to fast beeping at mid distance and then to solid tone at close distance when using the sonar sensor?

                Thanks for any help.

                Comment


                • #9
                  I would second the motion for a plugin for CF. I have been debating between FB and phidgets, (only because someone did a plugin for phidgets already), but would prefer to use FB.

                  So any help would be great!

                  Comment


                  • #10
                    @SonicXtasy, could you email/send me your source code?

                    I'm going to work with Proph's FB and create a Facade for FusionBrain. Then I'll work on making the Interface for CF. I've already written an application to query for the FB devices and read the data off of them but I don't have the FB in front of me to verify that everything works. Hopefully next week I'll have a facade ready for any other .NET developers to use.
                    --------------------------
                    Software Developed:
                    DS-ATX Controller Interface
                    Laptop Shutdown Controller

                    Considered Projects:
                    TPMS Interface
                    Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

                    Comment


                    • #11
                      Originally posted by Ineffigy View Post
                      @SonicXtasy, could you email/send me your source code?

                      I'm going to work with Proph's FB and create a Facade for FusionBrain. Then I'll work on making the Interface for CF. I've already written an application to query for the FB devices and read the data off of them but I don't have the FB in front of me to verify that everything works. Hopefully next week I'll have a facade ready for any other .NET developers to use.
                      I'll be sending the source to proph later today in its current form. Excuse the mess!
                      mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                      Follow Me on Twitter or Facebook
                      Live mp3Car Facebook Chat

                      Comment


                      • #12
                        Ok, I got the code and looked at it. It looks like you bypassed the .NET assembly that comes with the Fusion Brain. Any particular reason why that was done?
                        --------------------------
                        Software Developed:
                        DS-ATX Controller Interface
                        Laptop Shutdown Controller

                        Considered Projects:
                        TPMS Interface
                        Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

                        Comment


                        • #13
                          Well, after digging into the history of UsbLibDotNet and then looking up FusionUSB.dll, it looks like UsbLibDotNet is a generic USB device assembly for .NET. Bad thing is, it requires the .INF file or a kernel service to report the devices. Looks like using the FusionUSB.dll will probably be the easiest to work with. I'll start with the facade tonight, as late as it is, I'll probably finish it up tomorrow. I'll see if I can get a FB as well so I can test all the inputs and outputs.
                          --------------------------
                          Software Developed:
                          DS-ATX Controller Interface
                          Laptop Shutdown Controller

                          Considered Projects:
                          TPMS Interface
                          Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

                          Comment


                          • #14
                            I didn't get home until midnight tonight so no progress on this tonight.
                            --------------------------
                            Software Developed:
                            DS-ATX Controller Interface
                            Laptop Shutdown Controller

                            Considered Projects:
                            TPMS Interface
                            Bluetooth Handsfree Interface (WIDCOMM/BROADCOMM)

                            Comment


                            • #15
                              Originally posted by Ineffigy View Post
                              Well, after digging into the history of UsbLibDotNet and then looking up FusionUSB.dll, it looks like UsbLibDotNet is a generic USB device assembly for .NET. Bad thing is, it requires the .INF file or a kernel service to report the devices. Looks like using the FusionUSB.dll will probably be the easiest to work with. I'll start with the facade tonight, as late as it is, I'll probably finish it up tomorrow. I'll see if I can get a FB as well so I can test all the inputs and outputs.
                              FusionUSB.dll is a wrapper for Microsofts generic USB driver, written in C++
                              LibUsbDotNet.dll is a wrapper for LibUSB generic USB driver, written in C#.

                              Both cases you can bypass them and go straight to the source, but then you are on your own with the enumeration and correctly managing the handles. A real pain in a managed environment. If you are using C or something, then probably easiest to go for the source.

                              And as a heads up, we are using the LibUSB drivers as a standard now, although not sure for howlong, so FusionUSB is outdated.

                              Also a note is that FusionUSB is a simplistic wrapper with minimal error control. If you dont clear the handle on exit properly, it will never re-initialize the pointer until the program is restarted. That is the biggest reproduceable problem I have had with it so far, but like I said, it is phased out, so I have not edited the source to fix it.
                              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

                              Working...
                              X