RITFIRSTRobotics / 2020-robot-code

Robot code for the 2020 ImagineRIT project rewrite
1 stars 0 forks source link

Create High level control code #4

Open ahkneipp opened 3 years ago

ahkneipp commented 3 years ago

The programming of robot control logic should be as simple as possible. To that end, a high-level, object oriented layer should be made available to control the actuators, sensors, and to house the robot logic.

These are an absolute minimum to at least get started, and these DO NOT need to be and probably should not be the end-all be-all of an interface layer.

BradHacker commented 3 years ago

https://github.com/RITFIRSTRobotics/2020-robot-code/commit/05145989237a2410e1d8a0a542b7d4eca6038bd0#diff-f40043e2b6b51eb5648d4464549f9874R18

This causes issues due to a file not existing. Even stated in the source code that file may not exist: Comment Located Here

Also removing that line causes GIT_COMMIT_HASH to not exist.

Not sure what to make of it.

thatging3rkid commented 3 years ago

hmm, this was an issue I was debugging before I left and forgot to comment out before committing, oops :(

dbgcommit.gen.h is generated by a Makefile and includes some debugging info (git commit hash, build type), currently the dependency ordering is wrong, which causes the file to not be generated in time