3.6 Sensors base node
3.6.1 USB To CAN Drive installation and testing
22
Ubuntu18.04
Dependency
Ubuntu18.04
Install rosinstall,
Environment set up
Ubuntu16.04
sudo apt-get install ros-melodic-desktop-full
sudo rosdep in
rosdep update
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
sudo apt install python-rosinstall python-rosinstall-generator python-wstool
build-essential
Enable gs _usb
Open CAN port and set the baud rate
sudo modprobe gs_usb
sudo ip link set can0 up type can bitrate 500000
Check CAN
ifconfig -a