[00:31:06] *** Quits: Horwitz (~mich1@p200300EC9BC38D00022268FFFE64E7C4.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) [00:44:08] *** Joins: Horwitz (~mich1@p200300EC9BC2FB00022268FFFE64E7C4.dip0.t-ipconnect.de) [00:44:08] *** ChanServ sets mode: +o Horwitz [02:30:30] *** Joins: frankpintosr (47edf4f6@c-71-237-244-246.hsd1.or.comcast.net) [02:34:46] Hello I am trying to leverage a seperate config file for osd settings. The wiki says I need to insert But where? I just paste that line and nothing else? [03:46:36] Hi. Thank you kazer for the link. @ilovekiruna: I'm working on a traffic plugin to receive traff messages using mqtt to be able to share traff messages with other users. I would like to configure the broker url in the navit.xml. So I will have a look at the spotify plugin. [04:02:48] *** Joins: xenos1984 (~xenos1984@a5c7-03da-237c-2430-d480-87c4-07d0-2001.dyn.estpak.ee) [04:02:48] *** ChanServ sets mode: +v xenos1984 [07:32:55] *** Quits: xenos1984 (~xenos1984@a5c7-03da-237c-2430-d480-87c4-07d0-2001.dyn.estpak.ee) (Ping timeout: 250 seconds) [09:06:12] *** Quits: frankpintosr (47edf4f6@c-71-237-244-246.hsd1.or.comcast.net) (Remote host closed the connection) [12:47:13] *** Joins: xenos1984 (~xenos1984@a5c7-03da-237c-2430-d480-87c4-07d0-2001.dyn.estpak.ee) [12:47:14] *** ChanServ sets mode: +v xenos1984 [15:27:24] OLFDB: perfect. that makes sense and I can help you [16:22:22] *** Quits: extor (~extor@unaffiliated/extor) (Read error: Connection reset by peer) [17:22:30] *** Joins: gernot2 (5ed83d3f@dslb-094-216-061-063.094.216.pools.vodafone-ip.de) [17:22:53] hi [17:23:12] hi gernot2 [17:23:43] I tried to build the apk with D9. [17:23:56] make work well [17:24:12] make apkb fail with a cmale error. [17:25:06] I can only use cmake 3.13 [17:25:17] looks like the syntax changed [17:26:19] May be its better to install ubuntu [17:27:33] D9? [17:28:24] debian 9 [17:31:32] ah [17:32:16] could you please mak an additonal test? [17:33:26] sure [17:36:03] Remove line 2728 and 2729 (the navit ignore button) ant the return [17:36:39] in osd_core.c [17:36:46] all other original [17:37:17] Its to understand while this line is need [17:37:40] while =why [17:47:02] you mean the return which we added? [17:47:35] No. we added a return. [17:48:09] The file should look like original, but without the two lines. [17:48:14] ok [17:48:59] https://github.com/navit-gps/navit/blob/0f08c04dd9816533ffbaa2b684b8b0d57f0da9a5/navit/osd/core/osd_core.c#L2728 [17:56:23] gernot2: https://1204-91258918-gh.circle-artifacts.com/0/apk/debug/android-debug.apk [17:56:40] kazer, jkoan: are you around? [17:59:37] hmmm. it dont work like taught [18:01:01] behave like (navit_ignore_button(nav)) is not removed. [18:01:21] there must also be an other problem [18:05:06] if (button != 1) return; /* if (navit_ignore_button(nav)) */ /* return; */ if (!!pressed == !!opc->osd_item.pressed) return; this->active = !this->active; /* osd_speed_warner_draw(opc, nav, NULL);*/} [18:05:26] soor bad formated. i use pastebin [18:05:34] sure [18:05:37] sorry [18:05:48] gernot2: sth else. Do you have experience with the rpi? [18:06:38] yes i have some raspy server running [18:06:51] maybe you could give me some hints [18:06:55] I got my first one now [18:07:05] sure [18:07:13] ahich one? [18:07:18] which one? [18:07:25] rpi3b+ [18:07:40] wondering if I can do my first setup right without using any connected devices, i.e. use ssh directly [18:08:03] i have also an 3b+ here [18:09:11] not sure, but i think ssh is by default off. [18:09:29] yes, I read i could activate it by placing a ssh file in the root [18:09:58] yes you can mount the image and modify it [18:11:22] how can i see if the booting worked without connecting a screen? [18:13:01] you see somethin on the activity led. The Network link stay dark till the firmware get loaded. [18:14:33] how long should I expect it to take for loading the firmware? [18:16:23] https://pastebin.com/beNiapnL last try.... [18:16:32] 10 seconds [18:17:15] you need a connected network cable to see the link LED [18:17:48] ah, you meant the green led, right? [18:19:39] mom. I try it. One LED at the network connector is link the other is activity [18:20:05] i just have the greenish one lighted up [18:21:40] yes, the green is it Link and activity [18:22:25] I think the gigabit use the yellow led for 1000mbit [18:22:44] *** Joins: jandegr (b9c2bb8d@185.194.187.141) [18:22:44] *** ChanServ sets mode: +v jandegr [18:23:25] This changed with rpi3b+ [18:25:41] headless ssh activation: https://www.raspberrypi.org/forums/viewtopic.php?t=176216 [18:26:55] build of the changes is ongoing [18:27:01] first was failing in sanity checks [18:38:50] new file: https://1216-91258918-gh.circle-artifacts.com/0/apk/debug/android-debug.apk [18:43:55] Ok. Now i know why. [18:45:17] Now Scrolling work well, but... [18:46:24] a tap to speedwarner toggle like excepted, but then opens the menu. [18:48:32] the navit_ignore_button is used to avoid that the tap is detected for GUI [18:48:43] so its hard to fix [18:49:48] *** Quits: gernot2 (5ed83d3f@dslb-094-216-061-063.094.216.pools.vodafone-ip.de) (Remote host closed the connection) [18:50:18] *** Joins: gernot2 (5ed83d3f@dslb-094-216-061-063.094.216.pools.vodafone-ip.de) [18:50:52] and for the other elements it wasnt required because they are not clickable, right? [18:52:40] buttons and compass are also clickable but use other system. [18:52:59] could we adopt that? [18:53:56] *** Quits: jandegr (b9c2bb8d@185.194.187.141) (Remote host closed the connection) [18:53:58] compass is a candidate, but it use only a callback if you add a user command [18:54:28] i read about and try (hard) to understand a bit [18:58:48] just to shift the focus again [18:59:07] compass use osd_std_click [18:59:09] I wonder if we can still manage this with the NavitGraphics.java file [18:59:29] it should trigger sth different when dragging than when clicking [18:59:38] I think it shold solved there, but i dont understand this [19:01:06] you mean in the java file? [19:01:12] or in osd_core? [19:01:27] if a scroll is started a flag should be set. At the end of all callbacks this flag should be tested [19:02:19] in the java files. Because the android scrolling is very different to all other plattforms [19:03:36] I would like to comment line 310 [19:03:52] which file? [19:04:13] NavitGraphics.java [19:04:25] https://github.com/navit-gps/navit/blob/0f08c04dd9816533ffbaa2b684b8b0d57f0da9a5/navit/android/src/org/navitproject/navit/NavitGraphics.java#L310 [19:05:05] and in another commit i want to test including line 332 in the if statement above [19:05:29] good idea [19:06:17] now i will just restore the old config [19:07:30] its only called while scrolling, but i think the button callback is used to initiate the "recenter/redraw" [19:09:05] The Button Callback is called with two additional constants. May be they are usable. [19:14:20] what surprises me about the rpi is that my router does not seem to provide any ip to it [19:14:26] at least i see nothing in the router [19:18:30] it should get a IP by default. [19:18:44] have you nmap? [19:18:58] which address range? [19:19:05] yes, using it right now [19:23:02] same IP range like your PC e.g. 192.168.178.0/24 for fritzbox [19:23:41] i know the ip range of my computer [19:23:46] am scanning it right now [19:25:29] new artifact with line 310 disabled: https://1224-91258918-gh.circle-artifacts.com/0/apk/debug/android-debug.apk [19:29:04] ok, I think you are right, it is necessary for redrawing [19:30:11] yes redraw is broken like sxcepted [19:36:11] i found a small difference in the callback from compass and speedwarner. [19:36:37] this->pressed = pressed; [19:36:51] nothing else [19:37:41] building now the second idea [19:38:10] didnt find my rpi in nmap [19:38:56] try to replug the network cable [19:45:03] new build: https://1229-91258918-gh.circle-artifacts.com/0/apk/debug/android-debug.apk [19:46:27] https://pastebin.com/GQhacbTD modifyed like compass [19:48:10] even broken. [19:51:44] you tested with an old build? [19:54:22] new build [19:54:53] test again? maybe something was wrong? [19:55:33] sorry. i missed something. [19:55:36] mom [19:59:12] Ok scrolling work, scrolling to speedwarner freeze [20:00:09] navit exit is now broken [20:01:02] navit exit button work only while sliding into [20:05:50] I think your conclusions are good [20:05:55] convinced now [20:11:06] this line es can stay. they are also in std_click if (!!pressed == !!this->pressed) [20:11:37] and the matching return also [20:12:25] but the additional line has to be after this. [20:14:40] I meant did you build it modified like compass? [20:14:43] I didnt do that yet [20:16:16] yes like compass. [20:16:41] the lines are used in compass. [20:19:52] here is the modification for speedwarner https://pastebin.com/KhhQrfqM [20:21:49] btw only for the record: i hate sanity checks [20:22:47] like used in osd_std_click [20:22:56] :-) [20:23:26] in our continious integration there is a first sanity check [20:23:33] it is pretty sensitive to identation [20:25:07] I am still with https://pastebin.com/GQhacbTD [20:25:57] ok. we see what we want to see :-) [20:26:29] <06frankpintosr> Hi All, I could use a bit of direction please. I have installed Navit on my Raspberry Pi 3 model B+ with Raspbian OS. I am trying to leverage a settings template as shown here: https://wiki.navit-project.org/index.php/OSD_Layouts#10.2.22_glossy_netbook_layout however I am unable to figure out where or axactly what to put into the navit.xml file. [20:29:21] help this? https://wiki.navit-project.org/index.php/Configuration/Full_list_of_options [20:31:43] all lines in your link are in the osd section. You find some osd lines in the default navit.xml [20:31:51] <06frankpintosr> I have read that page several tyimes but as a complete noob I am definitly missing something. [20:33:11] <06frankpintosr> On the top of the page it shows this but I can't figure out where to place this and if this is the exact syntax or not. [20:34:21] hi @frankpintosr [20:35:05] so the exact answer depends of the first tag of your layout. let me see [20:35:14] <06frankpintosr> hi @kazer [20:35:32] hi kazer [20:35:48] can you give me and gernot2 some insights about the gui problem we work on? [20:36:59] @frankpintosr what exact version of navit are you running? [20:37:13] if you have a recent version which contains these 2 lines : https://github.com/navit-gps/navit/blob/trunk/navit/navit_shipped.xml#L440-L441 [20:37:25] then you just need to place your layout in that folder. no config change needed [20:37:38] ilovekiruna: sure i'll catch up with the backlog in a minute [20:37:49] kazer: great, thanks [20:39:44] gernot2: ok, i confirm https://pastebin.com/GQhacbTD still has the problem [20:40:22] ok. [20:40:42] then i have to read more. Tomorrow.... [20:41:10] I will test now https://pastebin.com/KhhQrfqM [20:41:27] gernot2: maybe kazer can give us an idea [20:42:28] <06frankpintosr> @kazer thank you I will try that now! That answer makes me wonder if I am using the latest release. I installed Navit from the repository [20:42:39] I think If the last test dont work this also dont work [20:42:41] <06frankpintosr> sudo apt-get -y install navit [20:43:16] <06frankpintosr> is there a newer release I could install? [20:53:39] I dont know about release. [20:54:01] you can build from source [20:54:31] but try the rpm version first [20:55:07] by [20:55:15] have to go [20:55:27] *** Quits: gernot2 (5ed83d3f@dslb-094-216-061-063.094.216.pools.vodafone-ip.de) (Quit: gernot2) [20:57:01] <06frankpintosr> @kazer how do I find the version of Navit I am using? [21:29:04] <06frankpintosr> unfortunately i got a couple errors trying to run navit after replacing the ~/.navit/navit.xml [21:29:07] <06frankpintosr> pi@openautopro:~ $ navit error:navit:convert_to_attrs:failed to create attribute 'default_layout' with value 'Car' error:navit:main_real:Error parsing config file '/home/pi/.navit/navit.xml': Unknown element 'traffic' at line 189, char 25 [21:42:07] *** Quits: xenos1984 (~xenos1984@a5c7-03da-237c-2430-d480-87c4-07d0-2001.dyn.estpak.ee) (Quit: Leaving.) [21:56:47] <06frankpintosr> here is the version I have installed: navit 0.5.0+git:0000- [22:36:34] yeah that version is a bit old. you could just remove the traffic tag in your config file [22:36:45] this is a new plugin that your version doesn't know about [22:36:56] the xi:tag should work nonetheless, i've been using it for ages [22:54:06] <06frankpintosr> I am trying to follow the compile instructions to pull the latest from GIT. Unfortunately I am having some errors. I followed this post: https://wiki.navit-project.org/index.php/Raspberry_Pi Below is the CLI output [22:54:17] <06frankpintosr> pi@openautopro:~/navit-build $ sudo cmake ~/navit -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2/ -- Building with CMake V3.7.2 -- LIBDIR variable is not defined. It will be autodetected now. -- You can set it manually with -DLIBDIR= -- LIB_DIR (highest subdirectory if LIBDIR) is set to 'lib/navit' -- Checking for module 'liblocation' -- No package 'liblocation' found -- Checking for module [22:54:18] 'libosso' -- No package 'libosso' found -- Checking for module 'libgarmin' -- No package 'libgarmin' found -- Checking for module 'imlib2' -- No package 'imlib2' found CMake Warning at CMakeLists.txt:220 (find_package): By not providing "FindQt5Positioning.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Positioning", but CMake did not find one. Could [22:54:18] not find a package configuration file provided by "Qt5Positioning" with any of the following names: Qt5PositioningConfig.cmake qt5positioning-config.cmake Add the installation prefix of "Qt5Positioning" to CMAKE_PREFIX_PATH or set "Qt5Positioning_DIR" to a directory containing one of the above files. If "Qt5Positioning" provides a separate development package or SDK, be sure it has been installed. CMake [22:54:19] Error at CMakeLists.txt:225 (find_package): By not providing "FindQt5Svg.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Svg", but CMake did not find one. Could not find a package configuration file provided by "Qt5Svg" with any of the following names: Qt5SvgConfig.cmake qt5svg-config.cmake Add the installation prefix of "Qt5Svg" to [22:54:19] CMAKE_PREFIX_PATH or set "Qt5Svg_DIR" to a directory containing one of the above files. If "Qt5Svg" provides a separate development package or SDK, be sure it has been installed. [22:57:01] <06frankpintosr> https://cdn.discordapp.com/attachments/500190750085087235/598648903776075776/CMakeError.log [22:57:03] <06frankpintosr> https://cdn.discordapp.com/attachments/500190750085087235/598648909417545739/CMakeOutput.log [23:04:27] <07KaZeR> mmh I thought we fixed that [23:04:57] <07KaZeR> there are multiple ways to build for the Pi. What level of customization do you need? [23:05:10] <07KaZeR> Do you need to run something else than Navit on this Pi? [23:05:20] <06frankpintosr> some google searching told me to run this command. After I did cmake ~/navit worked sudo apt-get -y install git build-essential cmake qt5-default qtscript5-dev libssl-dev qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev libqt5webkit5-dev libsdl2-dev libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev libjack-jackd2-dev libxrandr-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 [23:06:27] <06frankpintosr> This Pi is being configured for a carputer install. I am running OpenAuto Pro on top of Raspbian [23:09:56] <06frankpintosr> I want to install the standard version of Navit and customize the GUI to look like https://wiki.navit-project.org/index.php/OSD_Layouts#10.2.22_glossy_netbook_layout [23:15:56] <07KaZeR> ok nice. What version of the Pi is that? [23:16:16] <07KaZeR> I’ll run some tests on one of mines tomorrow [23:21:03] <06frankpintosr> I have Raspberry Pi 3 model B+ [23:21:33] <06frankpintosr> Now after completing cmake and make and attempting to run navit I get the following error: pi@openautopro:~/navit-build/navit $ ./navit error:navit:plugins_init:Warning: No plugins found. Is Navit installed correctly? error:navit:map_new:invalid type 'textfile' error:navit:graphics_new:Failed to load graphics plugin gtk_drawing_area. error:navit:traffic_new:wrong type 'null' error:navit:vehicle_new:invalid [23:21:34] source 'gpsd://localhost': unknown type 'gpsd' error:navit:speech_new:wrong type 'cmdline' error:navit:xinclude:Unable to include '/usr/local/share/navit/maps/.xml' error:navit:map_new:invalid type 'binfile' error:navit:xinclude:Unable to include '/home/pi/.navit/navitlayout.xml' error:navit:xinclude:Unable to include '/usr/local/share/navit/navitlayout*.xml' error:navit:navit_init:FATAL: No GUI available.