like the title says I'm having trouble with my pi3 and slcand command to setup the carloop
heres a sample script I made to setup the carloop on startup.
#!/bin/bash
set -e
clear
program='Carloop'
echo $program Setup By DUBB45
ls /dev/ttyACM*
sleep .5
sudo slcand -o -c -s4 /dev/ttyACM* can0
sleep .5
sudo ip link set can0 up txqueuelen 1000
sleep .5
sudo ip link set can0 up txqueuelen 1000
sleep 1
ps aux | grep "$program" | grep -v grep > /dev/null
if [ $? -eq 0 ]; then
killall -9 "$program"
fi
exit 0
I've set it up plenty of times on my PI0 but my first time using the PI3