BlastTNG / flight

Flight Code for BLASTPol TNG
GNU General Public License v2.0
2 stars 1 forks source link

Elevation motor pointing gain #39

Closed sethhillbrand closed 8 years ago

sethhillbrand commented 8 years ago

There is a pointing gain term in the elevation motor controller command_data. Evaluate whether we need this term and if not, remove from commanding.

fissel commented 8 years ago

So we definitely do want to keep the pointing gain term for the elevation motor. This is used when mcp is in a goto position mode (see get_elev_vel() in motors.c). In this case the requested velocity amplitude is the square root of the distance from the target elevation times the pointing gain. So increasing the pointing gain will increase how fast we approach our target elevation (in pointing mode). Set it too high though and we will keep overshooting the target elevation.