Impossible-Robotics-5412 / linkage

An opensource alternative for controlling and programming FRC robots!
MIT License
2 stars 0 forks source link

What will installation and usage look like? #3

Closed ma3ke closed 1 year ago

ma3ke commented 1 year ago

I think it is a good idea to track some ideas on what the process of installing and using the project look like.

We need to create scripts and document the procedures of the following:

ma3ke commented 1 year ago

Additionally, we should perhaps add a subsection in usage describing the configuration.

This also leads us to a question of how to organize configuration. Do we use a single config file on the Pi, or separate ones despite their operation as a single entity.

BaukeWestendorp commented 1 year ago

Additionally, we should perhaps add a subsection in usage describing the configuration.

This also leads us to a question of how to organize configuration. Do we use a single config file on the Pi, or separate ones despite their operation as a single entity.

I think a single configuration file is the most logical solution. When we eventually combine some of the rust code for communicating between programs into a shared rust library, we can add a config struct into that library that can be used over all rust programs on the pi so we don't have to write the code for reading the configuration file three times. (carburetor, linkage-lib and runtime)

ma3ke commented 1 year ago

I agree, and I opened an issue (#4) about the implementation of such a config system. We can do most of this work in parallel with for example the work on this issue. But in the end we will have to unify it. That means that this issue basically depends on #4. So if all unrelated steps have been done here, progress will be blocked by the config implementation. Until then, we can keep working on both.

BaukeWestendorp commented 1 year ago

Installation is documented in the README.