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 (17) Thread Tools Display Modes
Old May 11th, 2008, 02:47 PM   16 links from elsewhere to this Post. Click to view. #1 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
LogoDashboard plugin

Hi there,

I've finished my new plugin: LogoDashboard

This plugin fills the (usually wasted) space of the logo on the Main screen to display useful data.
To see it in action, have a peek at the new video or see 2.5 in action here.

As for now it supports System, GPS, Media, Calendar and Phidgets but it's able to support any other plugin that offers something on the CF_pluginData interface.

Skins currently supported: Aura, Onyx and Drive (more skins to be supported soon).

This plugin runs under 1.4x as well as 2.0 (though, 1.4x users will not be able to display the Album-Cover). It requires .NET 2.0.

Needless to say that it is highly configurable but you'll need some XML skills for that


Skinners: Here's a list of macros that can be used in Content.xml (sorted by data source):
Code:
 dataSource = "GPS" 
 {LON}
 {LAT}
 {ETR}
 {ETA}
 {SPEED}
 {RDIST}
 {STREET}
 {CITY}
 {HOUSENUMBER}
 {SPEED}
 {ALT}
 {DIRECTION}
 {DIRECTIONARROW}
 {TURN}
 {SATS}
 {AZIMUTH}
 
dataSource = "MEDIA"
 {ALBUM}
 {ARTIST}
 {TITLE}
 {TRACKNO}
 {COVER}
 {MODE}
 {POSITION}
 {NEXTPICTURE}  (new in 2.5 - Image items only)
 
dataSource = "SYSTEM"
 {DATE}
 {TIME}
 {DATELONG}    (new in 2.5)
 {CONNECTED}  (new in 2.5 - Image items only)
 
dataSource = "PLUGIN"
 {pluginname, command, param}

dataSource = "FLASH"
{flashfile, previewimagefile}   (new in 2.5 - Image items only)
Developers: If you want your plug-in being supported, please set up your CF_pluginData method to return the data values. Here's a code sample:

Code:
 
  public override string CF_pluginData(string command, string param)
  {
     if(string.IsNullOrEmpty(command))
       return "";
 
     switch(command.ToUpper())
     {
        case "PROVIDER":
          return network_name;
        case "CID":
          return cid;
        case "SIGNAL":
          return signal_percent.ToString() + "%";
        case "UPSPEED":
          return upspeed.ToString();
        case "DOWNSPEED":
          return downspeed.ToString();
      }
      return "Unknown!";
  }
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive

Last edited by Zorro; August 6th, 2009 at 04:05 AM.
Zorro is offline   Reply With Quote
Old May 11th, 2008, 02:50 PM   #2 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Plug-ins supporting LogoDashboard:
  • Navigation (CF integrated)
  • Media (CF integrated)
  • Calendar
  • TPMS
  • Phidgets
  • ODBII
  • MWConn
  • Trip Computer
  • DSATX
  • Speedfan
  • System Monitor
  • CFSkype
  • UniWeather
  • RelayBoard
  • MPG
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive

Last edited by Zorro; September 8th, 2009 at 04:01 PM. Reason: update
Zorro is offline   Reply With Quote
Old May 11th, 2008, 03:49 PM   #3 (permalink)
10 Farad - Flux Capacity
 
ccsnet's Avatar
 
Join Date: Sep 2006
Posts: 553
ccsnet will become famous soon enough
That is the single most useful plugin I have seen yet.

