[Ovmsdev] Internal GPS now available

Mark Webb-Johnson mark at webb-johnson.net
Mon Nov 5 21:02:39 HKT 2012


I've merged these in to master. Will need some work to integrate nicely, but the code is there for development at the moment.

Regards, Mark.

On 4 Nov, 2012, at 10:43 AM, Mark Webb-Johnson <mark at webb-johnson.net> wrote:

> Michael,
> 
> Brilliant! That is:
> https://github.com/markwj/Open-Vehicle-Monitoring-System/issues/72
> that I've been trying to find time to get around to for a long time now.
> 
> Your implementation looks good, and I'll try to merge it in with the mainline code. I'll also try to bring in your Twizy code, as it is today, as well.
> 
> Regards, Mark.
> 
> On 4 Nov, 2012, at 4:25 AM, Michael Balzer <dexter at expeedo.de> wrote:
> 
>> For those driving budget cars without onboard GPS (like the Twizy ;):
>> 
>> https://github.com/dexterbg/Open-Vehicle-Monitoring-System/commit/600e086348ce6eaf1d39e1b48822e024b91b8c6d
>> 
>> Internal GPS integration:
>> 
>> - optionally use internal SIM908 GPS instead of car GPS
>>  (note: needs GPS antenna)
>>  controlled by new compiler switch: OVMS_INTERNALGPS
>> 
>> - will poll for GPS data once per second while driving (speed > 0)
>>  else once every 5 minutes to be able to trace theft / transportation
>> 
>> - reduced Google maps SMS to just coordinates for compatibility
>>  with Google Maps App
>> 
>> This commit contains no Twizy specific changes, should be suitable
>> for any other car without GPS on CAN bus.
>> 
>> 
>> @List: I'm a bit frustrated about having to reinvent atof(). I gave up on the lib version, it just produced funny float values (not 0 or something explainable). Found nothing helpful on the web, definitely no type, prototype or linker problem.
>> 
>> A new Twizy commit is also there, not much of a change though. Using the internal GPS with a decent antenna works like a charm though, quite accurate and fast. I intend to use the altitude to calculate a better energy usage / range estimation, as the Twizy estimation drops too fast when driving uphills.
>> 
>> Regards,
>> Michael
>> 
>> -- 
>> Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
>> Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
>> 
>> <dexter.vcf>_______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20121105/b4ecd3e8/attachment.htm>


More information about the OvmsDev mailing list