The delays is the time between reception of a response and sending of
the next ping message.
t() {
PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN0`
t() {
PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN0`
- vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER -t 1 -d $CAN0 -w 0 -c $COUNT
+ vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER -t 1 -d $CAN0 -w 0 -c $COUNT
+ vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER-1 -t 1 -d $CAN0 -w 1 -c $COUNT
+ vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER-2 -t 1 -d $CAN0 -w 2 -c $COUNT
set grid
set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
set grid
set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
-plot [0:] "socketcan-virtual-1000.dat" with lp title "Socketcan",\
- "lincan-virtual-1000.dat" with lp title "Lincan"
+plot [0:] "socketcan-virtual-1000.dat" with lp title "Socketcan 0 ms delay",\
+ "lincan-virtual-1000.dat" with lp title "Lincan 0 ms delay",\
+ "socketcan-virtual-1-1000.dat" with lp lt 1 title "Socketcan 1 ms delay",\
+ "lincan-virtual-1-1000.dat" with lp lt 2 title "Lincan 1 ms delay",\
+ "socketcan-virtual-2-1000.dat" with lp lt 1 title "Socketcan 2 ms delay",\
+ "lincan-virtual-2-1000.dat" with lp lt 2 title "Lincan 2 ms delay"