I'm having some trouble conceptualizing how to go about implementing PID into my Dronedrone. thereThere are a few ways I'm thinking about implementing the pipeline: Having one PID Object for each of the six motors, Having one PID Object for each axis
- Having one PID Object for each of the six motors.
- Having one PID Object for each axis.
How I would implement PIDs on a per-motor basis: ?
How I would implement PIDs on a per-axis basis: ?
I'm guessing that the second one will be the best course of action, as it can all be put into it'sits own loop, where the PID data will be available on-demand, as opposeopposed to calculationscalculating it on the spot. It is object oriented-oriented, and runs in the background.
The first one has it'sits appeals, too. It eliminates some of the caluclationscalculations needed in order to find the acutalactual value. It is procedural, and very straight forwardstraightforward and performesperforms on the spot.
What do you guys think?

