Draft
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
Author
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
Author
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
SchwartzCode
reviewed
May 2, 2021
SchwartzCode
left a comment
There was a problem hiding this comment.
Looks good so far, going to sift through code and populate code review google sheets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.