IRC logs for #automotive for Sunday, 2020-11-22

*** Net147 has quit IRC00:00
*** Net147 has joined #automotive00:01
*** Net147 has quit IRC00:05
*** Net147 has joined #automotive00:06
*** Net147 has quit IRC03:17
*** Net147 has joined #automotive03:18
*** Net147 has quit IRC03:34
*** Net147 has joined #automotive03:36
*** Wetmelon has quit IRC04:29
*** Net147 has quit IRC04:38
*** Net147 has joined #automotive04:40
*** anjumkaiser has joined #automotive06:55
*** anjumkaiser has quit IRC08:04
*** montjoie has quit IRC09:21
*** montjoie has joined #automotive10:01
*** Net147 has quit IRC10:46
*** Net147 has joined #automotive10:48
*** Tarnyko has joined #automotive12:56
*** Tarnyko has left #automotive13:47
*** Newami has joined #automotive14:03
*** Newami has quit IRC14:20
*** toscalix has joined #automotive15:19
*** Wetmelon has joined #automotive15:30
*** RzR has joined #automotive16:40
RzRhttps://events.linuxfoundation.org/open-source-summit-japan/program/schedule/16:40
*** toscalix has quit IRC17:07
*** sudip has joined #automotive17:38
sudiphi, I just built the cluster-demo and running it on qemu. Instead of the animation I will like to use cansend to send signals to control the cluster. Can anyone please point me to any documentation for that..17:41
*** Wetmelon has quit IRC18:20
*** Wetmelon has joined #automotive18:36
*** AlisonChaiken has quit IRC19:12
*** AlisonChaiken has joined #automotive19:13
smurraysudip: sorry, I never got around to documenting that.  Look at the AGL.conf file that meta-agl-cluster-demo/recipes-config/cluster-dashboard-demo-config/cluster-dashboard-demo-config_1.0.bb installs19:33
smurraysudip: if you run aglsetup.sh with "agl-cluster-demo agl-cluster-demo-preload", that recipe gets enabled and the conf file installed to disable the animation and use CAN19:34
smurraysudip: note that the CAN messages used are specific to the agl-vcar definition in the CAN binding, it doesn't use OBD-II diagnostic messages for it19:35
sudipthanks smurray, I was only trying with agl-cluster-demo. I am planning to send signals using vcan and cansend for now19:36
sudipwill try agl-cluster-demo-preload now19:36
smurraysudip: you can copy over the AGL.conf or create it by hand if you already have an image, just need to make sure it's /etc/xdg/AGL.conf and "chsmack -a _" it so it'll be readable19:53
smurraysudip: you can grab the recipes-demo/simple-can-simulator/files/simple_can_simulator.py script from meta-agl-demo if you need something to drive it, easier than doing cansend19:54
smurraysudip: that script's easy to hack on as well19:55
smurraysudip: for the steering wheel events, I have a test script here somewhere that does cansend for all of them, but simple_can_simulator.py simulates the cruise control ones19:57
sudipsmurray: thanks. before asking here I modified the image to add a patch to make 'runAnimation' false which stopped the animation but I was struggling to send the signals19:57
*** Wetmelon has quit IRC20:22
*** maxel has quit IRC20:22
*** Wetmelon has joined #automotive20:25
*** maxel has joined #automotive20:25
sudipsmurray: I am definitely missing something. After adding AGL.conf, now the simulation has stopped and I am running 'simple_can_simulator.py -v vcan0' which shows its sending the speed data but I am not seeing any change in the cluster.21:08
sudipI am setting up vcan0 with - https://psty.io/p?q=244bc21:09
smurraysudip: that's not going to work unless you've configured vcan0 as the interface for the CAN binding to use in /etc/dev-mapping.conf21:09
sudipahhh.. right.. its using can021:10
sudipthanks again21:10
* sudip tries21:10
smurraysudip: and it's not going to work if you bring the interface up by hand from the command-line after the CAN binding starts, you'd have to restart the whole chain (CAN binding, signal-composer, dashboard)21:10
smurraysudip: probably simplify your life if you port this change to the cluster demo: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-telematics-demo/+/2557721:12
smurraysudip: that would bring the vcan interface up automatically on boot21:12
smurraysudip: I'd never thought anyone would use these demos w/o CAN hardware, guess that was naive21:13
sudipsmurray: I am just trying send an input to agl-cluster-demo-dashboard and I think using CAN signals will be the easiest. Not sure if it is even possible to use fifo or msgq with qml21:19
sudipand thanks for the pointer to the patch, I was just thinking of adding a script to bringup the interface after networking is configured21:20
smurraysudip: architecturally the place to stick a non-CAN transport in would likely be in a new binding or maybe a plugin to the signal-composer binding, but that'd take some work21:22
sudipsmurray: I assumed it will take some work so started looking at how to use CAN with the demo21:28
smurraysudip: it's definitely the least effort approach21:32
sudipsmurray: thanks for all the help, and sorry to spoil your Sunday evening21:34
smurraysudip: no worries, still afternoon here ;)21:34
*** thaytan has quit IRC23:37

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