Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Tweeted twitter.com/StackArduino/status/840618867336589312
Bumped by Community user
Bumped by Community user
Bumped by Community user

What is the proper way to implenetimplement PID?

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: ?

enter image description here

How I would implement PIDs on a per-axis basis: ?

enter image description here

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?

What is the proper way to implenet PID

I'm having some trouble conceptualizing how to go about implementing PID into my Drone. there 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

How I would implement PIDs on a per-motor basis: enter image description here

How I would implement PIDs on a per-axis basis: enter image description here

I'm guessing that the second one will be the best course of action, as it can all be put into it's own loop, where the PID data will be available on-demand, as oppose to calculations it on the spot. It is object oriented, and runs in the background.

The first one has it's appeals, too. It eliminates some of the caluclations needed in order to find the acutal value. It is procedural, and very straight forward and performes on the spot.

What do you guys think?

What is the proper way to implement PID?

I'm having some trouble conceptualizing how to go about implementing PID into my drone. There 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.

How I would implement PIDs on a per-motor basis?

enter image description here

How I would implement PIDs on a per-axis basis?

enter image description here

I'm guessing that the second one will be the best course of action, as it can all be put into its own loop, where the PID data will be available on-demand, as opposed to calculating it on the spot. It is object-oriented, and runs in the background.

The first one has its appeals, too. It eliminates some of the calculations needed in order to find the actual value. It is procedural, and very straightforward and performs on the spot.

What do you guys think?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Source Link
tuskiomi
  • 205
  • 1
  • 11

What is the proper way to implenet PID

I'm having some trouble conceptualizing how to go about implementing PID into my Drone. there 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

How I would implement PIDs on a per-motor basis: enter image description here

How I would implement PIDs on a per-axis basis: enter image description here

I'm guessing that the second one will be the best course of action, as it can all be put into it's own loop, where the PID data will be available on-demand, as oppose to calculations it on the spot. It is object oriented, and runs in the background.

The first one has it's appeals, too. It eliminates some of the caluclations needed in order to find the acutal value. It is procedural, and very straight forward and performes on the spot.

What do you guys think?