Configuring the ROS EnvironmentΒΆ

  1. Permanently source the setup.bash files by running the following:

echo "source /opt/ros/noetic/setup.bash" >> ~/.profile
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
echo "source /home/pi/catkin_ws/devel/setup.bash" >> ~/.profile
echo "source /home/pi/catkin_ws/devel/setup.bash" >> ~/.bashrc
  1. Close the terminal and open a new one.

  2. Navigate to the work space cd catkin_ws/src

  3. Change the name of the VMX-ROS folder to vmxpi_ros

mv /home/pi/catkin_ws/src/VMX-ROS/ /home/pi/catkin_ws/src/vmxpi_ros
  1. To build the packages run catkin build -cs. Note, this may take a while as the command builds all the packages in the catkin workspace.

catkin build -cs


This process may take a couple minutes if running for the first time.

With everything built, you can begin running the node.