Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Just a PoC for the flowing clean architecture.

License

Notifications You must be signed in to change notification settings

outech-robotic/hl-flowing-clean-arch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OUTech code

Prerequisites

Install protoc on your machine:

apt install protoc # OR pacman -S protobuf

High level

The python projects run on python 3.7, make sure you have it installed.

Install pipenv:

sudo pip3 install pipenv

See pipenv documentation for how to work with it.

Install the python dependencies:

pipenv install # Equivalent to `pip install -r requirements.txt`

On Raspberry Pi you might have to:

sudo apt-get install libatlas-base-dev

Regenerate protobuf files:

make protoc

Running the code

High level

Enter into the virtual environment:

pipenv shell # Equivalent to `source ./bin/activate`

Run it!

If you want to run the highlevel code in a simulation:
make run-simulation
If you want to run the highlevel code in real life:
export STUB_LIDAR=true # If you don't have a LIDAR connected.
export STUB_SOCKET_CAN=true # If you don't have ISO-TP server online.

make run

Go to https://outech-robotic.github.io/replay/?replay=ws://localhost:8080 to see what the robot "sees".

Replace localhost with your IP if you are not running it locally.

If you want to run the tests:
make jenkins

You are done!

About

Just a PoC for the flowing clean architecture.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published