|
View:
New views
16 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: [Gpsd-commit-watch] r4727 - trunkJeff Francis <jeff@...>:
> rtcm3.c:189: error: width of 'ecef_x' exceeds its type > rtcm3.c:194: error: width of 'ecef_y' exceeds its type > rtcm3.c:197: error: width of 'ecef_z' exceeds its type > rtcm3.c:210: error: width of 'ecef_x' exceeds its type > rtcm3.c:215: error: width of 'ecef_y' exceeds its type > rtcm3.c:218: error: width of 'ecef_z' exceeds its type Hm. Are you on a 32-bit machine? -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunk Yep.
Eric S. Raymond wrote: > Jeff Francis <jeff@...>: >> rtcm3.c:189: error: width of 'ecef_x' exceeds its type >> rtcm3.c:194: error: width of 'ecef_y' exceeds its type >> rtcm3.c:197: error: width of 'ecef_z' exceeds its type >> rtcm3.c:210: error: width of 'ecef_x' exceeds its type >> rtcm3.c:215: error: width of 'ecef_y' exceeds its type >> rtcm3.c:218: error: width of 'ecef_z' exceeds its type > > Hm. Are you on a 32-bit machine? _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkreproducible. i'll make 'em long-long and add a configure test to
require 64-bit long-longs (which we already assume in bits.h) On Thu, Jul 10, 2008 at 12:31 PM, Jeff Francis <jeff@...> wrote: > Yep. > > Eric S. Raymond wrote: >> Jeff Francis <jeff@...>: >>> rtcm3.c:189: error: width of 'ecef_x' exceeds its type >>> rtcm3.c:194: error: width of 'ecef_y' exceeds its type >>> rtcm3.c:197: error: width of 'ecef_z' exceeds its type >>> rtcm3.c:210: error: width of 'ecef_x' exceeds its type >>> rtcm3.c:215: error: width of 'ecef_y' exceeds its type >>> rtcm3.c:218: error: width of 'ecef_z' exceeds its type >> >> Hm. Are you on a 32-bit machine? > > _______________________________________________ > Gpsd-dev mailing list > Gpsd-dev@... > https://lists.berlios.de/mailman/listinfo/gpsd-dev > -- GDB has a 'break' feature; why doesn't it have 'fix' too? _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkChris Kuethe <chris.kuethe@...>:
> reproducible. i'll make 'em long-long and add a configure test to > require 64-bit long-longs (which we already assume in bits.h) OK, that's good. I'll add an appropriate portability warning to the header comment -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkHi,
one of the missing rtcm3 bits seems to be "teach ntrip.c about it". ;-) The other bit is documentation. Does gpsd forward the RTCM stream to my GPS receiver? (What if the thing uses a different serial port for that?) And/or does it apply RTCM corrections itself? if both, how does it decide? Anyway, one option I'd also like to have is to forward the raw RTCM stream somewhere. (Some receivers use a separate serial port for that.) -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@... Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - Her lips are roses overwashed with dew. -- Greene _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkMatthias Urlichs <smurf@...>:
> one of the missing rtcm3 bits seems to be "teach ntrip.c about it". ;-) OK, what should ntrip.c do? > The other bit is documentation. Does gpsd forward the RTCM stream > to my GPS receiver? (What if the thing uses a different serial port for > that?) And/or does it apply RTCM corrections itself? if both, how does > it decide? At the moment, yes. Any RTCM2 stream received is forwarded to all attached devices with types that have a 'pass_rtcm' rtcm_writer. This will be true of RTCM3 too, shortly; I'm still debugging recognition of RTCM3 packets. > Anyway, one option I'd also like to have is to forward the raw RTCM > stream somewhere. (Some receivers use a separate serial port for that.) There's no support for that right now. Probably the right thing would be a command to declare an RTCM device port. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkHi,
Eric S. Raymond: > Matthias Urlichs <smurf@...>: > > one of the missing rtcm3 bits seems to be "teach ntrip.c about it". ;-) > > OK, what should ntrip.c do? > The hack below may actually be sufficient, haven't tested any of it yet, obviously. diff --git a/ntrip.c b/ntrip.c index daf59f4..639be8d 100644 --- a/ntrip.c +++ b/ntrip.c @@ -19,7 +19,7 @@ struct ntrip_stream_t { char mountpoint[101]; - enum { fmt_rtcm2, fmt_rtcm2_0, fmt_rtcm2_1, fmt_rtcm2_2, fmt_rtcm2_3, fmt_unknown } format; + enum { fmt_rtcm2, fmt_rtcm2_0, fmt_rtcm2_1, fmt_rtcm2_2, fmt_rtcm2_3, fmt_rtcm3, fmt_unknown } format; int carrier; double latitude; double longitude; @@ -96,6 +96,8 @@ static void ntrip_str_parse(char *str, size_t len, hold->format = fmt_rtcm2_2; else if (strcasecmp("RTCM 2.3", s)==0) hold->format = fmt_rtcm2_3; + else if (strcasecmp("RTCM 3.0", s)==0) + hold->format = fmt_rtcm3; else hold->format = fmt_unknown; } > > The other bit is documentation. Does gpsd forward the RTCM stream > > to my GPS receiver? (What if the thing uses a different serial port for > > that?) And/or does it apply RTCM corrections itself? if both, how does > > it decide? > > At the moment, yes. Any RTCM2 stream received is forwarded to all attached > devices with types that have a 'pass_rtcm' rtcm_writer. This will be true of > RTCM3 too, shortly; I'm still debugging recognition of RTCM3 packets. > OK. One thing I'd like to use RTCM3 for is offline correction of my NMEA / gpsd stream; when I go openstreetmapping or geocaching somewhere in the wilderness I'm unlikely to have Internet, so I'd have to postprocess the data. If not, I guess I'll have to buy two identical receivers, feed the RTCM stream to only one of them, and remember the offsets for later. Not perfect, but it should work reasonably well. > > Anyway, one option I'd also like to have is to forward the raw RTCM > > stream somewhere. (Some receivers use a separate serial port for that.) > > There's no support for that right now. Probably the right thing would be > a command to declare an RTCM device port. That sounds about right. "Start/stop feeding RTCM to device X" would be a good command to have in any case. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@... Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - Better to throw it out -- than throw it in. -- Skinny Mitchell _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkMatthias Urlichs <smurf@...>:
> The hack below may actually be sufficient, haven't tested any of it > yet, obviously. Applied. Please test, as I don't have the equipment or knowledge to do it myself. > One thing I'd like to use RTCM3 for is offline correction of my NMEA / > gpsd stream; when I go openstreetmapping or geocaching somewhere in the > wilderness I'm unlikely to have Internet, so I'd have to postprocess > the data. What facility, if any, do you want in gpsd to support this? > > There's no support for that right now. Probably the right thing would be > > a command to declare an RTCM device port. > > That sounds about right. "Start/stop feeding RTCM to device X" would be > a good command to have in any case. Added to the to-do list. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunk>> One thing I'd like to use RTCM3 for is offline correction of my NMEA /
>> gpsd stream; when I go openstreetmapping or geocaching somewhere in the >> wilderness I'm unlikely to have Internet, so I'd have to postprocess >> the data. > > What facility, if any, do you want in gpsd to support this? In my mind, it makes sense to have a "fake" gps source (which I think we have already), as well as a demo program that just streams all the gps data to disk (I think we just have "gps/xgps" to monitor things, maybe they stream to disk already). Seems to me, a demo app that just logs the rtcm as well would make sense (given the implementation of a port for receiveing rtcm like the existing one for gps). I suppose one could argue the point of making a seperate rtcmd (dgpsd?) vs. adding the functionality to gpsd itself (which is already done, of course). I'm all for keeping everything gps-related in one daemon, don't get me wrong. It just popped into my head. On a completely different note, the last few emails led me to believe that gpsd is not applying corrections on it's own, but just streaming them back to any enabled gps. I thought gpsd was supposed to do corrections on it's own to it's output stream, for non-dgps-ready devices, to add dgps to them. Is that not the case? Steve _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkSteve Franks <stevefranks@...>:
> On a completely different note, the last few emails led me to believe > that gpsd is not applying corrections on it's own, but just streaming > them back to any enabled gps. That is correct. > I thought gpsd was supposed to do > corrections on it's own to it's output stream, for non-dgps-ready > devices, to add dgps to them. Is that not the case? Correct, it is not the case. I wouldn't have the faintest idea how to do that, and it would probably be computationally expensive and error-prone if I did. I';ll add a note to the docs about this. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkOn Mon, Jul 14, 2008 at 1:18 PM, Eric S. Raymond <esr@...> wrote:
> Steve Franks <stevefranks@...>: >> On a completely different note, the last few emails led me to believe >> that gpsd is not applying corrections on it's own, but just streaming >> them back to any enabled gps. > > That is correct. > >> I thought gpsd was supposed to do >> corrections on it's own to it's output stream, for non-dgps-ready >> devices, to add dgps to them. Is that not the case? > > Correct, it is not the case. I wouldn't have the faintest idea how to do that, > and it would probably be computationally expensive and error-prone if I did. > > I';ll add a note to the docs about this. So this begs the question, why/how are you parsing the data? Don't most DGPS's use the raw RTCM 2.1/3.0 as an input as-is? (of course, parsing CMR input into an RTCM output would still be handy - most surveyors are going around outputting CMR, and the ability to use it on an RTCM-capable DGPS would add possibly tens of new sources of corrections for urban users, especially as a 35W transmitter is fairly standard, you can pick them up a long way off at 450MHz [might make a new market for 450MHz GMSK radios]) Best, Steve _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkSteve Franks <stevefranks@...>:
> So this begs the question, why/how are you parsing the data? Basically so people can see it if they want - atmospheric physicists, for example. And to enable downstream tools that haven't been written yet. And because I view it as gpsd's job to make visible as many of the data flows sloshing around the GPS system as possible. > Don't most DGPS's use the raw RTCM 2.1/3.0 as an input as-is? Yes. I think it is already the case that svn gpsd passes RTCM3.0 through to GPSes correctly. But I am not equipped to test this, and would welcome confirmation or bug reports. At the present state of play, rtcmdecode doesn't work on RTCM 3.0 yet. I don't think I'm more than a few working days from fixing that. > (of course, > parsing CMR input into an RTCM output would still be handy - most > surveyors are going around outputting CMR, and the ability to use it > on an RTCM-capable DGPS would add possibly tens of new sources of > corrections for urban users, especially as a 35W transmitter is fairly > standard, you can pick them up a long way off at 450MHz [might make a > new market for 450MHz GMSK radios]) I have not even looked at CMR yet. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-dev mailing list Gpsd-dev@... https://lists.berlios.de/mailman/listinfo/gpsd-dev |
|
|
Re: [Gpsd-commit-watch] r4727 - trunkHi,
Eric S. Raymond: > Matthias Urlichs <smurf@...>: > > The hack below may actually be sufficient, haven't tested any of it > > yet, obviously. > > Applied. Please test, as I don't have the equipment or knowledge to do it > myself. > Will do soon. > > One thing I'd like to use RTCM3 for is offline correction of my NMEA / > > gpsd stream; when I go openstreetmapping or geocaching somewhere in the > > wilderness I'm unlikely to have Internet, so I'd have to postprocess > > the data. > > What facility, if any, do you want in gpsd to support this? > Dunno yet. Postprocessing requires a steam of timestamp+offset-for-lat/long/height messages that I can apply to the track and waypoint data(*). That may be extractable from the RTCM stream; I haven't checked yet. If not, I'd connect two identical GPS receivers, send RTCM to only one of them, and store the differences between their reported positions. Also, since a RTCM streamer can deliver a data stream tailored to my location (by interpolating between multiple "real" receivers), I'd like an option to request correction data for some place other than what the receivers say (assuming that the machine which receives RTCM from the net even has any receiver). (*) High-end commercial surveying systems which do this kind of post-processing store the raw satellite reception parameters (i.e. signal offset and phase) instead of the waypoint coordinate, and apply the RTCM corrections before they calculate their position, thereby delivering another order of magnitude of accuracy. Unfortunately that's all proprietary AFAIK; even if it wasn't, somebody would have to write code for GPS analysis. Which is NOT easy. I'm somewhat annoyed about the fact that all this effort would be mostly unnecessary if the 2-GHz signal wasn't encrypted, |