Few questions..

View: New views
15 Messages — Rating Filter:   Alert me  

Few questions..

by Kwisatz Haderach-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys (and girls I hope :) )

I'm kind of new to gpsdrive so forgive me if I ask Q that was already
discussed (and dropped as stupid) or is clearly written somewhere in
documentation. Simple pointing to right direction will be accepted
with gratitude :).

And now questions:

1. Is there a way I could send route to gpsdrive without using GUI?
i.e. by inserting it into a file which gpsdrive checks like for way
points?

2. Can I make gpsdrive to reload map image that is already using? Kind
of dynamically changed map, but no geographically dynamic, but
direction/time dynamic?

3. was looking for friendsd server specification, but no luck. Is
there something written or should I look at source? I'm looking to
insert GPS data from other devices directly to gpsdrive. From the same
machine. No outside connection. I'm able to dynamically change way
points by inserting/changing them in way.txt, but friendsd looks more
promising to do it elegant. There will be no need to delete data after
there is no reception (if I've understand it correctly).

Hope there is someone who understand what I'm trying to ask and is
willing to answer this questions :)

Thanks for answers and best regards

Branko
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Few questions..

by Joerg Ostertag (gpsdrive Tettnang/Germany) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Donnerstag 07 Mai 2009, Kwisatz Haderach wrote:
> Hi guys (and girls I hope :) )
>
> I'm kind of new to gpsdrive so forgive me if I ask Q that was already
> discussed (and dropped as stupid) or is clearly written somewhere in
> documentation. Simple pointing to right direction will be accepted
> with gratitude :).
>
> And now questions:

...

> 2. Can I make gpsdrive to reload map image that is already using? Kind
> of dynamically changed map, but no geographically dynamic, but
> direction/time dynamic?

You might try to rewrite the map_koords.txt, but I think once a map is loded
it will stay. Maybe changing the name of the map each time you change it
could help.

> 3. was looking for friendsd server specification, but no luck. Is
> there something written or should I look at source? I'm looking to
> insert GPS data from other devices directly to gpsdrive. From the same
> machine. No outside connection. I'm able to dynamically change way
> points by inserting/changing them in way.txt, but friendsd looks more
> promising to do it elegant. There will be no need to delete data after
> there is no reception (if I've understand it correctly).

As what I know the only place for a friendsd description is the source :-(

But you might have another possibility to get waypoints dynamically into
gpsdrive.
 - Either rewrite the way.txt File.
 - Or you might want to have a look in how dynamic waypoints are done with
  the kismet integration.


> Hope there is someone who understand what I'm trying to ask and is
> willing to answer this questions :)

Hope these helped at least a little bit ...

--

Jörg (Germany, Tettnang)

http://www.ostertag.name/
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Few questions..

by Kwisatz Haderach-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, May 7, 2009 at 10:10 PM, Joerg Ostertag (gpsdrive
Tettnang/Germany) <gpsdrive@...> wrote:

> You might try to rewrite the map_koords.txt, but I think once a map is loded
> it will stay. Maybe changing the name of the map each time you change it
> could help.

I've tried to change map (same filename), but had no luck. Picture
stays until position change enough to load new picture. I could try to
change file name, delete old entry in map koords file and reinsert new
info.

I was hoping to get picture regulary updated (i.e. every 20-30
seconds). Maybe this could be a way.

> As what I know the only place for a friendsd description is the source :-(

OK.. I'll have to use force than. Me and Luke Skywalker :D
Or.. tcpdump connection between my comp and existing friendsd server..

> But you might have another possibility to get waypoints dynamically into
> gpsdrive.
>  - Either rewrite the way.txt File.

Tried that way. It is working, but I don't like it. It is always
easier to use network protocols than writing to files. At least to me
:)). Parsing those files and getting/changing data can be done quite
easy, but....

>  - Or you might want to have a look in how dynamic waypoints are done with
>  the kismet integration.

Hmmm.. kismet.. That could be a way. I'll check it.

> Hope these helped at least a little bit ...

It is helping. I was kind of stuck, so any idea cold make me moving.
To be honest, I've got at least 3 different ideas how to make some
parts I need. Just hope I'll remember them when I wake up tomorrow
morning :)

TY
Branko
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Parent Message unknown Re: Few questions..

by hamish_b :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Joerg wrote:
> > You might try to rewrite the map_koords.txt, but I think once a map
> > is loded it will stay. Maybe changing the name of the map each
> > time you change it could help.

probably just a line of code in the sleep loop to force a new map search
every 10-30 sec.
ISTR that map_koord.txt is frequently reloaded (sends a note to the
terminal when it does).

mind the rather bad memory leaks (better: help fix them :)

how about the personal waypoint sqlite db in ~/.gpsdrive/? is that frequently reloaded?


