Hawkeye-OS/
├── .dockerignore
├── .gitignore
├── docker-compose.yml
├── Dockerfile
├── mock_gcom.py
├── README.md
├── start_system.sh
├── stop_system.sh
├── test-hawkeye-os.sh
├── received_stream/
└── src/
└── orchestrator
├── package.xml
├── setup.cfg
├── setup.py
├── orchestrator/
├── __init__.py
├── mock_object_detection.py
└── orchestrator.py
└── resource/
└── orchestrator
└── test_images
├── anpanman_wooddadandan_hero.jpg
└── test_video.mp4Install docker, docker-compose, tmux.
// I think we can ignore this since we have the requirements.txt Install required Python Packages:
pip install websockets aiortc av opencv-python numpyBuild the image (in project root)
docker-compose buildRun the container
docker-compose up -dGet the bash (On each terminal to test)
docker-compose exec ros2_workspace bashInside the terminal, build the workplace
colcon buildMake sure you're in the project's root directory (../Hawkeye-OS)
In a Normal Terminal:
py mock_gcom.pyInside the Docker Workspace (see previous section for setup):
ros2 run orchestrator orchestratorFor testing, mock queues are available
ros2 run orchestrator mock_object_detection ("on another terminal")For bash shells, there are files you can run to automate the test setups.
To run the script, make sure you make it executable with:
chmod +x start_system.sh stop_system.shRun the script (in project root):
./start_system.sh To stop the script:
./stop_system.sh