Couple of comments....
GPS / Album art.... it would be good to have text as optional or not ( and poss resize of images ??? ( but I think thats a CF thing ).

Option not to bother with the CF logo as its an extra key press ( yes I know... lol )

Option to open with CF and default to a set screen - eg Album art or if the GPS is running / a route is under way the GPS screen.

May be you could also use it for short cut keys set by the user... cant think of any thing of hand as such but for instance it could be another way of accessing screens / external apps ?

Support of some of the OBDII data would be good too... not such which is best seeing as you have limited space.
Terran

PS Does VD2 support this ?

Last edited by ccsnet; May 11th, 2008 at 03:51 PM.
ccsnet is offline   Reply With Quote
Old May 11th, 2008, 04:18 PM   #4 (permalink)
7 Farad - Super Capacity
 
Join Date: Jun 2006
Posts: 134
stric
ccnet: try to open YourSkin.xml (Aura.xml) in LogoDashboard plugin and remove
Code:
<Page description="Logo">
      <Content type="Image" file="CentrafuseLogo.png" alignment="Center"/>
    </Page>
Than whichever <Page...> you put on top it will show default...

Great idea and plugin Zorro, very costumizable.


I'll publish updated version of Calendar so LogoDashboard can read it's info... just doing one more change.

Last edited by stric; May 11th, 2008 at 04:24 PM.
stric is offline   Reply With Quote
Old May 11th, 2008, 04:24 PM   #5 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Thanks Terran.

As I said, it's highly configurable. The user can decide what screen to setup at start, whether it has images, text or both.
The number of pages is unlimited. The number of items to display is limited only by the space available.
Here's a sample of the configuration script for the GPS screen in Aura:

<Page description="Navigation" show="True">
<Content type="Image" position="5;17" size="70;70" dataSource="GPS">{DIRECTION}</Content>
<Content type="Text" style="Text2" position="80;22" dataSource="GPS">{STREET} {HOUSENUMBER}</Content>
<Content type="Text" style="ETA" position="80;55" dataSource="GPS">{ETA} ({ETR})</Content>
<Content type="Text" style="Text1" position="325;30" dataSource="GPS">{SPEED} Km/h</Content>
</Page>

The content uses macros (i.e. {DIRECTION}), which are resolved at runtime. A full list of supported macros will be included in the setup.

There will be an Export Provider for VD2 at some point but for now, only editing the XML will allow to apply changes.

I don't plan to add any kind of shortcuts. It's not meant to be a main screen replacement, it's meant do be an addon for information display and it might interfere with existing shortcuts.

Support of OBD, E-Mail and Phone is on the list but I can't do that without the help of other developers.
I will add support for Skype and PluginBrowser soon.

Basically, LogoDashboard supports every plugin that is able to deliver data via the CF interface. Here's a sample of how to display data from a plugin:

<Content type="Text" style="Text1" position="20;45" dataSource="PLUGIN">{PHIDGETS,S4,FMT}</Content>

Whereas the dataSource points to PLUGIN and the content is delivered by the Phidgets plugin (reading formatted data from Sensor 4).


__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old May 12th, 2008, 04:48 PM   #6 (permalink)
5 Farad - High Capacity
mangus580's CarPC Specs
 
Join Date: Apr 2008
Location: Western NY
Vehicle: 1999 Chevrolet Suburban
Posts: 50
mangus580 is on a distinguished road
Send a message via AIM to mangus580 Send a message via Yahoo to mangus580
Any chance of having a camera image displayed?
mangus580 is offline   Reply With Quote
Old May 12th, 2008, 04:51 PM   #7 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Quote:
Originally Posted by mangus580 View Post
Any chance of having a camera image displayed?
Not sure what you mean... please explain.
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old May 12th, 2008, 05:10 PM   #8 (permalink)
3 Farad - Moderate Capacity
 
Join Date: Jan 2008
Posts: 18
Greenthumb is on a distinguished road
Quote:
Originally Posted by Zorro View Post
Not sure what you mean... please explain.
I think he means, if you can have an image from the cam-plugin shown.
From what I understand, the developer of the cam-plugin should do this (I believe this is FluxMedia themself).
Greenthumb is offline   Reply With Quote
Old May 12th, 2008, 05:20 PM   #9 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Quote:
Originally Posted by Greenthumb View Post
I think he means, if you can have an image from the cam-plugin shown.
From what I understand, the developer of the cam-plugin should do this (I believe this is FluxMedia themself).
Oh right, I guess you mean a snapshot from the current Cam stream.
Yes, in this case David would have to add a method to retrieve it from the Cam plugin. So, the right answer is: Not yet
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old May 13th, 2008, 11:53 AM   #10 (permalink)
5 Farad - High Capacity
mangus580's CarPC Specs
 
Join Date: Apr 2008
Location: Western NY
Vehicle: 1999 Chevrolet Suburban
Posts: 50
mangus580 is on a distinguished road
Send a message via AIM to mangus580 Send a message via Yahoo to mangus580
Quote:
Originally Posted by Zorro View Post
Oh right, I guess you mean a snapshot from the current Cam stream.
Yes, in this case David would have to add a method to retrieve it from the Cam plugin. So, the right answer is: Not yet
Well, if possible, I would like the current stream to actually show.

My wife is carting kids around all day, and I would like to put a camera in so she can see kids that cant be seen via the mirrors.

Regardless.... I cant wait to put this plugin to use!
mangus580 is offline   Reply With Quote
Reply

Bookmarks

Tags
logodashboard, plugin

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


LinkBacks (?)
LinkBack to this Thread: http://forums.fluxmedia.net/plugin-development/2857-logodashboard-plugin.html
Posted By For Type Date
una casa con centrafuse | VIRGILIO Ricerca | Web This thread Refback November 17th, 2008 10:45 AM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 30th, 2008 02:13 PM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 29th, 2008 12:37 PM
LogoDashboard применительно к AVCLan - Форум об автомобильных компьютерах This thread Refback July 18th, 2008 12:22 PM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 11th, 2008 05:58 PM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 10th, 2008 09:30 AM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 10th, 2008 06:42 AM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 10th, 2008 05:39 AM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 10th, 2008 04:11 AM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 9th, 2008 06:28 PM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 9th, 2008 05:40 PM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 8th, 2008 04:36 PM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 8th, 2008 11:34 AM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 8th, 2008 09:35 AM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 8th, 2008 07:02 AM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 8th, 2008 05:16 AM
www.soloCarputer.com :: Ver tema - LogoDashboard el mejor plugin para CF This thread Refback July 8th, 2008 04:48 AM



All times are GMT -4. The time now is 11:43 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