Teleop FAQ
Before you look any further, remember to checkout teleop and run ./ansible.sh teleop.yml, followed by ./build.sh.
Python venv
Section titled “Python venv”Output
Section titled “Output”ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? ...Solution
Section titled “Solution”Enter mrover before trying to run 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.
Missing Table
Section titled “Missing Table”Output
Section titled “Output”[gui_backend.sh-1] django.db.utils.OperationalError: no such table: backend_currentautonwaypointsSolution
Section titled “Solution”We need to migrate the Django backend to create the table. From your mrover directory, run:
cd teleoperations/basestation_guipython3 manage.py makemigrationspython3 manage.py migrateOutput
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.
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