[00:36:24] *** Quits: Horwitz (~mich1@freenode-4kmkia.fh0o.ugfd.hujoc9.IP) (Ping timeout: 120 seconds) [00:50:25] *** Joins: Horwitz (~mich1@freenode-k6jm3q.haqd.evpr.hujoc9.IP) [01:15:03] *** Quits: j_f-f (~quassel@freenode-3p0.0bl.0e6ebh.IP) (Connection closed) [01:18:35] *** Joins: j_f-f (~quassel@freenode-3p0.0bl.0e6ebh.IP) [04:07:06] [discord] @Pierre did a project some time back and implemented caching as well: https://hackaday.io/project/3070-the-cherokee-carputer/details [04:07:07] [discord] [04:07:08] [discord] If course you would need to adjust some of the things like pico tts [08:42:05] [discord] Wow that's amen [08:42:11] [discord] Wow that's amazing [08:50:39] [discord] I did some thinking, and im not actually sure caching is ideal tho, since navit adds the street name to nearly all instructions, it would basically never use cache unless going on repetitive routes [10:38:15] [discord] can one create an osd element that runs a bash command instead of a navit command ? [10:42:45] [discord] i'd like to implement the same type of OSD as the person in the link you gave me, except with a local player instead of spotify, but i can't figure out how i could control playback from navit. The gihub link they provide leads to a 404 [11:05:20] *** Joins: owlman (~owlman@freenode-6r3.srh.7q8sd2.IP) [11:09:41] *** Joins: owler (~owlman@freenode-bpa.1fh.ku7p8v.IP) [11:09:42] *** Quits: owlman (~owlman@freenode-6r3.srh.7q8sd2.IP) (Ping timeout: 120 seconds) [12:13:11] *** Quits: owler (~owlman@freenode-bpa.1fh.ku7p8v.IP) (Quit: Konversation terminated!) [13:07:17] [discord] You can disable the street name speaking. It's even possible to use soundpacks (audio files with the exact filename what they contain) but there isn't an public soundpack available for this. I thought to create one, but I don't have anyone to volunteer to create one. And I for myself don't want to contribute my voice [13:08:13] [discord] This is possible with the command engine and the system command [13:08:20] [discord] I wouldnt mind [13:08:55] [discord] i assume it would take very long tho so idk, if you guys are up for it i wouldnt mind providing some recordings [13:09:11] [discord] i have no high quality mic and can only do french and english tho [13:09:39] [discord] i think i firgured it out, with the spawn command right ? [13:11:33] [discord] I can probably provide the texts for this. [13:13:12] [discord] For the music player I know kazer was working on something around that time and wanted to merge this upstream as well, but because of Spotify's lib being depricated it was not merged [13:13:37] [discord] i wanted to use something local rather than spotify [13:17:48] [discord] Yes, but kazer implemented the audio system itself and with that a local player and a Spotify player. The Spotify plugin was the only problem. There is also a GUI for the player. [13:18:07] [discord] Are you already familiar with building navit yourself? [13:18:16] [discord] oh nice [13:18:32] [discord] nope i only installed it using the os repo [13:18:52] [discord] i looked into the github birefely and poked around, but havnt built it [13:20:28] [discord] The branch would be "audio" [13:21:06] [discord] If you want to build it and encounter problems just let me know, I will happily help. [13:21:49] [discord] so basically clone the repo and checout branch ? [13:21:56] [discord] so basically clone the repo and checkout audio ? [13:22:18] [discord] Just to be warned, the audio branch is a bit outdated, and I don't know if rebasing it is easy, but it should build and work [13:29:06] [discord] hmm i havnt worked on big software project on github [13:29:17] [discord] so im not too familiar with rebasing and stuff [13:30:01] [discord] but theoretically, all we need is an audio player controllable via terminal [13:30:37] [discord] i have found a package called audioctl, on which you can basically enter the player you want to control and the command you want to issue it [13:30:49] [discord] all i need to find is the player [15:01:40] [discord] with spawn you can do this, yes, but with the plugin you dont need the terminal as far i understood [15:09:56] [discord] yes it runs it on a separate shell with no tty i assume [15:10:05] [discord] juste like the calls for the TTS system [15:38:16] [discord] Could someone help me out with compiling the latest Navit for a Raspberry Pi? [15:39:23] [discord] i havnt done it yet sorry [15:39:49] [discord] but im also intrested in running the latest version from github since the ubuntu / debian packages are not prefect [15:41:19] [discord] Yeah, basically where I'm at. Stuck with 0.5.3 from 3 years ago because I'm not one of the 8 people on Earth who can compile in Linux. [15:41:40] [discord] Been trying to follow this guide, but it simply doesn't work: [15:41:41] [discord] https://wiki.navit-project.org/index.php/Linux_development [15:46:30] [discord] yeah i also noticed the install / build guide was sup par [15:48:12] [discord] So far, my issue seems to be with missing QT5, which you have to refer to somehow in cmake [15:59:22] [discord] but you are not forced to use qt, right ? [15:59:38] [discord] i've seen somewhere that qt was not fully implemented yet [16:18:01] [discord] idk, I just know it's the only error that comes up in cmake now as I've installed all the missing libraries it asked for [16:19:09] [discord] https://prnt.sc/17oj91b [16:20:21] [discord] actually, trying it again, it seems to be missing some libs, but this is still the biggest error [16:22:03] [discord] but are your specifically trying to build it with qt ? [16:23:37] [discord] I have no idea. I'm following the guide I linked above. That's it. [16:25:41] [discord] hmm idk, im sorry i cant help i havnt tried yet [16:25:50] [discord] maybe @jkoan has some insight on this [16:43:22] [discord] Navit has multiple GUI's so you can actually choose. You don't need to use qt5 [16:43:40] [discord] What desktop environment are you using? [16:44:14] [discord] he mentionned using a pi, so i assume rasbian [16:49:27] [discord] So the most suitable would be gtk. [16:50:10] [discord] yeah i think thats what it defaults to when you install it through packages [16:50:25] [discord] i've seen internal mentionned as well [16:50:35] [discord] idk whats that about [16:51:36] [discord] @Bizzmark add this options to the cmake command to disable qt5: [16:51:36] [discord] -Dgraphics/qt_qpainter:BOOL=FALSE -Dgui/qml:BOOL=FALSE [16:53:17] [discord] what do you recommend : going through the troubles of building it or getting the less updated version from packages ? Thats what i did on my laptop but im debating what i'd do on my final hardware [16:53:31] [discord] fingers crossed, it should arrive whithin a few days 😍 [16:58:59] [discord] On my desktop I use manjaro Linux (arch based) so I don't have that problem. So I generally would say to get the last release. But with outdated packages this is a bit complicated. We wanted to setup a apt repo to address the problem, but no time so far :/ [16:58:59] [discord] We should update the docs for building navit so that it's more easy for intermediate users [17:00:59] [discord] arch packages are up to date ? [17:01:55] [discord] Yes, I normally notify the maintainers once I do a new release [17:02:24] [discord] oh, well idk, would it run worse on a pi than rasbian ? [17:03:44] [discord] i dont really care about the host OS except for performance [17:04:12] [discord] For raspberry pi I never tried manjaro. But arch Linux could better or on par [17:04:44] [discord] See here if interested :D https://wiki.navit-project.org/index.php/Release_process [17:06:13] [discord] hmm wait launchpad ? [17:06:24] [discord] i think debian based systems can use launchpad [17:08:41] [discord] Yes, would be possible. But I hate launchpad, it's a buggy mess. We use it for translations, and it regularly throw's server exceptions and in the process looses edit's [17:09:53] [discord] oof, so you wouldnt recommend installing navit through launchpad ? [17:11:32] [discord] If there is a navit build on launchpad and it uses the original navit sources it should be fine :) but I want to say I don't like the platform for other reasons [17:13:06] [discord] hmm gotcha [17:13:42] [discord] it just feels a lot more practical since you dont have to fully re install everything each time there is an update [17:13:58] [discord] which, from my understanding you'd have to do when building from github sources [17:21:00] [discord] Yes, if you're building yourself that's more or less true. But when we provide a repo for this the user cas update as normal, even from 0.5.3 to the last release after adding the navit repo [17:22:41] [discord] wait so there is an automated thing ? sorry i dont get ti [17:22:45] [discord] wait so there is an automated thing ? sorry i dont get it [17:24:21] [discord] Yes, we will setup (a) automatic build and deploy it to the repo. So users could manually add it. But we need to implement this [17:27:36] [discord] oh alright 😄 [17:27:52] [discord] you got me confused for a second [18:02:27] [discord] omg FINALLY a dev team that builds the software *not* in the same folder as the git source [18:02:31] [discord] thank you guys [18:09:14] [discord] this did not do the trick, i still run into qt errors despite using those argments when calling cmake [18:09:50] [discord] it seems to be related to QT5sensors [18:10:53] [discord] I will look into it [18:12:04] [discord] With cmake it's mostly the user who is building the software wo can build wherever he wants [18:12:07] [discord] i get 2 warnings and an error. Error is QT5sensors, and warnings are espeak and QT5Multimedia [18:13:29] [discord] Ah right, just use -DDISABLE_QT=j [18:14:56] [discord] Correction: -DDISABLE_QT=y [18:15:34] [discord] seems to be working [18:15:43] [discord] at least, its compiling for now [18:15:51] [discord] Nice [18:15:52] [discord] thanks 🙃 [18:16:04] [discord] @Bizzmark [18:16:12] [discord] thats your solution^^ [18:17:43] [discord] @Archen Von Dreknov are you going to document this on "read the docs"? This is within the docs folder in the repo and uses reStructuredText [18:17:54] [discord] Ok thanks I'll try that a bit later and report if it works [18:18:12] [discord] @jkoan i was getting bored waiting for stuff to arrived, so i decided to uninstall the package and build it to messa round with the latest version [18:18:52] [discord] i can do that, but i'd love a quick how-to on how i'd edit the readthedocs [18:19:54] [discord] its currently compiling just fine on my ubuntu laptop, lemmie know if something else fails [18:21:22] [discord] Just edit the contents of the docs folder and submit a PR. I will review and merge it. Once merged rtd will build the docs and publish to https://navit.readthedocs.io if you only want to edit little things there also a edit button at the top of rtd's [18:23:51] [discord] @Archen Von Dreknov do you already know reStructuredText? Personally it's not my favourite markup language but it's okay I guess. But probably I will look into markdown docs (also supported by rtd) and converted everything. But for now we are "stuck" with reStructuredText. [18:24:20] [discord] I should probably have you take a quick look at the other libs that cmake lists as missing.. think mine will work with that command QT disabled, or do I need to find all these? [18:24:20] [discord] https://cdn.discordapp.com/attachments/500190750085087235/859861930306961438/Navit_Compilation.txt [18:25:37] [discord] I havn't, but i'll learn :p Im familiar with markdown, its pretty powerfull [18:25:58] [discord] yes it should be good [18:28:20] [discord] wow the current version is so visually different lol [18:28:54] [discord] I hope so.. I find 0.5.3 to be basically unusable lol [18:29:32] [discord] its better in a lot of ways [18:30:21] [discord] only slightly surprising thing is that buttons are now all on a top bar instead of all around the window, which can be less convinient for zoom buttons [18:32:02] [discord] i also cant seem to find the options pannel [19:47:02] [discord] No you don't need everything, it's not even "possible" as some plugins require libs from Windows as thy are windows plugins (for example win32 GUI) others are for embedded. But your log doesn't include the disabled Qt [19:48:27] [discord] That was from hours ago.. haven't had a chance to try your Qt disable command yet [19:48:33] [discord] Just wanted to be sure nothing else was wrong [19:49:52] [discord] I think the main thing that was added are multipolygons objects, which makes a huge difference. This was in 0.5.4 [19:52:01] [discord] What are they ? [19:57:03] [discord] For example a lake with an island within could be a multipolygon. The outer thing would be the lake and the inner one would be the island, then the island was lost. There are other examples but this is the one I remembered best [19:58:37] [discord] https://wiki.openstreetmap.org/wiki/Relation:multipolygon hers the description from OpenStreetMap [20:04:31] [discord] Nice [21:53:01] [discord] Looks like it's compiling ok on my Pi 4 box. We'll see once it's done 🙂 [22:00:19] [discord] Navit failed to run from the build folder (https://prnt.sc/17q3qpm), so I did a 'make install' like the guide hints at - but looks like the system still runs 0.5.3 - will I have to totally remove the old one to get the new to install properly? [22:05:51] [discord] looks like you dont have gtk installed [22:05:57] [discord] did you install all dependancies ? [22:06:37] [discord] also, yes i would uninstall the old version before [22:07:17] [discord] So, how do I properly uninstall an app then? [22:08:23] [discord] I've used DOS for most of my life, but Linux is like bizarro DOS .. it's *so* close, but at every turn seems to be made intentionally abstruse lol [22:19:04] [discord] that would be ``sudo apt remove navit`` from a terminal [22:30:54] [discord] Alright, trying it from scratch this time [22:44:01] [discord] Looks like it might work this time.. just complaining about a missing navit.xml [22:48:27] [discord] Won't run from ~/navit even with navit.xml in it.. should I just do 'make install' or something else I can do? [22:48:27] [discord] https://prnt.sc/17qczv8 [22:51:30] [discord] actually might be something wrong with my navit.xml - is there a way to get a default one? [22:52:07] [discord] why make install ? [22:52:16] [discord] you only need cmake and then make [22:55:47] [discord] theoretically, you just need : [22:55:48] [discord] install all dependancies [22:55:49] [discord] ``git clone https://github.com/navit-gps/navit.git [22:55:50] [discord] mkdir navit-build [22:55:52] [discord] cd navit-build [22:55:53] [discord] cmake path/to/navit [22:55:54] [discord] make`` [22:55:58] [discord] thats it [22:56:01] [discord] Yeah, I haven't done make install yet, and found a navit.xml, but it still won't run [22:56:21] [discord] after that, from the navit-build/navit folder, you can just do ./navit [22:56:44] [discord] you dont need to do a make install, a make is enough [22:57:21] [discord] the commands i listed are all you need to create a (theoretically) working navit [22:59:41] [discord] Looks like I'm still missing that gtk graphics thing. How do I get it installed? [22:59:42] [discord] [22:59:43] [discord] pi@raspberrypi:~/navit-build/navit $ ./navit [22:59:44] [discord] Running from source directory [22:59:46] [discord] error:navit:graphics_new:Failed to load graphics plugin gtk_drawing_area. [22:59:47] [discord] error:navit:event_add_timeout:Can't find event system method add_timeout. Event system is not set. [22:59:48] [discord] error:navit:event_add_watch:Can't find event system method add_watch. Event system is not set. [22:59:49] [discord] error:navit:event_remove_timeout:Can't find event system method remove_timeout. Event system is not set. [22:59:51] [discord] error:navit:navit_init:FATAL: No graphics subsystem available. [23:08:27] [discord] ``sudo apt install libgtk2.0-dev`` should do [23:11:46] [discord] Still not running - do I have to recompile it? [23:14:42] [discord] you might need to do a make clean, delete the build folder and re run cmake [23:14:52] [discord] along with make [23:16:17] [discord] I'm also running it with an argument to fix freetype2, which I read in this forum is an issue with the cmake version that comes with Pi: [23:16:17] [discord] https://forum.navit-project.org/viewtopic.php?f=11&t=545 [23:16:19] [discord] (middle of the page, post by sleske) [23:16:20] [discord] -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2/ [23:21:14] [discord] hmm as far as im aware, it shouldnt have any impact [23:21:27] [discord] what is freetype for ? [23:23:07] [discord] Aah, it works. Thank you [23:23:29] [discord] I believe Freetype is a font library. Basic thing, but appears to be an issue with RPi OS [23:27:11] [discord] hmm good to know for me [23:27:13] [discord] Running on my prototype Pi project box that will be a portable Android Auto and GPS (Navit) head unit for my bikes & truck. Now I just need to remember all the settings I changed because I forgot to backup the xml.. [23:27:13] [discord] https://cdn.discordapp.com/attachments/500190750085087235/859938149782257664/20210630_192443_HDR.jpg [23:30:06] [discord] niice, is it the official pi screen ? [23:30:48] [discord] Yeah, I looked around for custom options but they were *scarce*, and when I decided I'd build a UPS and 4x 18650 battery pack into it, I had only one option [23:31:06] [discord] Yeah, I looked around for custom options but they were *scarce*, and when I decided I'd build a UPS and a 4x 18650 battery pack into it, I had only one option [23:34:49] [discord] hmm my solution will far less elegant lol [23:35:40] [discord] I don't know about 'elegant' ;) [23:35:41] [discord] https://cdn.discordapp.com/attachments/500190750085087235/859940277158412288/20200728_2324331.jpg [23:36:42] [discord] haha from the front it is at least xD [23:37:00] [discord] did you use a charge controller for the batteries ? [23:37:01] [discord] tbf that was during construction and prototyping [23:37:32] [discord] Looks fairly okay closed up [23:37:33] [discord] https://cdn.discordapp.com/attachments/500190750085087235/859940745977004062/20200729_0205561.jpg [23:38:18] [discord] yeaaah thats clean [23:38:24] [discord] very contained i'd say [23:38:32] [discord] I used a Geekworm UPS controller for it [23:38:55] [discord] i still havnt figured out the way i'll pack up and mount everything yet [23:39:16] [discord] the screen i bought off alliexpress has a mount for the pi integrated but that all [23:41:35] [discord] i play on just using a power bank to power it too... like i said, less elegant lol [23:41:52] [discord] Nothing wrong with that, depending on what you're doing. I had to put it all in a case because that RAM mount goes on my bikes. It's not waterproof, but I can't really have bare circuit boards take 90 .. I mean 70mph winds [23:42:59] [discord] I also figured a UPS would be more stable power delivery than a dirty car alternator. Although I use a good buck converter anyway, so that shouldn't be an issue, I figure allowing it a graceful shutdown will make it last longer [23:43:18] [discord] yeah use on bike definitely makes things more... challenging [23:44:20] [discord] yes, thats true. Thats why i opted to add a power bank to the mix. I dont want the pie dying as soon as my car shuts off. Thats both unpractical and kinda unsafe [23:45:48] [discord] Power bank should be great for a car. Much simpler, much cheaper. Just too bulky for my portable unit. Believe me, I had to do HOURS and HOURS of troubleshooting with this stupid UPS board. And I sent 2 back, one of which fried itself and my buck converter for no reason, before the third one worked. [23:46:19] [discord] Then I still had power throttling issues until I doubled up on ground and +5V wiring [23:47:12] [discord] jeez [23:47:23] [discord] yeah that sounds unpleasant xD [23:47:24] [discord] but [23:47:29] [discord] it looks nice 👌 [23:47:41] [discord] Thanks. Hope yours works out. [23:53:15] [discord] hehe it should, far less potentially not working parts [23:53:32] [discord] but... i'll admit that as an electronics student i prefer your option lol [23:56:33] [discord] Well, always good to start simple. I run cable for a living and I've been soldering for almost 30 years, so it might make things like that look easier than they are. Obviously I'm more of a plumber for ones and zeroes than I am a programmer 🙂 [23:59:24] [discord] Do you know if Navit espeak will work now, or do I have to do something else to get that going?