Centrafuse Carputer, CarPC & UMPC Forums

Go Back   Centrafuse Carputer, CarPC & UMPC Forums > 3rd Party Development > Plugin Development

Plugin Development Extend the functionality of Centrafuse by developing plugins


Reply
 
LinkBack Thread Tools Display Modes
Old November 20th, 2009, 06:09 PM   #31 (permalink)
3 Farad - Moderate Capacity
 
Join Date: Jun 2009
Posts: 41
MattJackson86 is on a distinguished road
Being a software developer by profession I know how annoying it is to talk feature requests when your first just trying to get the basics working. So given this is the first version of the plugin I think just the basics would be great. But down the road I think the best option would be to have options to allow the user to precisely decide when to have audio and when to have visual notifications. It would be awesome to see this be different for each frequency band. Thus for X band I don't want any notification, K band I want audio if strength > 0 and visual if strength > 4, Ka I want audio and visual when strength > 0, etc. This would add a lot of functionality to the Valentine1.
__________________
V1Connect - Valentine1 PC Interface - http://www.v1connect.com
MattJackson86 is offline   Reply With Quote
Old November 21st, 2009, 12:20 AM   #32 (permalink)
Centrafuse Partner
f1racr's CarPC Specs
 
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
f1racr will become famous soon enoughf1racr will become famous soon enough
You can set some of that up on the V1 itself, but I suppose in my case where I have it hidden away it would be time consuming to make the changes but you hardly ever want to make those changes regularly anyhow.........

I'm sure it'll get there in the end as you say........

Dejan I got the serial port option all sorted and it seems to work OK, but I've got to find some reliable radar sources to see what I get as far as display goes, it does seems to slow CF down quite a bit, I assume having the serial port open is what's causing it, but other plugins don't cause this so not sure if it's just something that we'll resolve over time or something that's not expected, but thought I'd mention it.

I will go to the local police station tomorrow and sit outside it as there's regularly cars left with radars on and so I can gauge each strength by driving closer and further away to test for you........

I'll let you know how things go.

Fraser
f1racr is offline   Reply With Quote
Old November 21st, 2009, 03:06 PM   #33 (permalink)
10 Farad - Flux Capacity
_Dejan_'s CarPC Specs
 
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,714
_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of
Quote:
Originally Posted by f1racr View Post
I think it will be a good option to have it not pop up over what you're doing if you don't want also, as with most alerts, you'll get notification from an audio alert before a visual alert and you'll slow down......... how many bogeys and where they are is kinda a secondary concern in my eyes..

I'm trying to source the original sounds now so that we can code the PC to play alert sounds as the V1 would as in my case the V1 is so far away from me that I would never hear it even if it did sound an alert.

Dejan, I've installed the plugin, but how do I tell it which com port to look at ???

Might take a look under advanced settings..... didn't try that..... didn't think we'd have got as far as hiding things yet, but you never know
HI Fraser,
You will have optin in settings to enable/disable auto popup, to enable/disable sound alarm... So you can setup only popup or only sound or both or none of this.

Yes if you can provide me some sound file which have same tone as original V1 I will include it in package

For settings you must have enabled advanced settings in CF.

Quote:
Originally Posted by MattJackson86 View Post
Being a software developer by profession I know how annoying it is to talk feature requests when your first just trying to get the basics working. So given this is the first version of the plugin I think just the basics would be great. But down the road I think the best option would be to have options to allow the user to precisely decide when to have audio and when to have visual notifications. It would be awesome to see this be different for each frequency band. Thus for X band I don't want any notification, K band I want audio if strength > 0 and visual if strength > 4, Ka I want audio and visual when strength > 0, etc. This would add a lot of functionality to the Valentine1.
Good idea. I will design plugin this way...

Quote:
Originally Posted by f1racr View Post
You can set some of that up on the V1 itself, but I suppose in my case where I have it hidden away it would be time consuming to make the changes but you hardly ever want to make those changes regularly anyhow.........

I'm sure it'll get there in the end as you say........

Dejan I got the serial port option all sorted and it seems to work OK, but I've got to find some reliable radar sources to see what I get as far as display goes, it does seems to slow CF down quite a bit, I assume having the serial port open is what's causing it, but other plugins don't cause this so not sure if it's just something that we'll resolve over time or something that's not expected, but thought I'd mention it.

I will go to the local police station tomorrow and sit outside it as there's regularly cars left with radars on and so I can gauge each strength by driving closer and further away to test for you........

I'll let you know how things go.

Fraser
I will look on this issue. I think that problem is that plugin draw LED's everytime you get data from comport and your carpc can't handle all this and this slow down it... Did you see this slow down in version without GUI too?
__________________
If you like my work you can DONATE me...
_Dejan_ is offline   Reply With Quote
Old November 21st, 2009, 03:09 PM   #34 (permalink)
3 Farad - Moderate Capacity
 
