--- Log opened Fri Nov 10 00:00:19 2017 00:23 -!- Horwitz [~mich1@p200300800E66D200022268FFFE64E7C4.dip0.t-ipconnect.de] has quit [Ping timeout: 258 seconds] 00:36 -!- Horwitz [~mich1@p200300800E57D800022268FFFE64E7C4.dip0.t-ipconnect.de] has joined #navit 00:36 -!- mode/#navit [+o Horwitz] by ChanServ 01:31 -!- j_f-f [~quassel@rs-7.jff-webhosting.net] has quit [Ping timeout: 260 seconds] 01:31 -!- pmckinley [~Peter_McK@88-110-210-59.dynamic.dsl.as9105.com] has left #navit [] 01:38 -!- j_f-f [~quassel@rs-7.jff-webhosting.net] has joined #navit 02:19 #navit: < charles__> KaZeR: Just pushed a correction for the problems noted above. 05:21 -!- noradtux [~noradtux@2a02:2028:541:e501:ec4:7aff:fe33:3dc1] has quit [Ping timeout: 240 seconds] 05:26 -!- noradtux [~noradtux@2a02:2028:70e:3a01:ec4:7aff:fe33:3dc1] has joined #navit 05:27 #navit: <@KaZeR> charles__: thanks! 06:08 -!- xenos1984 [~xenos1984@2001:bb8:2002:200:6651:6ff:fe53:a120] has joined #navit 06:08 -!- xenos1984 [~xenos1984@2001:bb8:2002:200:6651:6ff:fe53:a120] has quit [Remote host closed the connection] 06:11 -!- xenos1984 [~xenos1984@2001:bb8:2002:200:6651:6ff:fe53:a120] has joined #navit 07:31 -!- naggety [512f3559@gateway/web/freenode/ip.81.47.53.89] has joined #navit 10:02 -!- bzed [~bzed@shell.bzed.at] has quit [Ping timeout: 260 seconds] 10:07 -!- bzed [~bzed@shell.bzed.at] has joined #navit 10:18 #navit: < jkoan> hi naggety, thy for the PR 10:19 #navit: < jkoan> KaZeR: i found something really cool for android, it will probably size to the apk but notification should then not be a big problem. 10:20 #navit: < jkoan> https://developer.android.com/training/notify-user/build-notification.html it is like the Notification builder which is only available from api11 and up, but this is available from api4 so perfect for us 10:20 #navit: < naggety> jkoan: your welcome 10:20 #navit: < naggety> I have found something about those big icons in the map 10:20 #navit: < jkoan> sorry false link: https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder.html 10:21 #navit: < jkoan> naggety: alreaddy fixed? 10:21 #navit: < naggety> No, let's see if you can help me to figure out how to fix it 10:22 #navit: < jkoan> okay, what did you find out so far? 10:22 #navit: < naggety> for each .svg icon, they are generated .png files, one with the same size than the .svg and some more with some specific sizes (16x16, 32x32, etc) 10:23 #navit: < naggety> for example, for ruins.svg they are generated: ruins.png, ruins_16_16.png, ruins_32_32.png 10:24 #navit: < naggety> Almost all .svg icons are set to a small size, but some of them (like for example ruins.svg) are set to a bigger size, so ruins.png is a big size image 10:24 #navit: < naggety> and that image is used, instead one of the images generated for a specific size 10:25 #navit: < jkoan> ah so we must update the size in the svg to a common one? 10:26 #navit: < naggety> Well, I'm not sure. Shouldn't navit use one of the other sizes like 32x32? should we resize the svg? 10:26 #navit: < naggety> And why this is happening to me with my buildroot build but not when I build it for my computer? 10:26 #navit: < jkoan> the svg itselt is only text so its not a lose of quallety 10:27 #navit: < jkoan> that is really strange 10:27 #navit: < naggety> I know, but I would like to know which is the expected behaviour before fixing 10:28 #navit: < jkoan> i think the behaviour is what we like to define. It should be the same size then the other ones (32 or 64) 10:29 #navit: < naggety> Additionally I've found a minor issue: museum.png image can't be generated, svg2png tool fails, I don't know why. However, museum_16_16.png and the other sizes are generated OK. 10:36 #navit: < naggety> OK, I must correct myself 10:36 #navit: < naggety> It also happens if I build it for the computer 10:38 #navit: < naggety> see commit cef17773cdcd90063b5b 10:41 #navit: < naggety> I'm using the same map I generated weeks ago with maptool, should I regenerate? 10:42 #navit: < jkoan> hm okay, about the convert i dont know righ now, but this shouldent be a big issue 10:42 #navit: < naggety> See also commit b67baccda6eca4ccd24, someone resized many svgs to 22px 10:43 #navit: < jkoan> about the sample map: as far es i know ther was no change, so also no need to rebuild 10:44 #navit: < naggety> not using the sample map 10:44 #navit: < jkoan> probaly we should also add a convert from svg2svg to rezise all so the same saze 10:45 #navit: < jkoan> sorry not sample map, of course same map. But even not a problem 10:46 #navit: < naggety> ok 10:53 #navit: < naggety> Well, they're not generated at the same size than the svg 10:53 #navit: < naggety> At least the ones that appears bigger 10:53 #navit: < naggety> for example, school.svg and school.png are both 22x22 10:54 #navit: < naggety> But tec_common.svg and tec_common.png are 22x22 and 600x600 10:54 #navit: < naggety> ruins.svg and ruins.png are 22x22 and 744x744 11:10 #navit: < naggety> Using navit_svg2png to convert ruins.svg manually gives good result: ruins.png is 22x22 11:10 #navit: < jkoan> hm okay, we need to look into it, but right now i dont have the time to do it. 11:11 #navit: < naggety> ok don't worry, I keep on with this 12:43 #navit: < naggety> jkoan: I found the bug, but it's in a cmake file, and I don't know about cmake syntax 12:44 #navit: < jkoan> file and line? 12:44 #navit: < naggety> can you take a look? if it's not a trivial change, I open a ticket 12:44 #navit: < jkoan> yes of cause 12:44 #navit: < naggety> navit/icons/CMakeLists.txt, line 23 12:44 #navit: < jkoan> okay one moment 12:45 #navit: < naggety> The problem only ocurs if ksvgtopng is used to make svg to png conversion 12:46 #navit: < jkoan> okay, do you have an error message? 12:47 #navit: < naggety> And it only affect to some icons because it uses a regexp to find width and height attributes. If any subelement of the svg has width and height attributes, this ones are used, instead the svg root element width and height 12:47 #navit: < naggety> The solution is to use the first width and height attributes found in the svg file, not the last ones 12:49 #navit: < jkoan> ah okay, this seems to be a logic fail 12:51 #navit: < jkoan> are you sure that the last one is used? 12:53 #navit: < jkoan> probably we only need to remove the .* on the begin of the regex string, do you want to test? 12:53 #navit: < naggety> Well, I think so. If you open for example ruins.svg and search for 'width' string, you find 2: 22px and 744.09px. Generated png image is 744x744 12:53 #navit: < naggety> yes, I test it 13:00 #navit: < naggety> Doesn't work. It fails if width attribute is in the same line than tag. Like: 13:00 #navit: < naggety> In that case, instead of getting just "200" it gets " I hate regexps 13:50 #navit: < naggety> how the hell ".*width=\"([0-9]*)\"" can output "22>" 13:50 #navit: < naggety> from: 13:50 #navit: < naggety> width="22"> 13:50 #navit: < naggety> it output: 13:50 #navit: < naggety> 22> 13:59 #navit: < naggety> forget it, I see why 14:05 #navit: < naggety> I will look at it on monday 14:05 #navit: < naggety> bye 14:05 -!- naggety [512f3559@gateway/web/freenode/ip.81.47.53.89] has quit [Quit: Page closed] 14:42 #navit: < jkoan> naggety: i think i know how to fix this. In the hope that you read the logs i will post a patch later 15:56 -!- xenos1984 [~xenos1984@2001:bb8:2002:200:6651:6ff:fe53:a120] has quit [Quit: Leaving.] 16:31 -!- xenos1984 [~xenos1984@22-164-191-90.dyn.estpak.ee] has joined #navit 16:37 #navit: < youte> hello 16:47 #navit: < jkoan> Hi youte 16:47 #navit: < jkoan> youte: do you have time? 16:54 #navit: < youte> yes a little 16:59 #navit: < jkoan> Do you want to create graphics for Fdroid store? 17:00 #navit: < youte> why not 17:00 #navit: < jkoan> A sample could be the Wikipedia graphics 17:01 #navit: < jkoan> I will send you a link when I am at home 17:09 #navit: < youte> ok 18:26 -!- MarcR [~marc@p5DD92BC5.dip0.t-ipconnect.de] has joined #navit 19:09 -!- Josue [bdfa92ad@gateway/web/freenode/ip.189.250.146.173] has joined #navit 19:10 #navit: < Josue> Hello everyone 19:37 #navit: < MarcR> Hi Josue 19:38 #navit: < Josue> Hey MarcR 19:47 #navit: < Josue> Kazer, are u there? 19:52 #navit: < jkoan> youte: sorry for the dely, hers the link its a header graphic and optional app screenshots (which could also be edite to look more nice. ) 20:17 #navit: <@KaZeR> hi there 20:18 #navit: < Josue> hi 20:22 #navit: <@KaZeR> naggety : thanks for the PR. Looks good overall, but if i'm being picky your documentation style is a bit different from what we usually do 20:23 #navit: <@KaZeR> naggety : for your svg/png problem : since you're building your device on recent hardware, i'd advise to use svg directly. You can disable the convertion using cmake with -DSVG2PNG=0 20:24 #navit: <@KaZeR> I'm using the same map I generated weeks ago with maptool, should I regenerate? : icons and maps are unrelated. Navit will look for an icon whose filename matches a given POI, but it's not map related 20:25 #navit: <@KaZeR> hey Josue 20:25 #navit: < Josue> hey man, how's it going 20:26 #navit: < Josue> i was reading about pointers, now i have a better idea about them and it's usage 20:28 #navit: <@KaZeR> cool! on my end, i got the new function to work for the osd_text 20:28 #navit: <@KaZeR> the next step is a design decision. I looked at the code, and the command attribute is passed directly from osd_core.c to osd.c 20:29 #navit: <@KaZeR> so this means that we need to move that new function to another file (no big deal), but we also need to move 2 structs which are somewhat specific. so from a design perspective it isn't great 20:32 #navit: < Josue> ouch, i understand 20:34 #navit: < MarcR> KaZeR: hi Mate, is there a method, to switch between map layouts, depending on the time ? 20:39 #navit: < Josue> is there a different way to make it work? 20:40 #navit: <@KaZeR> MarcR: yep 20:41 #navit: <@KaZeR> MarcR: https://wiki.navit-project.org/index.php/Configuration/Full_list_of_options#layout daylayout and nightlayout 20:41 #navit: <@KaZeR> the switch is automatic based upon ephemerids, but you can also add an osd button to do it when you want. or do it from the settings, of course 20:42 #navit: <@KaZeR> Josue: i think that it's probably not that big of a deal to do that change, but i need to think about it 20:42 #navit: < MarcR> Ah I see :) ok 20:42 #navit: <@KaZeR> 'text 20:42 #navit: < MarcR> will test it out 20:43 #navit: < MarcR> tomorrow the official touchscreen case should arrive :) 20:43 #navit: <@KaZeR> 'text' is currently the only item that has parsing for variables though, so it's kind of limiting us and we should change that 20:43 #navit: <@KaZeR> MarcR: nice! pictures! did you know that you can use your own user page to document your project in the wiki? 20:43 #navit: < MarcR> now I know it :) 20:45 #navit: < Josue> it's really nice to read it ejeje 20:48 #navit: < Josue> i'm working on focusing navit to help blind people, so solving the parsing of text will be a big step for my project 20:49 #navit: <@KaZeR> Josue: that's an awesome project! 20:50 #navit: < MarcR> Josue: tought the same. really cool project. 20:50 #navit: <@KaZeR> you mentioned that the first thing you wanted to do was to log the current street in a file. want to tell us more? maybe we can find a way to achieve the greater goal more natively 20:51 #navit: < Josue> thanks Kazer and MarcR 20:52 #navit: < Josue> yes,i hope to have it soon, as a portable offline device 20:53 #navit: < Josue> in my country blind people do not have a good job to buy a technological device that helps them in their day to day 20:54 #navit: < Josue> so the goal is to make an offline device that can help them to know where they are in real time based on a map and gps 20:54 #navit: < Josue> i want to log the current street so, then i can call a Text To Speech Engine to tell people where they are 20:55 #navit: < MarcR> that is for what open source is about 20:57 #navit: < Josue> data packages are expensive here, that's why the goal is to be offline 20:59 #navit: < MarcR> sounds logic 21:01 #navit: < MarcR> hmmm. i have a daylayout and a nightlayout set in the config. which is seperated. both layouts work for there own. but navit does not really switch to the right layout automaticly - if there is no gps signal, the night layout is active, and when there is a gps signal, it switches to day layout. 21:01 #navit: < MarcR> but it is time for the night layout 21:20 #navit: <@KaZeR> Josue: are you planning to use some existing hardware for that? like repurposed smartphones? or build your own? 21:20 #navit: <@KaZeR> MarcR | but it is time for the night layout > that's why :) 21:20 #navit: <@KaZeR> oh crap read it backwards 21:21 #navit: <@KaZeR> MarcR: you're in germany, right? 21:21 #navit: < MarcR> yeap 21:21 #navit: <@KaZeR> ok. if there's no gps signal, it's expected that navit doesn't switch as we use the gps clock to do that. we could also use the system clock, but most of the time you want a gps signal when using navit 21:22 #navit: < MarcR> of course 21:23 #navit: < Josue> at this moment i'm doing some tests with a RPi, once it works, wanna try with repurposed smartphones as you say, or maybe a RPiZero to reduce the size of the device 21:23 #navit: <@KaZeR> Josue: exactly what i was thinking. rpizero would be a good fit, as unfortunately a full size display won't be super helpful for your device 21:24 #navit: <@KaZeR> Josue: i actually have a prototype of a small device based on rpi zero : https://www.youtube.com/watch?v=Jmd5bvpFpH8 21:25 #navit: < Josue> you're right i just need screen to make all the tests, once it works i don't need it 21:26 #navit: < Josue> wow, it's awsome, :O 21:26 #navit: <@KaZeR> MarcR: is the timezone correctly set on your machine? 21:26 #navit: <@KaZeR> Josue: thanks :) 21:26 #navit: < Josue> awesome 21:26 #navit: < Josue> you're showing lat and lon right?? 21:27 #navit: <@KaZeR> yes, latitude, longitude, and the 2nd line is ground speed 21:27 #navit: < MarcR> KaZeR: timezone is right, local time is right. gps time is one hour behind, so everything ok 21:27 #navit: <@KaZeR> this is running navit in the background, even if it's not obvious :) 21:28 #navit: < Josue> yeahhh!! i really like it, and i can see the case was 3d printed :D 21:29 #navit: < Josue> that's exactly what i wanna do, run navit in the background 21:30 #navit: < Josue> Kazer: what kind of screen are u using? 21:31 #navit: < MarcR> i guess it is an issue with my general config, i splitted the config into seperated files, and used the xi:include command 21:31 #navit: <@KaZeR> Josue: a cheap i2c oled display. costs about $10 i think. probably cheaper from china 21:31 #navit: <@KaZeR> MarcR: shouldn't be an issue. Here's where it happens : https://github.com/navit-gps/navit/blob/trunk/navit/navit.c#L3408 let's enable debugging for that function 21:32 #navit: <@KaZeR> Josue: like this one https://www.ebay.com/itm/1PCS-IIC-I2C-0-91-128x32-white-OLED-LCD-Display-Module-3-3v-5v-For-YF/263295459802 21:32 #navit: <@KaZeR> Josue: i have one of these too, works exactly the same way : https://www.ebay.com/itm/0-96-I2C-IIC-SPI-Serial-128X64-White-OLED-LCD-LED-Display-Module-for-Arduino/302518955699 21:32 #navit: < Josue> Kazer: http://www.dx.com/p/hengjiaan-0-91-white-i2c-iic-oled-serial-128x32-lcd-display-module-474705#.WgYa7GiCzcc :D 21:34 #navit: <@KaZeR> yeah, looks like the same. but yours is more expensive :) 21:34 #navit: < Josue> Wow, amazing, and for a really good price 21:34 #navit: < Josue> i see :) 21:36 #navit: <@KaZeR> yeah! pizero W, $10, display $5, the expensive part is the gps received in my setup, but you can find cheap modules too. And for your device you'd probably want a battery. mine is usb powered 21:40 #navit: < Josue> exactly, i wasa doing gps tests with a big power bank :) 21:41 #navit: < MarcR> is think my neo 6 gps module does a good job so far 21:41 #navit: < Josue> the same that are used as emergency supply for cellphones 21:41 #navit: < MarcR> and it has cost me 10 bugs 21:41 #navit: < Josue> i have one based on neo 6 gps too 21:42 #navit: <@KaZeR> sweet 21:44 #navit: <@KaZeR> i have to go afk soon. Josue look into the 'say' command : it's quite powerful, can use a local TTS, and we can do caching of content too. General speech help is here : https://wiki.navit-project.org/index.php/Speech 21:44 #navit: < Josue> thanks for all the advices and information, i going to look at it 21:44 #navit: <@KaZeR> but it looks like the say() command is undocumented :( in a nutshell you can trigger speech output from an osd 21:45 #navit: < MarcR> hm, in the navit log it only says type=trackpoint_tracked. I think it is to late for me :P 21:45 #navit: <@KaZeR> np Josue that's a really nice project, once we make some progress i totally want to showcase it on facebook and twitter 21:45 #navit: <@KaZeR> MarcR: do you know how to enable debugging for a specific function? 21:45 #navit: < Josue> lready tried to occupy it, but I have the same problem of converting the text 21:46 #navit: < Josue> thanks again 21:46 #navit: < MarcR> its in the general config yeah, but I think I'm making a mistake. no worries, no need to rush. I will take a closer look at it tomorrow or sunday 21:46 #navit: <@KaZeR> Josue: i see. we'll figure out a way 21:46 #navit: < Josue> thanks a lot 21:47 #navit: <@KaZeR> MarcR: debug name="navit:navit_layout_switch" dbg_level="debug"/> is probably what you want 21:47 #navit: < Josue> It would be an honor 21:47 #navit: <@KaZeR> syntax is module:function. this is a core function, so the module is 'navit' 21:48 #navit: <@KaZeR> afk a few 21:49 #navit: < Josue> bye, i'll write you soon 21:49 #navit: < MarcR> KaZeR: thx for all the quick and direct help. 21:49 #navit: < MarcR> see you guys later! 21:49 #navit: < Josue> see you later! 21:49 #navit: < MarcR> Josue: keep up your project, it sounds really cool, and can help a lot of people 21:50 #navit: < Josue> MarcR: thanks man, i'm gonna work until it works 21:51 #navit: < MarcR> cool 21:51 #navit: < Josue> :) see you 21:51 #navit: < MarcR> see you! 21:51 -!- MarcR [~marc@p5DD92BC5.dip0.t-ipconnect.de] has quit [Quit: Leaving] 21:52 -!- Josue [bdfa92ad@gateway/web/freenode/ip.189.250.146.173] has quit [Quit: Page closed] 22:45 -!- xenos1984 [~xenos1984@22-164-191-90.dyn.estpak.ee] has quit [Quit: Leaving.] 23:35 -!- j_f-f [~quassel@rs-7.jff-webhosting.net] has quit [Ping timeout: 268 seconds] 23:43 -!- j_f-f [~quassel@rs-7.jff-webhosting.net] has joined #navit --- Log closed Sat Nov 11 00:00:20 2017