Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain


Reply
 
Share Thread Tools Display Modes
Old 07-25-2007, 12:24 PM   #976
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Quote: Originally Posted by neil_ross View Post
will you be getting more when they go?

Indeed.

And the air pressure is the most likely one that we will be getting. But we have some others being thought about.

Last edited by 2k1Toaster; 07-25-2007 at 12:27 PM.
2k1Toaster is online now   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 07-25-2007, 12:31 PM   #977
Low Bitrate
 
Join Date: Oct 2006
Posts: 58
neil_ross is an unknown quantity at this point
i meant more brains! lol

could the air pressure sensor measure vacume too?
neil_ross is offline   Reply With Quote
Old 07-25-2007, 12:40 PM   #978
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Quote: Originally Posted by neil_ross View Post
i meant more brains! lol

could the air pressure sensor measure vacume too?

Yes we get more brains.

on a side... We have all these smilies, and no :zombie: or anything.
2k1Toaster is online now   Reply With Quote
Old 07-26-2007, 03:40 AM   #979
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
This is a duplicate post from the skin designer thread that I thought lots of people might want to know about. Basically know for needles/guages you dont have to create a bazillion images at different rotations. Just 1 image and then specify the rotate perameters, and the program will rotate the image and stick it up. You would think that something as simple as rotating an image would be easier in such a high-level language, but as I found out tonight... IT IS NOT!

So, EUREKA on the rotating images.

It works. Of course only on my copy.

But here are some screenshots to hold you over.

Here is the main image that all the needles are rotated from:


And then to answer the previous questions on PNG format, if you look at this picture, the checkerboard is "transparent" underneath it. Now you can see that some pixels have a semi-transparent property meaning you can see that checkerboard in varying amounts for different pixels. For instance outside of the main needle area it is all transparent. Inside the needle completely it is 0% transparent. However right on the edge, some are like 50% some are 60% some are 20% and so on. When that is placed over another image, it will blend what is beneath it into it making it look like it belongs. A gif image must be either 0% or 100% in transparency. So all those values inbetween could not be there and that creates akward little artifacts. Make sense now?


Then the following images are of me manually adjusting the values to different formats. I just used whole numbers, but any decimal will work:









The skin section for that is:
Code:
#ENABLEROTATEMAINS#true #ROTATESPINPOINT#153,153 #ROTATELOWHIGH#0;5 #ROTATEANGLES#20;300 #ROTATESTEPS#360

Where:
#ENABLEROTATEMAINS# tells the program to rotate the image at #IMAGESTATIC#
#ROTATESPINPOINT#153,153 where xxx,yyy are the coordinates to rotate around. For instance, the needle itself is 183px long. The circle bubble is 50px by 50px. I want the rotation to occur from the centre of that circle obviously, so 183-(50/2) = 153. And since I have positioned the needle in the centre of the entire 316px by 316px image, it will be symmetric so also 153 from the y direction.
#ROTATELOWHIGH#x;y where x is the lowest value in the guage and y. So for a speedometer, x would be 0 and y would be the top speed, lets say 200. However for temperature, you might want the lower limit to be 100F and the upper limit to be like 300F. As of now though it cannot accept evaluated data, so you would need to convert 100F and 300F into their repsective voltage numbers such as 2.3 and 3.8 (example only, not actual).
#ROTATEANGLES#20;300 The image will rotate clockwise. So with the picture I have, an angle of 0 is it pointing straight down, an angle of 90 is pointing to the left, an angle of 180 is pointing straight up, an angle of 270 is pointing to the right, and an angle of 360 will point straight down again. As of now there is no looping so any angle over 360 will always act as 360 so straight down. Also negatives are iffy. I havent tested thouroughly yet. Anyways, the 20 in the skin command means that the lowest angle you want is 20degrees clockwise or pointing down and left, and thehighest would be pointing down and to the right, just as a speedometer is. I have never seen a speedometer point vertically down before (without being busted!).
#ROTATESTEPS#360 means that there is a resolution of 360. If that was 4 then the needle would only have 4 positions. If the resolution was 8 then only 8 positions. Obviously the more positions, the less jagged it looks. So the default is set to 360 which is 1 image per angle which is the maximum pretty much because it does integer math to prevent epileptic flashes like on the analogue graphs (I still dunno what to do about that).... You can make it like 10000, but that will just eat up cpu cycles and not look any better.


So there you have it. Needles and any other rotation can now be done. Air pressure, fuel, rpm, anything just like a cluster guage. I will code this into the skin designer and then post both my new designer and main program.

Any suggestions or comments?
2k1Toaster is online now   Reply With Quote
Old 07-26-2007, 04:20 AM   #980
Low Bitrate
 
Join Date: Jul 2007
Posts: 78
kostyanj is an unknown quantity at this point
Looks good, hopefully it's easy to implement in the skin. Definitely will be a useful feature to have.
__________________
www.computer-forums.net
kostyanj is offline   Reply With Quote
Old 07-26-2007, 11:17 PM   #981
FLAC
 
Join Date: May 2006
Location: Calgary, Alberta
Posts: 1,542
Maheriano will become famous soon enoughMaheriano will become famous soon enough
I have some questions and couldn't take a week off work to read 66 pages.

1. If I order just the board, will it be everything I need to hook it up to a fully working air ride suspension setup? Or are there some USB cables and stuff I have to order separately?

2. Which gauge wire would I need to run to the battery for this? And will it draw any type of current when the car is off to kill the battery?

3. How do I hook it to things like my windows? I mean without spoon feeding me, do I have to run wires to all the actuators or is there a simple way to plug it into the harness? Trunk release same way? Lights? Other things?
__________________
Ampie Case
2.5" Hard Drive 80GB Samsung 5400RPM
256 MB DDR2 PC5400
Xenarc 700TSV - VGA Monitor
Intel D945GCLF Motherboard
M2-ATX-HV

