Could not test Signal Composer and Low-CAN API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All, 

I am using Raspberry PI 4 with MCP 2515 CAN Controller and AGL Koi v11.0.4 (built by enabling CAN in build/local.config - ENABLE_CAN="1"). 

After flashing the CAN-Enabled-KOI-image, I changed the boot/config.txt file and made the following changes.

dtparam=spi=on
dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=25
dtoverlay=spi0-hw-cs

I can see CAN Messages in "candump can0"  in AGL sent from Vehicle Spy. 
 
I can see CAN Messages sent by AGL (HVAC - FAN Speed) in Vehicle Spy [Message ID  0x030].

Just I have just tested Engine Speed in Dashboard Application by sending the CAN Message with ID 0x3D9 by referring to file default-signals.cpp from application agl-service-can-low-level. It was not getting updated in the UI. 

For demo application, where can I find the CAN Message ID from AGL Koi. 

After thatI tried to bind afb-demon with either Signal Composer or low-can-service, both giving errors. The command and error log I am attaching the log below.

Where can I find the documentation or sources to configure a custom CAN ID to Signal composer? 
What triggers OnSignalEvent (ref: ValueSource.qml, agl-cluster-demo-dashboard)

Best Regards,
Ashwin
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#9556) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_
Command:
afb-daemon --binding=/var/local/lib/afm/applications/agl-service-can-low-level/lib/afb-low-can-binding.so --rootdir=/var/local/lib/afm/applications/agl-service-can-low-level/ --port=1234 --token=1 --tracereq=common -v
Error Log:
afb-daemon --binding=/var/local/lib/afm/applications/agl-service-can-low-level/lib/afb-low-can-binding.so --rootdir=/var/local/lib/afm/applications/agl-service-can-low-level/ --port=1234 --token=1 --tracereq=common -v
ERROR: [API low-can] CtlPreInit: No control-daemon* config found invalid JSON /var/local/lib/afm/applications/agl-service-can-low-level/etc:/usr/local/agl-service-can-low-level/etc:/home/cmpl/Documents/CANEnabledRPIImage/OthMeth/build/tmp/work/aarch64-agl-linux/agl-service-can-low-level/11.0.4-r0/build/build-release/package/etc:/home/cmpl/Documents/CANEnabledRPIImage/OthMeth/build/tmp/work/aarch64-agl-linux/agl-service-can-low-level/11.0.4-r0/build/build-release/package-test/  [/usr/src/debug/agl-service-can-low-level/11.0.4-r0/git/low-can-binding/binding/low-can-cb.cpp:1039,load_config]
ERROR: binding [/var/local/lib/afm/applications/agl-service-can-low-level/lib/afb-low-can-binding.so] initialisation failed [/usr/src/debug/af-binder/koi+gitAUTOINC+1b6249810b-r0/git/src/afb-api-so-v3.c:134,afb_api_so_v3_add]
ERROR: can't start the binding /var/local/lib/afm/applications/agl-service-can-low-level/lib/afb-low-can-binding.so [/usr/src/debug/af-binder/koi+gitAUTOINC+1b6249810b-r0/git/src/main-afb-daemon.c:178,apiset_start_list]

Command:
afb-daemon --binding=/var/local/lib/afm/applications/agl-service-can-low-level/lib/afb-low-can-binding.so --rootdir=/var/local/lib/afm/applications/agl-service-can-low-level/ --port=1234 --token=1 --tracereq=common -v
Error Log:
afb-daemon --binding=/var/local/lib/afm/applications/signal-composer/lib/afb-signal-composer.so --rootdir=/var/local/lib/afm/applications/signal-composer/ --port=1234 --token=1 --tracereq=common -v
ERROR: [API signal-composer] CtlPreInit: No control-* config found invalid JSON /var/local/lib/afm/applications/signal-composer/etc:/usr/local/signal-composer/etc:/home/cmpl/Documents/CANEnabledRPIImage/OthMeth/build/tmp/work/aarch64-agl-linux/agl-service-signal-composer/11.0.4-r0/build/build-release/package/etc:/home/cmpl/Documents/CANEnabledRPIImage/OthMeth/build/tmp/work/aarch64-agl-linux/agl-service-signal-composer/11.0.4-r0/build/build-release/package-test/  [/usr/src/debug/agl-service-signal-composer/11.0.4-r0/git/signal-composer-binding/signal-composer.cpp:438,loadConfig]
ERROR: binding [/var/local/lib/afm/applications/signal-composer/lib/afb-signal-composer.so] initialisation failed [/usr/src/debug/af-binder/koi+gitAUTOINC+1b6249810b-r0/git/src/afb-api-so-v3.c:134,afb_api_so_v3_add]
ERROR: can't start the binding /var/local/lib/afm/applications/signal-composer/lib/afb-signal-composer.so [/usr/src/debug/af-binder/koi+gitAUTOINC+1b6249810b-r0/git/src/main-afb-daemon.c:178,apiset_start_list]

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux