Install ROS2 foxy
sudo apt update
./install_ros2_foxy_rpi.sh
-
ROS2 (tested with Foxy)
sudo apt-get install -y ros-foxy-ackermann-msgs sudo apt-get install -y ros-foxy-can-msgs sudo apt-get install -y ros-foxy-joy* ros-foxy-teleop*
-
sudo apt-get install can-utils
-
other (optional)
sudo apt install network-manager sudo apt install net-tools
Use the following commands to download and compile the package.
mkdir -p ~/evpi_ws/src && cd ~/evpi_ws/src
git clone https://github.com/csl-taipeitech/EVpi-embedded.git
cd ..
rosdep install -i --from-path src --rosdistro foxy -y
colcon build
. install/setup.bash
echo "source ~/evpi_ws/install/setup.bash" >> .bashrc
- Bringup can_manager
ros2 launch evpi_bringup can_bringup.launch.xml