- Way to execute the code:
- Create a python virtual environment (optional)
pip install -r requirements.txtpip install -e .pip install https://github.com/robotics-4-all/commlib-py/archive/devel.zip -Usudo apt-get update && sudo apt-get install ffmpeg libsm6 libxext6 redis -y- Open a tab and
redis-server(if you prefer redis over mqtt) - Open
testing.yamlfromstream_simulator/configurationsand declare your world - Create a
.envfile, following the.env_templatetemplate - Open a tab and execute
python3 stream_simulator/bin/bootstrap.py testing 123testingis the configuration file to be loaded123is the namespace to be used for this simulator
- Execute the streamsim like this:
python3 stream_simulator/bin/bootstrap.py testing testinguid - Execute the tests:
pytest tests