Join Date: Jun 2009
Posts: 41
MattJackson86 is on a distinguished road
Quote:
Originally Posted by _Dejan_ View Post
I will look on this issue. I think that problem is that plugin draw LED's everytime you get data from comport and your carpc can't handle all this and this slow down it... Did you see this slow down in version without GUI too?
f1racer: If that is the issue, does my version of the software slow down your pc? Maybe have my app running and then try browsing centrafuse and see if its slow. My app draws the 7seg, the arrows, and the leds, so if its the drawing I would expect this should slow it down too.
__________________
V1Connect - Valentine1 PC Interface - http://www.v1connect.com
MattJackson86 is offline   Reply With Quote
Old November 23rd, 2009, 06:16 AM   #35 (permalink)
Centrafuse Partner
f1racr's CarPC Specs
 
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
f1racr will become famous soon enoughf1racr will become famous soon enough
No, yours works fine. I've embedded it into CF and run it that way and seems to work OK.

I just need to get time to reinstall the non GUI version to answer Dejans question, but I don't think it did slow down so I think he's onto it.

I'm trying to source my own radar gun too so I can speed up testing significantly.
f1racr is offline   Reply With Quote
Old November 23rd, 2009, 06:59 AM   #36 (permalink)
10 Farad - Flux Capacity
_Dejan_'s CarPC Specs
 
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,714
_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of_Dejan_ has much to be proud of
Quote:
Originally Posted by f1racr View Post
No, yours works fine. I've embedded it into CF and run it that way and seems to work OK.

I just need to get time to reinstall the non GUI version to answer Dejans question, but I don't think it did slow down so I think he's onto it.

I'm trying to source my own radar gun too so I can speed up testing significantly.
Please test it ASAP next week I have holidays so I can work on plugin more than now...
Also LED work ok? Show ok values?
Now we must figure out what slow down CF reading from comport or drawing images...
Matt's standalone app can work ok because do not run in CF thread no mather if you embedd it into CF or not. It start own thread and work into it so it do not efect CF performance...

Please test version without GUI ASAP that I will know how continue with developing...
__________________
If you like my work you can DONATE me...
_Dejan_ is offline   Reply With Quote
Old November 23rd, 2009, 08:12 AM   #37 (permalink)
Centrafuse Partner
f1racr's CarPC Specs
 
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
f1racr will become famous soon enoughf1racr will become famous soon enough
Yes I will do it for you tomorrow morning.

It's very late here at the moment so am about to sleep, but I will do it ASAP in the morning for you.

The LED does appear to work well yes, as it displays the mode on the display and I can change it and it will change on the display, but I've been unable to find some radar sources so I've been unable to confirm the others, but I will also do this tomorrow for you and am trying to source my own radar gun to test more easily.
f1racr is offline   Reply With Quote
Old November 23rd, 2009, 11:59 PM   #38 (permalink)
Centrafuse Partner
f1racr's CarPC Specs
 
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
f1racr will become famous soon enoughf1racr will become famous soon enough
OK here goes............... good news mostly

Firstly, I managed to have the plugin running today and came across a local bacon wagon with a Ka band radar and everything worked perfectly. Strength worked well and decreased as it got further away and direction changed from in front to the side as I passed and showed 1 for the bogey count so all seems to work very well with the latest version you sent me......... so that's all good.

I tried to run the non gui version of the plugin and I have to say it definately performs faster than the gui version, but still slow relative to not having it running at all. If 100 is back to normal speed and 0 is running gui version then I'd say that the non gui was 50.

I tried changing it so it used a real com port too rather than my USB to serial adaptor but it made no difference so it's not that. Then removed the plugin all together and CF was back to normal so definately the V1 plugin.

I think it seems maybe the slowdown is partly the polling of the serial port and partly refreshing the gui as when there was no gui things were slightly better......

But all in all mate, we're making awesome progress !! I just need to get the audio files now as that's when it becomes more useful I think.
f1racr is offline   Reply With Quote
The Following User Says Thank You to f1racr For This Useful Post:
Old November 24th, 2009, 08:00 PM   #39 (permalink)
Centrafuse Partner
f1racr's CarPC Specs
 
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
f1racr will become famous soon enoughf1racr will become famous soon enough
Hi Dejan,

Just in case you didn't get my last e-mail the new update you've sent is perfect....... speed it exactly the same with V1connect running as it is without it running so looks like you've solved another issue
f1racr is offline   Reply With Quote
The Following User Says Thank You to f1racr For This Useful Post:
Old November 25th, 2009, 09:31 PM   #40 (permalink)
3 Farad - Moderate Capacity
 
Join Date: Jun 2009
Posts: 41
MattJackson86 is on a distinguished road
Thats great news. Good job Dejan.
__________________
V1Connect - Valentine1 PC Interface - http://www.v1connect.com
MattJackson86 is offline   Reply With Quote
Reply

Bookmarks

Tags
display, valentine, virtual

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display plugin data in main window. andresv Plugin Development 5 December 28th, 2007 06:33 PM
External temperature display? spope Plugin Development 4 May 11th, 2007 06:49 AM



All times are GMT -4. The time now is 12:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2009 Flux Media, Inc. All rights reserved.Ad Management plugin by RedTyger