| Plugin Development Extend the functionality of Centrafuse by developing plugins |
 |
|
November 20th, 2009, 06:09 PM
|
#31 (permalink)
|
|
3 Farad - Moderate Capacity
Join Date: Jun 2009
Posts: 41
|
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.
|
|
|
November 21st, 2009, 12:20 AM
|
#32 (permalink)
|
|
Centrafuse Partner
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
|
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
|
|
|
November 21st, 2009, 03:06 PM
|
#33 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,714
|
Quote:
Originally Posted by f1racr
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
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
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...
|
|
|
November 21st, 2009, 03:09 PM
|
#34 (permalink)
|
|
3 Farad - Moderate Capacity
Join Date: Jun 2009
Posts: 41
|
Quote:
Originally Posted by _Dejan_
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.
|
|
|
November 23rd, 2009, 06:16 AM
|
#35 (permalink)
|
|
Centrafuse Partner
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
|
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.
|
|
|
November 23rd, 2009, 06:59 AM
|
#36 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Aug 2007
Location: Slovenia
Vehicle: Fiat Stilo 1.9JTD 163HP
Posts: 1,714
|
Quote:
Originally Posted by f1racr
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...
|
|
|
November 23rd, 2009, 08:12 AM
|
#37 (permalink)
|
|
Centrafuse Partner
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
|
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.
|
|
|
November 23rd, 2009, 11:59 PM
|
#38 (permalink)
|
|
Centrafuse Partner
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
|
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.
|
|
|
|
The Following User Says Thank You to f1racr For This Useful Post:
|
|
November 24th, 2009, 08:00 PM
|
#39 (permalink)
|
|
Centrafuse Partner
Join Date: Jun 2008
Location: Wellington, New Zealand
Vehicle: R34 Skyline GTR VSPEC II, EP3 Civic Type R
Posts: 311
|
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
|
|
|
|
The Following User Says Thank You to f1racr For This Useful Post:
|
|
November 25th, 2009, 09:31 PM
|
#40 (permalink)
|
|
3 Farad - Moderate Capacity
Join Date: Jun 2009
Posts: 41
|
Thats great news. Good job Dejan.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|