VehicleAvgSpeed with vcan fail

Description

test steps

1.DASHBOARD startup;

2.edit /etc/dev-mapping.conf :
[CANbus-mapping]
hs="vcan0"
ls="vcan0"

3.enable vcan :
~# modprobe vcan
~# ip link add vcan0 type vcan
~# ip link set vcan0 up

4.restart dashboard

systemctl restart afm-api-low-can@0.service
systemctl restart afm-appli-dashboard--0.1–main@1001.service

5.send singal to change speed(30KM/h command
~# cansend vcan0 3E9#0F00

 

result:

Renesas M3+KF,Raspberry Pi 3: VehicleAvgSpeed does not change

intel up2, DragonBoard 410c: successfully.

Environment

None

Attachments

1

Activity

Show:

Walt Miner March 29, 2023 at 6:33 PM

App FW deprecated from UCB starting with Marlin release (14.0.0)

Li Xiaoming April 22, 2020 at 2:43 AM
Edited

:thanks for your advice,but it seems not work for me.  Could you take a look ? Thanks.

 

My test steps:

raspberrypi4:~# sed -i 's/"can0/"vcan0/' /etc/dev-mapping.conf
raspberrypi4:~# modprobe vcan
[ 113.360725] vcan: Virtual CAN interface driver
raspberrypi4:~# ip link add vcan0 type vcan
raspberrypi4:~# ip link set vcan0 up

#restart low-can 
raspberrypi4:~# systemctl restart afm-api-low-can*

#restart signal-composer 
raspberrypi4:~# systemctl restart afm-api-signal-composer@1001.service
raspberrypi4:~# systemctl restart afm-service-signal-composer--9.0--main@1001.service
raspberrypi4:~# systemctl restart afm-api-signal-composer@1001.socket

#commands below got no change in Dashbaard UI
raspberrypi4:~# cansend vcan0 3E9#0F00
[ 204.080118] can: raw protocol (rev 20170425)
raspberrypi4:~# cansend vcan0 3E9#FFFF
raspberrypi4:~# cansend vcan0 3D9#0F00

Scott Murray April 21, 2020 at 1:28 PM

Note that on Icefish, dashboard now reads the speeds from signal-composer and not directly from low-can.  That means that for this test to work, you'll need to restart the signal-composer binding after restarting low-can (and before restarting dashboard).

Li Xiaoming January 22, 2020 at 3:17 AM

cansend vcan0 3D9#0F00   can not work neither

Jan-Simon Moeller January 21, 2020 at 1:41 PM

Won't Fix

Details

Assignee

Reporter

Contract ID

Hardware Platform(s) Affected

Raspberry Pi 3
Renesas M3+KF

Priority

Created September 12, 2019 at 6:55 AM
Updated March 29, 2023 at 6:34 PM
Resolved March 29, 2023 at 6:33 PM