- Open miniconda console.
- Pick a folder to save this repo, from now we'll call it
BASE_PATH
. - Clone this repository.
cd BASE_PATH
git clone https://github.com/uwulises/ME5150_omnibase.git
- Create virtual environment named "omnibase".
cd client
conda create -n omnibase python=3.9
conda activate omnibase
- Install all required packages. This may take a while.
cd client
pip install -r requirements.txt
Now you just need to go to VSCode and execute some file, for example: streamClient.py or controlClient.py
- Open a Command Prompt, like Windows PowerShell.
- Connect to Rpi4 via ssh.
ssh robotica@{ROBOT NAME}.local
{ROBOT NAME} can be omni1
, omni2
or omni3
. If it doesn't work, then use the IP address 192.168.100.XXX (ask for it!) of your mobile base.
Ask the password.
ssh robotica@{IP ADDRESS}
- Now that you're on Raspberry Pi, use Ubuntu commands like
cd
orls
to navigate. - To initialize the stream and control the robot, execute:
cd ME5150_omnibase
./start_video.sh
./start_control.sh
And it's ready.
- Open a Command Prompt, like Windows PowerShell.
- Connect to Rpi4 via ssh.
ssh robotica@{ROBOT NAME}.local
{ROBOT NAME} can be omni1
, omni2
or omni3
. If it doesn't work, then use the IP address 192.168.100.XXX of the mobile base, use a program like Angry IP Scanner to search.
Ask the password.
ssh robotica@{IP ADDRESS}
- Configura la Raspberry Pi. Preguntar por configuracioneees.
sudo raspi-config
- Update packages. This may take a while.
sudo apt update
sudo apt upgrade -y
- Install Git.
sudo apt install git
- Clone this repository.
git clone https://github.com/uwulises/ME5150_omnibase.git
- Execute
install_server.sh
to install all
cd ME5150_omnibase/server
chmod +x install_server.sh
./install_server.sh
- It's ready!
TO DO LIST https://www.raspberrypi.com/documentation/computers/os.html#python-on-raspberry-pi
Following recommendation of Picamera 2 manual
sudo apt install -y python3-picamera2
sudo apt install -y python3-opencv
sudo apt install -y opencv-data
sudo apt install screen
- Install via apt-get install python3-venv
- This should starts with python 3.9.2
$ cd ME5150_omnibase
$ python -m venv robotica
- Edit the cmd_vel(float vx, float vy) function, there's some errors on the rpm output
- Use the correct kinematic model using cmd_vel
- Change the implementation to aiortc WebRTC
- Improve the framerate output
- Port all the control moves to cmd_vel standard
- Use requests GET method for call moves
- handle the names of the controller when the batterry runs low
- change the values output of the controller when the batterry runs low
- Look for another library which works with generic controls
- ImportError: libsrtp2.so.1: cannot open shared object file: No such file or directory https://linuxhint.com/install-ffmpeg-raspberry-pi/
sudo apt update && sudo apt upgrade -y
sudo apt install ffmpeg -y
Ensure that ffmpeg is successfully installed, running:
ffmpeg -version
- ImportError: libsrtp2.so.1: cannot open shared object file: No such file or directory
sudo apt install libnspr4 libnss3 libsrtp2-1