2005 Honda Civic
Maheriano is offline   Reply With Quote
Old 07-27-2007, 09:24 AM   #982
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
Quote: Originally Posted by Maheriano View Post
I have some questions and couldn't take a week off work to read 66 pages.

1. If I order just the board, will it be everything I need to hook it up to a fully working air ride suspension setup? Or are there some USB cables and stuff I have to order separately?

2. Which gauge wire would I need to run to the battery for this? And will it draw any type of current when the car is off to kill the battery?

3. How do I hook it to things like my windows? I mean without spoon feeding me, do I have to run wires to all the actuators or is there a simple way to plug it into the harness? Trunk release same way? Lights? Other things?


1.) If you order just the board, you just get the board. There are options to add USB cables and relays. I do not know the details of your air ride suspension setup, so I cannot answer questions about how to connect it.

2.) 16gauge is fine.

3.) The board will draw about 70mA with all the outputs off. If this is a concern, I would suggest connecting it to an accessory circuit. With relays on all the outputs, the board will draw about 2 amps. This is not significant enough to merit its own run to the battery.

3.) Every vehicle's harness is different. Connection would vary from vehicle to vehicle.
greenman100 is offline   Reply With Quote
Old 07-27-2007, 10:40 AM   #983
Variable Bitrate
 
Arrow's Avatar
 
Join Date: Feb 2006
Location: West Lafayette, IN
Posts: 288
Arrow is on a distinguished road
Greenman,
No hurry, but did you get a chance to look into my missing USB cable? I just don't have any extras, so I can't use the board until i get one.
Arrow is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 07-27-2007, 10:47 AM   #984
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
Quote: Originally Posted by Arrow View Post
Greenman,
No hurry, but did you get a chance to look into my missing USB cable? I just don't have any extras, so I can't use the board until i get one.

Thanks for the reminder. I'll get one out today.
greenman100 is offline   Reply With Quote
Old 07-27-2007, 10:48 AM   #985
Newbie
 
Join Date: Jul 2007
Posts: 39
ginigma is an unknown quantity at this point
Quote: Originally Posted by 2k1Toaster View Post
We have not actually made the 2-3 wire converter yet. It is really simple. We are going to try and get one done so it makes everything easier.

So is there some simple circuit (amybe just a couple resistors or something) that we could build ourselves? Until you get the "professional" ones done?
ginigma is offline   Reply With Quote
Old 07-27-2007, 05:06 PM   #986
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
Quote: Originally Posted by ginigma View Post
So is there some simple circuit (amybe just a couple resistors or something) that we could build ourselves? Until you get the "professional" ones done?

Below are the specs on the 150psi pressure sensor:
Code:
150psi, 1/8-27 NPT PSI R typical R max R min 0 10 13 5 14.5 31 35 27 29 52 56 48 43.5 70 74 66 58 88 92 84 72.5 106 111 101 87 124 129 119 101.5 140 150 130 116 155 170 145 130.5 170 185 155 145 184 214 154 Maximum 435 psi for 2 seconds only. Operating Temperature: -13F - +212F (to +248F max. 1 hour) on connecting thread.

greenman100 is offline   Reply With Quote
Old 07-28-2007, 01:26 AM   #987
The Curator
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,574
Blue ZX3 will become famous soon enoughBlue ZX3 will become famous soon enough
Uh...no rush, but did my updated firmware get sent out yet ?? Just curious.

PP sent on 7/18

Thanks,
__________________
RideRunner...The #1 FE, PERIOD.

RR Media >>HERE <<

RRExtended Plugin
Updated RR Config (Current Ver 1.0.2.0)
Old RR Versions
Complete CFX PSD Set
RRSkinEditor v.76c
DFX Btn Editor
Blue ZX3 is offline   Reply With Quote
Old 07-28-2007, 02:44 PM   #988
Maximum Bitrate
 
sporty_drew's Avatar
 
Join Date: Mar 2006
Location: Iowa
Posts: 635
sporty_drew is on a distinguished road
Is there anyway to add hotkeys that can control outputs?
__________________
1998 Camaro Worklog Pioneer P860MP, 3 JL 500/1's, JL 300/4, 3 12" Type R's, Diamond m611's
sporty_drew is offline   Reply With Quote
Old 07-29-2007, 12:54 AM   #989
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
Quote: Originally Posted by Blue ZX3 View Post
Uh...no rush, but did my updated firmware get sent out yet ?? Just curious.

PP sent on 7/18

Thanks,

Sent it out yesterday. Shipments generally take 5-7 busness days to get out.
greenman100 is offline   Reply With Quote
Old 07-29-2007, 01:04 AM   #990
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Quote: Originally Posted by sporty_drew View Post
Is there anyway to add hotkeys that can control outputs?

Nope... But that is a pretty good idea. I will see what I can come up with. There are already quite a few keyloggers for debugging features, which might interfere, but since those features are "developed" I guess I can remove them now.

I will add it to the list.
2k1Toaster is online now   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best mountable, DC powered USB Hubs? Dan Marsh General Hardware Discussion 21 02-06-2009 11:33 PM
Via Epia Mii10000 USB buurin General Hardware Discussion 19 07-22-2006 03:52 PM
Problem with ITPS / hibernation and External USB HD veetid Power Supplies 5 01-02-2006 09:35 PM
Will this layout with a remote USB hub work? NoPistonPC General Hardware Discussion 14 08-21-2005 04:24 PM
Looking for feedback on initial components, USB vs. PCI, power related mostly S4Per Newbie 4 04-06-2004 10:52 AM



All times are GMT -5. The time now is 05:14 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics