Based on https://github.com/CrossTheRoadElec/Phoenix-Linux-SocketCAN-Example from CTR-Electronics.
Deploy the SocketCAN firmware to a HERO
- Firmware : https://github.com/CrossTheRoadElec/HERO-STM32F4
- Hardware : http://www.ctr-electronics.com/control-system/hro.html
- Install necessary tools and utilities
sudo apt install git
sudo apt install can-utils
sudo apt install net-tools
- Install ROS Melodic
- http://wiki.ros.org/melodic/Installation/Ubuntu
- Perform full desktop installation
- Install ROS packages
sudo apt install ros-melodic-joy
sudo apt install ros-melodic-cv-camera
sudo apt install ros-melodic-usb-cam
- Setup catkin workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
- Clone repo into user directory
git clone https://github.com/SDSU-Robotics/bot-shot.git
. - Navigate into repo
cd bot-shot
.
cd ~/catkin_ws
catkin_make
- Laptop on the robot
- Connect to Robotics wifi
cd ~/catkin_ws
src/bot-shot/runMaster.sh
- Interface laptop
cd ~/catkin_ws/
src/bot-shot/runInterface.sh