*** Net147 has quit IRC | 00:00 | |
*** Net147 has joined #automotive | 00:01 | |
*** Net147 has quit IRC | 00:05 | |
*** Net147 has joined #automotive | 00:06 | |
*** Net147 has quit IRC | 03:17 | |
*** Net147 has joined #automotive | 03:18 | |
*** Net147 has quit IRC | 03:34 | |
*** Net147 has joined #automotive | 03:36 | |
*** Wetmelon has quit IRC | 04:29 | |
*** Net147 has quit IRC | 04:38 | |
*** Net147 has joined #automotive | 04:40 | |
*** anjumkaiser has joined #automotive | 06:55 | |
*** anjumkaiser has quit IRC | 08:04 | |
*** montjoie has quit IRC | 09:21 | |
*** montjoie has joined #automotive | 10:01 | |
*** Net147 has quit IRC | 10:46 | |
*** Net147 has joined #automotive | 10:48 | |
*** Tarnyko has joined #automotive | 12:56 | |
*** Tarnyko has left #automotive | 13:47 | |
*** Newami has joined #automotive | 14:03 | |
*** Newami has quit IRC | 14:20 | |
*** toscalix has joined #automotive | 15:19 | |
*** Wetmelon has joined #automotive | 15:30 | |
*** RzR has joined #automotive | 16:40 | |
RzR | https://events.linuxfoundation.org/open-source-summit-japan/program/schedule/ | 16:40 |
---|---|---|
*** toscalix has quit IRC | 17:07 | |
*** sudip has joined #automotive | 17:38 | |
sudip | hi, 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 IRC | 18:20 | |
*** Wetmelon has joined #automotive | 18:36 | |
*** AlisonChaiken has quit IRC | 19:12 | |
*** AlisonChaiken has joined #automotive | 19:13 | |
smurray | sudip: 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 installs | 19:33 |
smurray | sudip: 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 CAN | 19:34 |
smurray | sudip: 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 it | 19:35 |
sudip | thanks smurray, I was only trying with agl-cluster-demo. I am planning to send signals using vcan and cansend for now | 19:36 |
sudip | will try agl-cluster-demo-preload now | 19:36 |
smurray | sudip: 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 readable | 19:53 |
smurray | sudip: 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 cansend | 19:54 |
smurray | sudip: that script's easy to hack on as well | 19:55 |
smurray | sudip: 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 ones | 19:57 |
sudip | smurray: 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 signals | 19:57 |
*** Wetmelon has quit IRC | 20:22 | |
*** maxel has quit IRC | 20:22 | |
*** Wetmelon has joined #automotive | 20:25 | |
*** maxel has joined #automotive | 20:25 | |
sudip | smurray: 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 |
sudip | I am setting up vcan0 with - https://psty.io/p?q=244bc | 21:09 |
smurray | sudip: that's not going to work unless you've configured vcan0 as the interface for the CAN binding to use in /etc/dev-mapping.conf | 21:09 |
sudip | ahhh.. right.. its using can0 | 21:10 |
sudip | thanks again | 21:10 |
* sudip tries | 21:10 | |
smurray | sudip: 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 |
smurray | sudip: probably simplify your life if you port this change to the cluster demo: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-telematics-demo/+/25577 | 21:12 |
smurray | sudip: that would bring the vcan interface up automatically on boot | 21:12 |
smurray | sudip: I'd never thought anyone would use these demos w/o CAN hardware, guess that was naive | 21:13 |
sudip | smurray: 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 qml | 21:19 |
sudip | and thanks for the pointer to the patch, I was just thinking of adding a script to bringup the interface after networking is configured | 21:20 |
smurray | sudip: 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 work | 21:22 |
sudip | smurray: I assumed it will take some work so started looking at how to use CAN with the demo | 21:28 |
smurray | sudip: it's definitely the least effort approach | 21:32 |
sudip | smurray: thanks for all the help, and sorry to spoil your Sunday evening | 21:34 |
smurray | sudip: no worries, still afternoon here ;) | 21:34 |
*** thaytan has quit IRC | 23:37 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!