Closed ghost closed 7 years ago
Not tested on the robot. Should especially test for the new Encoder
structure wrapped by sensors_encoders
.
(By the way, I was careful that git sees these files as renamed, as opposed to deleting and creating whole new files.)
Tested on the robot. Exposes #62, which I thought had been fixed, but actually was just hidden.
After #62 is fixed, this should be good to go.
As it turns out, the Arduino build system does support source subdirectories in
src/
.Modified the directory structure so the entire project resides in
src/
. Created two subdirectories insrc/
calleddevice/
andlegacy_motion/
. This small amount of organization is already a huge improvement, as my brain can now logically understand where any source file is located. (i.e. it is either a device, or a motion construct, or neither). There's not as many as 20 items in any directory.The
legacy_motion/
directory is intended to encapsulate the existing motion layer and to label it as "legacy", in anticipation of the replacement refactored implementation.Resolves #99.