Open Source Garden/Generic Autonomous Robot / Python library
Open Source Garden/Generic Autonomous Robot (Python library)
OSGAR is lightweight multi-platform library targeting record and replay of
nodes (modules = sensors, robots, applications) logged into single file. It
has similar goals as ROS or ADTF, but is minimalistic. It should run on
different operating systems and also low end devices like Raspberry PI Zero.
References at http://robotika.cz/robots/osgar/
Robot is set of modules. Every module has input and output ports, described
together with the connections in the config file. All ports are logged with
timestamp (microsecond resolution). The module is typically an instance of a
driver, whose init arguments are also in config file.
Notes regarding GitHub repository
The current development code is under
If you are using OSGAR directly from sources please make sure that
you setup PYTHONPATH to the root of this project.
The example configurations are stored in
config folder. JSON files are
Collect data from sensor(s)
There is a osgar/record.py to run data collection based on given configuration file. If you would like to collect GPS data available on serial port use modified version of test-windows-gps.json for Windows or test-gps-imu.json for Linux.
python -m osgar.record config/test-windows-gps.json
To replay existing log use:
python -m osgar.replay --module <module name> <log file name>
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size osgar-0.2.0-py3-none-any.whl (64.6 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size osgar-0.2.0.tar.gz (43.9 kB)||File type Source||Python version None||Upload date||Hashes View|