> > As what I know the only place for a friendsd
> > description is the source :-(

Kwisatz wrote:
> OK.. I'll have to use force than. Me and Luke Skywalker :D
> Or.. tcpdump connection between my comp and existing
> friendsd server..

the source sounds more commented to me, but I guess the raw protocol just
gets straight to the point :)


> It is helping. I was kind of stuck, so any idea cold make me moving.
> To be honest, I've got at least 3 different ideas how to make some
> parts I need. Just hope I'll remember them when I wake up tomorrow
> morning :)

I've had some ideas about this in the past, so shortest path routing
is highlighted on the map tile. A live vector line solution would be
much better, but...
http://apps.sourceforge.net/mediawiki/gpsdrive/index.php?title=Driving_directions#Ideas


Hamish

ps - semi-related: I've been meaning to mention, ESR is working on AIS
support for gpsd lately:
http://apps.sourceforge.net/mediawiki/gpsdrive/index.php?title=Marine_Howto#Plotting_AIS_real-time_ship_data



     

_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Parent Message unknown Re: Few questions..

by hamish_b :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Kwisatz Haderach wrote:

> 1. Is there a way I could send route to gpsdrive without using GUI?
> i.e. by inserting it into a file which gpsdrive checks like for way
> points?

see also the GPX track solution on the Driving_Directions wiki page.


Hamish



     

_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Few questions..

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Donnerstag 07 Mai 2009 schrieb Kwisatz Haderach:
> 1. Is there a way I could send route to gpsdrive without using GUI?
> i.e. by inserting it into a file which gpsdrive checks like for way
> points?
>
if you have your route as gpx-file, it should be possible to simply load it.

> 3. was looking for friendsd server specification, but no luck. Is
> there something written or should I look at source? I'm looking to
> insert GPS data from other devices directly to gpsdrive. From the same
> machine. No outside connection. I'm able to dynamically change way
> points by inserting/changing them in way.txt, but friendsd looks more
> promising to do it elegant. There will be no need to delete data after
> there is no reception (if I've understand it correctly).
>
you could also write directly to the sqlite database, but I guess, friendsd
should be the better way.
may ask, what kind of data do you want to use?



_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

signature.asc (204 bytes) Download Attachment

Re: Few questions..

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Freitag 08 Mai 2009 schrieb Hamish:
> how about the personal waypoint sqlite db in ~/.gpsdrive/? is that
> frequently reloaded?
>
the friendsd data and the kismet data is dynamically written to the database.
AFAIR the points are reloaded in some intervals when the current position is
moving, and when some settings have been changed.
but this could be optimized; just like the whole map drawing thing...

> ps - semi-related: I've been meaning to mention, ESR is working on AIS
> support for gpsd lately:
> http://apps.sourceforge.net/mediawiki/gpsdrive/index.php?title=Marine_Howto
>#Plotting_AIS_real-time_ship_data
>
nice...


_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

signature.asc (204 bytes) Download Attachment

Re: Few questions..

by Kwisatz Haderach-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> if you have your route as gpx-file, it should be possible to simply load it.

I was really looking for something more simple. Boat navigation for up
to 10 points to check. No fancy routes. As simple as could be. And
also to be done outside of gpsdrive. Data should be just provided to
gpsdrive for display. Probably used with what is written in latter
part of this mail.

> you could also write directly to the sqlite database, but I guess, friendsd
> should be the better way.
> may ask, what kind of data do you want to use?

Several devices should send GPS location, I'm supposed to receive it
and display it on screen with device unique name (which is also sent).
If no data - no display. I'm not interested in using databases for
this. As I've written in first mail, I can use way.txt, but this is
more promising. More elegant.

As gpsdrive is here, I'd prefer to use it than try to develop hot water :D


Branko
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Few questions..

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Freitag 08 Mai 2009 schrieb Kwisatz Haderach:
> > if you have your route as gpx-file, it should be possible to simply load
> > it.
>
> I was really looking for something more simple. Boat navigation for up
> to 10 points to check. No fancy routes. As simple as could be. And
> also to be done outside of gpsdrive. Data should be just provided to
> gpsdrive for display. Probably used with what is written in latter
> part of this mail.
>
there may be a solution:
I recently added some code to attach external routing modules to gpsdrive.
this was mainly designed for automatic route calculation, but it would be no
problem, to provide a module that gets its data from any other source.
but as this one is very new, it will not be activated before the upcoming 2.10
release.


> > you could also write directly to the sqlite database, but I guess,
> > friendsd should be the better way.
> > may ask, what kind of data do you want to use?
>
> Several devices should send GPS location, I'm supposed to receive it
> and display it on screen with device unique name (which is also sent).
> If no data - no display. I'm not interested in using databases for
> this. As I've written in first mail, I can use way.txt, but this is
> more promising. More elegant.
>
sounds like friendsd really would be a good choice...



_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

signature.asc (204 bytes) Download Attachment

Re: Few questions..

by Chris Herrnberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 08 May 2009 18:54:40 Guenther Meyer wrote:

> but it would be
> no problem, to provide a module that gets its data from any other source.

That sounds very interesting and promissing. What data could this module
accept.  


--

/ch
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Few questions..

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Samstag 09 Mai 2009 schrieb chris h:
> On Friday 08 May 2009 18:54:40 Guenther Meyer wrote:
> > but it would be
> > no problem, to provide a module that gets its data from any other source.
>
> That sounds very interesting and promissing. What data could this module
> accept.

anything somebody may code ;-)
to be more specific, any list of points forming a route, with information for
latitude, longitude, short name, instruction and type for each point.

