[06:49:08] *** Quits: ilovekiruna (~Patrick@2001:638:605:e00::1032) (Quit: Leaving.) [06:58:01] is there a way to test the routing engine in the command line? [07:00:11] no easy to use way, but if could be possible to set up a "headless" navit with gui and graphics set to null within the navit.xml and then use the api to set start and destination and after route calculation is over export a gpx [07:03:38] thanks!! where can I find some info about enabling the headless mode? i figured out there is a navit->flag that allows the process to start without GUI/graphics available, but then I still get: event_main_loop_run:Can't find event system method main_loop_run. Event system is not set. [07:04:43] are you new to navit, or do you alredy have some experience with how navit functions? [07:05:02] i do have plugin_register_category_event("null", event_null_new); called, but it seems like this is not enough to have the event_methods inited [07:05:16] I'm new, very new [07:05:23] ah okay [07:05:27] one sec [07:06:21] this wiki page contains a lot of informations on how to configure the graphics: https://wiki.navit-project.org/index.php/Configuration/Display_Options [07:06:51] if you set type to null for gui and graphics it should work [07:09:01] i will look info the event system problem. As far i know it should have worked, but need to recheck [07:11:26] Thanks!! [07:27:10] try to add event_loop_system="glib" to the graphics config, this should work [07:31:21] for the apoi calls you can then use dbus or python. https://wiki.navit-project.org/index.php/Dbus https://github.com/navit-gps/navit/blob/trunk/navit/binding/python/startup.py [07:33:54] thanks, let me try [07:39:27] looks better, I'm using and don't see the Can't find event system method main_loop_run anymore!! )) [07:39:37] nice :-) [07:39:53] thats the headless setup [07:41:10] for the python - which one is better 3 or 2? [07:41:49] alywasy 3 but i couldent get it running so far. So better try dbus for now [08:22:49] so my cmake tells me --->>> binding Enabled dbus ( dbus-glib-1 found ) and make seems to work fine (I disabled the SAMPLE_MAP which somehow fails on an assert), but where is the dbus module for the import? [08:23:45] what import do you mean? [08:24:21] https://github.com/navit-gps/navit/blob/8f45131a233a37880e07cd1a389fb7438225c7c0/navit/binding/dbus/test.py#L2 [08:24:52] can't find any artifacts created (( [08:25:56] you just need to enable the plugin as follows: https://wiki.navit-project.org/index.php/Dbus#Enabling and after that you can use the shell command from the same page with dbus-send from the dbus packages/utils. The dbus python module can be used as well, but needs to be installed seperatly [08:26:45] oh! thanks! [08:36:27] it seems like X11 is a prerequisite (( [08:38:16] why? [08:40:10] i dont see a reason for it to be like this. Do you mean on navit side or dbus? [08:44:59] Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [08:45:13] error:binding_dbus:plugin_init:Failed to open connection to session message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [08:45:52] it also appears my system doesn't have /usr/bin/dbus-launch for no reason [08:46:39] interesting 😕 [08:46:49] neet to look into it later this day [09:12:40] hi @ChriChri [09:15:26] *** Joins: ilovekiruna (~Patrick@staff0446.wlan.tu-clausthal.de) [09:15:26] *** ChanServ sets mode: +v ilovekiruna [11:33:43] *** Quits: ilovekiruna (~Patrick@staff0446.wlan.tu-clausthal.de) (Read error: Connection reset by peer) [17:36:22] Is there a setting to make navit track your car? Currently it just moves the map when the car leaves the map. [17:36:29] For me [17:36:50] yes it is, let me just look up the name [17:42:55] Try ath the vehicle tag: follow="1" [17:54:53] @cyberpunksister does this work? [18:07:51] I'll try next time I drive [18:07:53] Thanks [18:28:24] okay, no problem