IRC logs for #automotive for Thursday, 2015-07-02

*** brlogger has joined #automotive08:59
*** pedroalvarez has left #automotive09:08
paulsherwoodah, i notice that someone from #baserock already acted on my request, so logging has started. if ulf` or others would prefer an alternative approach we can kill brlogger09:10
persiaTo comply with freenode policy, we ought get that in the /topic09:13
*** persia changes topic to "Automotive Linux Discussion | Channel logs at https://irclogs.baserock.org/automotive/"09:14
*** dabukalam has joined #automotive09:14
paulsherwoodcould you make that 'currently at' for now? :)09:15
*** persia changes topic to "Automotive Linux Discussion | Channel logs currently at https://irclogs.baserock.org/automotive/"09:16
persiaThere's no ACL, so if you want to change again, please use /topic :)09:16
paulsherwood:)09:17
*** Luming has joined #automotive09:36
fredericocadetethat was fast09:57
olivierthanks !09:57
paulsherwood:)09:59
paulsherwoodi just asked on the lists where the AGL repos are... does anyone here know the answer?09:59
* paulsherwood imagines that some engineers would prefer to talk on irc rather than the ml10:00
*** tcouniha has joined #automotive10:02
fredericocadeteI do not know of any repositories10:02
fredericocadetethe wiki mentions a git server but says it's a placeholder (see https://wiki.automotivelinux.org/agl-distro)10:04
paulsherwoodyup, i saw that. but then also i'm *sure* that this needs to be based heavily on openembedded layers, and then probably some yocto layers including meta-ivi...10:05
paulsherwoodi'm not an oe/yocto expert, so i don't even know yet how this process of mixing layers is done to keep things tidy over the long term without forking10:05
*** olivier has quit IRC10:22
boucman_workpaulsherwood, basically any layer can override anything on any layer it depends on, so it's pretty easy to not fork, just do an overlay10:29
boucman_workbut IIUC the AGL repos/layer are being heavily reworked right now, so i'd wait for it to settle down10:29
paulsherwoodboucman_work: i think you're right. i'd just like to know who is doing that heavy rework, and where the work-in-progress is. would be a shame if it was just dumped over the wall, so to speak :)10:31
paulsherwoodparticularly as some of the folks here are eager to help10:31
paulsherwoodboucman_work: also, i may be wrong, but if folks override everything, doesn't that pretty much create the same issues as forking?10:33
boucman_workyes and no... afaik from the yocto world, there is very few hidden forks, it's more tweaks for the particular needs of a particular overlay10:35
paulsherwoodok cool! :)10:41
*** Armin_ has joined #automotive12:35
Armin_hey guys12:36
Armin_Would anyone know how to draw a torque curve of my car12:36
paulsherwoodArmin_: that's a very interesting question... most of the folks on this channel are interested in software for vehicles. i expect there must be some way to use rpm and speed, vs known weight of the car, for each gear? but i'm totally guessing12:44
paulsherwoodwhat level of accuracy are you aiming for?12:44
* paulsherwood googles a bit more... there may be other variables required12:45
Armin_well12:46
Armin_I'm aiming at12:46
Armin_~ 50 RPm up or down12:46
Armin_I know max rpm12:46
Armin_112Nm @ 3000 RPM12:46
*** sebh has joined #automotive12:48
paulsherwoodhow do you know/deduce the 112Nm?12:49
Armin_I dont I read it on the engine chart12:50
Armin_it says max torque12:51
paulsherwoodheh.12:51
* paulsherwood doesn't trust specsheets, normally12:51
Armin_dont know how to calc it but nevermind12:52
Armin_it doesnt really have any practical use12:52
*** emaj has joined #automotive12:56
fredericocadeteyou could probably set up your car on a dyno12:57
fredericocadetethey could have one at a big car repair shop12:58
*** Armin_ has left #automotive13:00
*** jonathanmaw has quit IRC13:02
*** jonathanmaw has joined #automotive13:47
fredericocadetequestion: does anyone know if GENIVI/AGL has a preference for configuration file format? as in xml / json / yaml, or some obviously-much-better domain-specific format?13:56
* rjek would disrecommend XML and JSON to anyone who would listen13:56
fredericocadete(assuming .ini is not enough, need at least array support13:57
fredericocadetethank you rjek13:57
fredericocadeteany altermatives?13:57
rjekI don't hate yaml or ini13:57
rjekyaml's much more expressive13:57
fredericocadeteI thought of yaml but the whitespace sensitivity could get me hanged; I am not sure how my downstream developers will handle space vs tabs13:58
mdunfordrjek: "don't hate" is fairly positive in this context? :)13:58
rjekCorrect.13:58
* rjek uses none of the formats mentioned so far in his own, personal, software.13:59
rjekBut I think INI or yaml would be fine13:59
rjekIf your configuration structure is not complex, INI is file, but if it is INI is pain that is worth swapping for whitespace sensitivity13:59
fredericocadeteI was on the fence between yaml or json; no standard comment support in json is a real shortcoming14:00
rjekYes14:01
rjekAnd it wears out your { } keys14:01
rjekJSON exists because it's quick to parse client-side in web-apps.  That's basically the only reason to consider it14:01
fredericocadetethen again JSon is supported by more toolkits and comments are not so important if you have Json schema documentation14:02
fredericocadeteso I hesitate until death, or unless GENIVI/AGL mandate something on me :)14:03
boucman_workI don't know what it means to have a configuration format defined for a distro...14:04
boucman_workthere are so many config files... unless you mean the config of the layers in which case it's more or less fixed to what the bitbake infrastructure forces on us14:05
fredericocadetegood question. it's more in terms of convention, what developers that are used to GENIVI will find more common14:06
fredericocadetebut I am bikeshedding with myself, it doesn't matter that much in the end14:06
persiafredericocadete: I think that's an optimisation that cannot be done.14:06
persiaThere's too many layers of too much upstream software from too many sources.14:06
boucman_workI really think saying that genivi/agl has a standard config format is counterproductive. it just... doesn't make sense. there is no such thing as "the config file of a distro" only apps have config files14:07
persiaWe could say "We like YAML" all day, but there's going to be lots of non-YAML around, so developers are going to have to understand the other formats.14:07
boucman_workand most apps are third parties as far as genivi/agl is concerned so we can't force a format on them14:07
boucman_worka dev that develops the OS layers of genivi will need to know the config format of whatever software he is configuring14:08
paulsherwoodfredericocadete: spaces vs taps? simple... outlaw tabs! :-)14:08
paulsherwoodfredericocadete: json is a subset of yaml. so specify yaml and let them deliver as json if they insist? :-)14:09
* rjek frowns at paulsherwood 14:09
paulsherwoodwhy, rjek ?14:09
rjekNo reason, just practising for later14:09
paulsherwoodboucman_work: for some solutions, 'the config file of a distro' does kind of have a meaning14:10
boucman_workok, could you give an example ? I might be too focused on my own use-case14:11
paulsherwoodeg yocto/oe recipes, baserock definitions. cloudfoundry manifests. there are lots of cloud technologies handling 'configuration' ... chef, puppet, ansible etc14:12
paulsherwoodthey're really all integrations that depend on the lower level config of the apps, though14:13
boucman_workyes, seeding a distro... ok. In that case, the recommanded format for AGL is the OE .cfg format, as parsed by bitbake :P14:13
paulsherwoods/apps/system software and apps/14:13
paulsherwoodboucman_work: i'm not qualified to comment on that yet... i know a lot about baserock, not much about bitbake14:14
* boucman_work was in the yocto world recently14:14
paulsherwoodbut if it works, then you may be right - i think agl is standardising on yocto/oe anyway, so bitbake has to be part of the solution14:14
paulsherwoodboucman_work: i've been asking some questions there today. rburton was helpful, but there are still some things not clear to me14:15
paulsherwoods/there/in #yocto/14:15
fredericocadetethe original question was definitely for runtime configuration, as in a config file that can be read from the rootfs to be more flexible at least during the development phase14:18
fredericocadetefor built time configuration I am already too into yocto to even pose myself the question ...14:19
paulsherwood:)14:19
paulsherwoodfredericocadete: will the things reading the config be written in any particular languages/technologies? or to put it another way, would the consumers of the config be able to parse yaml easily?14:21
paulsherwoodboucman_work: it the third parties are interacting with genivi/agl it may not be so hard to get them to adopt a common format?14:22
paulsherwoodprticularly if the format choice is sensible, open etc14:23
fredericocadetepaulsherwood: qt is a possible candidate for consumer, and it does have Json, XML and Ini support, but no yaml14:23
paulsherwoodaha.14:24
boucman_workpaulsherwood, I really have trouble making sense of your remarks, it seems you are mixing application developement (where config format is in the sole hand of whoever develops the apps) and Distro developement (where there are various formats, and the "main" format is the yocto config format. AGL doesn't have anything to decide here)14:24
* persia concurs with boucman_work14:25
paulsherwoodboucman_work: you may be right, i'm sorry. new to this :)14:25
fredericocadetepaulsherwood: my fear was mostly that genivi had defined a preferred format I was not aware of, as seems to be the case for the FIDL interface description language and common-api IPC system. Of course interoperability is much more important for IPC than for configuration14:26
persiaIn the event that someone decides to create a *new* component, it may be possible to have guidelines, but in general, it's probably best to let the developers working on that component decide amoungst themselves, so as to be something they are most comfortable using, so they can be most productive.14:26
boucman_workpaulsherwood, are you comming from a "deep embedded"/firmware world ? in that sort of dev (which is common in automotive) the BSP provider tends to impose a format that works the way you think, but when moving to linux, you need to drop the firmware frame of thought14:26
paulsherwoodboucman_work: maybe i've been in management too long, and think engineeriing is easier than it actually is. certainly my colleagues accuse me of that sometimes14:27
*** waltminer has joined #automotive14:27
paulsherwoodon a powerpoint, it's always trivial :-)14:28
boucman_workpaulsherwood, no worries... yocto is an extremely powerfull environement which provides huge benefits for it's learning cost, but the learning cost is not low. It takes some time to master...14:28
paulsherwoodright. i'm staring at that mountain, wondering how/when and how far to climb :)14:29
*** amcgee7 has joined #automotive14:29
paulsherwoodin the meantime, all i hope to do is help the discussion - if i'm saying dumb things, i'm happy for others to correct me14:29
*** olivierdelbeke_ has joined #automotive14:50
*** e8johan has quit IRC14:50
*** bbranch has joined #automotive14:56
*** gvancuts has joined #automotive14:58
*** waltminer has quit IRC15:00
*** jonathanmaw has quit IRC15:03
*** amcgee7 has quit IRC15:13
*** lemagoup has joined #automotive15:43
*** jonathanmaw has joined #automotive15:45
*** rstreif_ has joined #automotive15:52
*** olivierdelbeke_ has quit IRC15:58
*** boucman_work has quit IRC16:07
*** bbranch1 has joined #automotive16:14
*** bbranch has quit IRC16:15
*** jlrmagnus has joined #automotive16:18
*** bbranch1 has quit IRC17:00
*** jonathanmaw has quit IRC17:05
*** mdunford has quit IRC17:12
*** e8johan has joined #automotive17:50
*** e8johan has quit IRC18:24
*** bbranch has joined #automotive18:52
*** bbranch has left #automotive18:52
*** juergbi` is now known as juergbi19:13
*** bjones has joined #automotive19:55
*** bjones has quit IRC22:04
*** emaj has quit IRC22:20
*** lemagoup has quit IRC22:42
*** lemagoup has joined #automotive22:43
*** dabukalam has quit IRC23:24
*** dabukalam has joined #automotive23:25

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!