Page 12 of 32 FirstFirst ... 2345678910111213141516171819202122 ... LastLast
Results 111 to 120 of 313

Thread: Fusion Control Centre Uber Edition -- Need Testers

  1. #111
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    Quote Originally Posted by 2k1Toaster View Post
    ???


    to get full rotation, you need an infinite amount of images. But 360 will work fine. I didnt know you had to do them each individually. Photoshop is nice at batch processing, so I will try to make it. It is just getting the gradient that is proving tough. If you could make a gradient, of transparent, to black fade, then transparent in the middle donut, that would allow the best freedom. Then save as a huge *.png, and I will let photoshop do its magic splicing and dicing. If it has a transparent-->black fade in it, then colours would be easy as you just put a new colour in the backround while keeping the middle transparent completely.
    I'd be glad to help with what you want, But I'm not sure what you meant by that, I keep trying to re-read it. I've been able to use PS to speed things up a bit.

    Here's one set of 360 images (361 with the blank) like the ones before. I think it illustrates what I meant by needing 360^2 images to be able to set the zero wherever it looks best. Which is pretty easy with a 'rotate 1deg and save' action batch, (still takes a while).

    http://auto-ic.com/AutoAC/WhiteArc90.rar

  2. #112
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by h3rk View Post
    I'd be glad to help with what you want, But I'm not sure what you meant by that, I keep trying to re-read it. I've been able to use PS to speed things up a bit.

    Here's one set of 360 images (361 with the blank) like the ones before. I think it illustrates what I meant by needing 360^2 images to be able to set the zero wherever it looks best. Which is pretty easy with a 'rotate 1deg and save' action batch, (still takes a while).

    http://auto-ic.com/AutoAC/WhiteArc90.rar
    Ah yes, I see. I forgot they were sweeps already. I have spent too much time with the rotate/sweep code.

    But I can add a rotate command to the multi-image attribute, so that will reduce the number of images needed by 360^359.
    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

  3. #113
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    That would work nicely, I just wasn't sure how much that would slow things down, since each image may have to be rotated as it is shown (as little as I understand .net GDI+)

  4. #114
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Rotating 1 image is no big deal. It is rotating it 300 times that is the problem.
    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

  5. #115
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Ok, added the rotational functionality. Also since I am waaaaaaaaay too lazy to put all those tags in for 360 images, I made an auto image loader for the multiple images like this"

    Code:
        <multiimage id="GuageDialRotateVariable" monitorType="variable" monitorID="wantedtemperature">
          <display size="150,150" location="550,400" page="0"></display>
          <options imageScaling="stretch"></options>
          <imageAUTO directory_path="images\UberArcByh3rk">
            <image_range filename_base="" filename_start="0" filename_end="240" filename_extension="png"></image_range>
            <value_range value_start="65" value_end="85"></value_range>
            <options rotate="70"></options>
          </imageAUTO>
        </multiimage>
    This will evenly space the images over the region defined by "value_start" and "value_end". the directory, is where the images are stored, the filename_base is the beginning, then extension is obviously the extension. filename_start and filename_end are integers from whatever to whatever. This will work with any image with a number before the extension which is pretty common for linked images I would assume. And then the rotate is how much to rotate it, which is all done on loading of the program, so there is no performace impact once running. I also fixed the logging to dump mode on exit, so only writes at the end at when the buffer is full (much faster), and finally forced C# to not kill my file handles to the Brain before the OnClosing event of the main form, but on the Closed event instead, so outputs now properly turn off when the program shuts down, not just a hang up. I dont think I have released the inbetween, but it would hang on close because C#'s automatic garbage collection decided that my file handle was trash as soon as the form started to close, not after it closed.

    All is better, and it works, and looks great.
    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

  6. #116
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    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

  7. #117
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    Thanks for cranking out an update before your vacation. I can't wait to work with this one. Especially since I'm so close to testing now.

    Is there any reason I can't duplicate your temperature config document and edit it for a flow calculation, and reference it from the skin file, the same way as temperature is used?

  8. #118
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by h3rk View Post
    Thanks for cranking out an update before your vacation. I can't wait to work with this one. Especially since I'm so close to testing now.

    Is there any reason I can't duplicate your temperature config document and edit it for a flow calculation, and reference it from the skin file, the same way as temperature is used?
    It should work. Make sure it is included in the required section, then use the evaluate tag to call it. If it is still not working, then just send me a zip/rar of everything and I will walk it through the debugger. I am sure there are errors somewhere in my code.

    And no vacation for another few days. Leave next week. And I am cutting it close too, I have a very valuable package to be delivered on the 19th, and we leave the 20th/21st (I didnt buy the tickets, I am not sure ).
    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. #119
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    I'm having some unexpected stuff, but it may be because this is also the first time I'm communicating with a real brain.
    When I start the program, I get a blank form (pre-background), and it locks up there. After closing it (unresponsive program) and restarting it right after, it seems to work. But close it again and re-open it, I get the blank form...and it cycles on from there.
    (.net is installed and my vid/pid is set to what's in device manager)

    This problem never showed up until I set the pid/vid to match my brain.

    Sorry to put a hardware question here, as it's likely this isn't just the new program, but;
    I changed GuageDialRotateInput's MonitorID to "Test Analogue 1" who's port is still 1, and connected the supplied rheo to A1, but I get no action on the second page. I set GuageDialRotateInput to variable and to wantedtemperature, and it shows itself.

    What might I check, or what am I doing wrong?

  10. #120
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by h3rk View Post
    I'm having some unexpected stuff, but it may be because this is also the first time I'm communicating with a real brain.
    When I start the program, I get a blank form (pre-background), and it locks up there. After closing it (unresponsive program) and restarting it right after, it seems to work. But close it again and re-open it, I get the blank form...and it cycles on from there.
    (.net is installed and my vid/pid is set to what's in device manager)

    This problem never showed up until I set the pid/vid to match my brain.

    Sorry to put a hardware question here, as it's likely this isn't just the new program, but;
    I changed GuageDialRotateInput's MonitorID to "Test Analogue 1" who's port is still 1, and connected the supplied rheo to A1, but I get no action on the second page. I set GuageDialRotateInput to variable and to wantedtemperature, and it shows itself.

    What might I check, or what am I doing wrong?
    That is odd. Usually that would happen if the filehandle dies, just like what I thought I fixed.

    This is with the Brain attached correct? Also this is with the newest version I just posted right?

    What is a "rheo"? And if you pinch the pins with your fingers (so you touch the outermost and innermost), you should read some voltage on it. Just to see if it is the brain or the "rheo"






    Yay for true transparency. Now time to implement this on the big scale.

    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

Similar Threads

  1. *NEW* USB Input/Output Board -- Fusion Brain
    By 2k1Toaster in forum Fusion Brain
    Replies: 1123
    Last Post: 02-22-2010, 02:33 AM
  2. Need wiring help for 2005 Grand Prix.
    By derekmac in forum Car Audio
    Replies: 33
    Last Post: 09-21-2007, 09:42 PM
  3. Remote Control Fusion Brain.
    By alexgray104 in forum Fusion Brain
    Replies: 9
    Last Post: 09-06-2007, 03:16 AM
  4. Replies: 2
    Last Post: 07-24-2007, 09:11 AM
  5. Replies: 1
    Last Post: 12-03-2005, 08:58 PM

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
  •