currently only a dummy module has been done as an example, but I will have a
look at writing one to include openrouteservice soon...
 



_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

signature.asc (204 bytes) Download Attachment

Parent Message unknown Re: Few questions..

by hamish_b :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> > if you have your route as gpx-file, it should be possible to
> > simply load it.
Branko wrote:
> I was really looking for something more simple.

can't get much simpler -- put your points in a file, run
gpsbabel to convert that to a GPX route, done in 1/10 sec.

> Boat navigation for up to 10 points to check. No fancy routes.

this is essentially what I do. In QGIS we digitize a 10-15 point
line over a chart or aerial photograph to set up our survey
line. the line is saved locally by qgis as a shapefile. then we
use QGIS's GPS output tool to make GPX route and waypoint files
for the line. we then both upload the GPX files into the GPS
via gpsbabel and show them on the gpsdrive display too with the
file -> import -> gpx route option. then we run the lines as
close as we can steer.

It's my hope to activate the "cross track error*" dashboard item
soon, but I got stalled. I think all it really needs is to be
able to remember what the last route point was after it has
passed it.

[*] XTE is how far to the left/right off the planned track line
you have drifted (perpendicular)


> As simple as could be.

I find the above solution very easy. gpsbabel and QGIS output
tools make it a one liner to convert to GPX.

> Several devices should send GPS location, I'm supposed to
> receive it and display it on screen with device unique name
> (which is also sent).
> If no data - no display. I'm not interested in using databases
> for this. As I've written in first mail, I can use way.txt,
> but this is more promising. More elegant.

which is essentially AIS delivered by friendsd, something we've
been thinking about for a while, or pretty much what friendsd
does already.

see also gpsd's multiple GPS input on one machine, and gpsdrive's
--gpsd-server=<SERVER> option: "servername for NMEA server (if
gpsd runs on another host)"


Hamish



     

_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Few questions..

by Kwisatz Haderach-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, May 9, 2009 at 3:56 PM, Hamish <hamish_b@...> wrote:

> we then both upload the GPX files into the GPS
> via gpsbabel and show them on the gpsdrive display too with the
> file -> import -> gpx route option. then we run the lines as
> close as we can steer.

tell a fisherman he need to keep one eye on his net, second on boat
and third on PC and he'll start to throw fish on you.. which, (to be
honest, with today fish prices) is not bad if you can catch it :DDD..
Route should be dynamically generated (from devices GPS position) by
several parameters. GPX file generation is not a problem. Inserting it
into gpsdrive automatically might be, but with that module Guenther is
writing it could be piece of cake.

>> Several devices should send GPS location, I'm supposed to
>> receive it and display it on screen with device unique name
>> (which is also sent).
>> If no data - no display. I'm not interested in using databases
>> for this. As I've written in first mail, I can use way.txt,
>> but this is more promising. More elegant.
>
> which is essentially AIS delivered by friendsd, something we've
> been thinking about for a while, or pretty much what friendsd
> does already.

Kind of. Yes. Not full AIS, but it could be implemented quite easy
with this logic and several lines of code. In any
programming/scripting language.

> see also gpsd's multiple GPS input on one machine, and gpsdrive's
> --gpsd-server=<SERVER> option: "servername for NMEA server (if
> gpsd runs on another host)"

I will.. Thanks..

> Hamish

P.S.
Thank you people. Help is what I need and what I get from you!
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Few questions..

by Chris Herrnberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Saturday 09 May 2009 01:36:52 Guenther Meyer wrote:
> anything somebody may code ;-)

> currently only a dummy module has been done as an example, but I will have
> a look at writing one to include openrouteservice soon...

If their is an interest in AIS data that would be really practical or will
that be addressed eventually via gpsd?

--

/ch
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Parent Message unknown Re: Few questions..

by hamish_b :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


chris wrote:
> If their is an interest in AIS data that would be really
> practical or will that be addressed eventually via gpsd?

fyi, more chatter about it today over on the gpsd list:
 https://lists.berlios.de/pipermail/gpsd-users/2009-May/003725.html


"eventually" may come sooner for once..


Hamish



     

_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive