I am building my own logger (not specifically for track work, just for fun) and having used Racechrono before, I thought it would be handy to have the ability to use Racechrono with all its great features, with data from my logger. No doubt there are others out there that have already had similar thoughts and of course there is already RaceDAC too. I know there are RC1 and RC2 sentences available, but these seem to be intended to be used in conjunction with the internal or an external GPS.
I am suggesting that a new sentence could be created, say $RC3, which could be used by itself.
For example if you had a logger with its own built-in GPS and microprocessor, it could collect the necessary information from the GPS and combine it with analogue signals and then transmit them via a single sentence - something like this:
$RC3 ,UTC Date,UTC Time,Latitude,N/S,Longitude,E/W,Heading,Speed,AN1,AN2,AN3,AN4,AN5,AN6,AN7,AN8,AN9,AN10,AN11,AN12
AN1,...AN12 are the analogue signals (allow for say 12).
In my case, I am not particularly concerned about how many satellites I can see, or my altitude etc, so my logger only collects data from the $GPRMC sentence. However, other information that RaceChrono might like to see could be included in a more general form, like this:
$RC3 ,UTC Date, UTC Time, Latitude, N/S, Longitude, E/W, Heading, Speed, Altitude, No.SatsUsed, GPSModeIndicator, AN1,AN2,AN3,AN4,AN5,AN6,AN7,AN8,AN9,AN10,AN11,AN12
If there is no data for a particular field it could just be left blank in the output, eg
$RC3,170813,133703.533,3343.7754,S,11844.8747,E,267.5,102.3, , , ,-5.6,782,-28.6,5.8,84,0,-12,134,969,431,198,33
The ability to deal with signed, decimal values for the analogue channels rather than just unsigned integers (as I think is the case now for $RC1 and $RC2) would be preferred.
Any thoughts?
Regards
Steve
Comments
What I can do, is to fix the support for stream combining GPS and RC1/2, which I think is broken on the Android version at the moment. If someone send me a file combining the two.
I would like to be able to log data from this AFR controller with a bluetooth spp / uart converter
http://wbo2.com/sw/logger.htm
I can imagine a lot of people having different datastreams they would like to log.
I understand supporting each device separately would be impossible, but a customizable serial sentence might help a lot of us.
Kind regards,
JJ
This is already implemented so you can start prototyping with it immediately.
BTW, next version will support signed decimal values in $RC1 and $RC2 sentences.
The RC data format is this:
$RC2,12,120,,,,,,0,30,,0,,,,*18
$RC2,13,121,,,,,,0,32,,0,,,,*1A
$RC2,13,122,,,,,,0,33,,0,,,,*18
$RC2,13,123,,,,,,0,33,,0,,,,*19
$RC2,13,124,,,,,,0,32,,0,,,,*1F
$RC2,13,125,,,,,,0,29,,0,,,,*14
The first "0" is y-angle, the second value is x-angle "30, 32,.." and the third "0" is gears. This was just data I produced now to show the format. The "12" column and the next, "120..." are just time tics and program loops.
I was using RaceChrono version 2.45
I am trying version 2.90 at the moment and its now saying at the bottom "no data from racedac".
Do I have something wrong with the format above? I assume this is why I may have no data from the weekend using v2.45
Thanks.
Any help would be great.
Thanks.
http://www.hhhh.org/wiml/proj/nmeaxor.html
http://en.wikipedia.org/wiki/NMEA_0183