Teleop FAQ
Before you look any further, make sure you have run ./build.sh from the mrover directory.
Python venv
Section titled “Python venv”Output
Section titled “Output”ModuleNotFoundError: No module named 'rclpy'Solution
Section titled “Solution”Enter mrover before trying to run the basestation.
You have not entered the Python virtual environment. To enter the python venv, enter mrover in the shell. This macro runs:
$ cd ~/ros2_ws/src/mrover && source ~/ros2_ws/src/mrover/venv/bin/activatewhich opens the python virtual environment and allows you to run the basestation.
Output
Section titled “Output”From your ./build.sh output:
ZED not foundscience_hw_bridge missingSolution
Section titled “Solution”Some files that CMake expects are missing. You could try and remove the #Perception and #Embedded sections in CMakeLists, and reach out to your team lead for help.
Frontend not loading
Section titled “Frontend not loading”Output
Section titled “Output”Browser shows a blank page or connection refused on localhost:8080.
Solution
Section titled “Solution”Make sure the backend is running (ros2 launch mrover basestation.launch.py). Check the terminal output for errors. If you see bun/npm errors, try:
cd teleoperation/basestation_gui/frontendbun installThen relaunch the basestation.
Missing unique_identifier_msgs header
Section titled “Missing unique_identifier_msgs header”Output
Section titled “Output”From your ./build.sh output:
fatal error: 'unique_identifier_msgs/msg/detail/uuid__struct.h' file not foundSolution
Section titled “Solution”Run ./clean.sh then ./build.sh from the mrover directory.
manifpy
Section titled “manifpy”The manifpy repository is not installed or activated correctly. Try the code below, running from your mrover directory. If that doesn’t work, reach out to your team lead.
sudo apt-get install libeigen3-devcd && git clone https://github.com/artivis/manif.gitcd manifpython3 -m pip install .cd ~/ros2_ws/src/mrovergit submodule update --init deps/manif