-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finalize Motor Controller #51
base: fprime-fsw/staging
Are you sure you want to change the base?
Conversation
…s. Add FIXMEs for conversion from commanded values to motor control values
…so included in this commit (sorry it's messy)
…lation unit. Remove repeated i2c memory mapped address arguments. Set once as a member attribute
91ae8fa
to
fe7baf6
Compare
…nected it to i2c interface; can be toggled with first bit in controlRegister
…p how controlRegister works a bit
… for several time steps then a flag is added to status_register and controller stops trying to drive motor (until it is given a new setpoint)
…nging or driving in the wrong direction)
…work interface to another. Allocate separate downlink buffers for applications and selecting correct downlink buffer when each application needs to send a file. Add flushing telemetry buffer when switching interfaces so we don't overwhel the NIC if switching from a larger to smaller MTU Fix a bug with uplink where the checksum was 'not'-ed twice making correct commands fail
…nlinkBuffer. Reorder when some tlm variables are updated to be more useful. Add command to set telemetry level of the GroundInterface component
Meeting Updates@justinnuwin @SchwartzCode @zCoCo
C&TL Motor Controller Telemetry UnitsSpeeds: Deprecate because these readings are totally useless since we are downlinking the raw encoder readings already (can likely stream encoder values @ >100Hz with current bandwidth) -> Will perform this calculation on ground @SchwartzCode 's Motor Control UpdatesFlag For Convergence: Use status register -> Telemetry Plans for Motor Receipt
|
…s are added to position instead of resetting it
…nt impossible reset commands
…icaitons to MotorControlComponent. Needs testinggit status
…t :S ... controller is a bit wacky now, probably due to timing being different now that it isn't in interrupt. Will investigate
…eems to have resolved last remaining funkiness
…d .cpp/.hpp to reflect these new variables. Should be no change on how program runs normally since functions only used by Watchdog
- Validated all commands working and can command single motors
…staging/watchdoginterface Alec/fprime/fprime fsw/staging/watchdoginterface
…E_COMMAND bit of control register, added ability to override default open loop PWM and control it using the desired speed given from Hercules
Pre-Code Review Motor Control TestMotor Control Code 503c121 Updates that have been tested
Outstanding TODOs
|
… counter to actually work
…reset (caused stop-start behavior when given large position setpoints
…er/finalization-#51 Finalizing MSP430 motor controller code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far, going to sift through code and populate code review google sheets
Drafting PR from MSP430+HerculesFSW motor controller code review with @SchwartzCode.
Terminology
Motor Controller: MSP430
MotorControllerComponent: Hercules FSW
Important Notes
Questions
@SchwartzCode to PR motor control branches into this branch for staging & testing to merge with fprime-fsw/staging.