Skip to content

Commit

Permalink
Merge pull request #449 from simplefoc/current_calculation_typo_in_co…
Browse files Browse the repository at this point in the history
…mments

Current calculation typo in comments
  • Loading branch information
runger1101001 authored Feb 18, 2025
2 parents 5981f8b + 83c341b commit f60c953
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void setup() {
// limiting motor movements
// limit the voltage to be set to the motor
// start very low for high resistance motors
// currnet = resistance*voltage, so try to be well under 1Amp
// currnet = voltage/resistance, so try to be well under 1Amp
motor.voltage_limit = 3; // [V]

// open loop control config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void setup() {
// limiting motor movements
// limit the voltage to be set to the motor
// start very low for high resistance motors
// currnet = resistance*voltage, so try to be well under 1Amp
// currnet = voltage/resistance, so try to be well under 1Amp
motor.voltage_limit = 3; // [V]

// open loop control config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void setup() {
// limiting motor movements
// limit the voltage to be set to the motor
// start very low for high resistance motors
// currnet = resistance*voltage, so try to be well under 1Amp
// currnet = voltage/resistance, so try to be well under 1Amp
motor.voltage_limit = 3; // [V]
// limit/set the velocity of the transition in between
// target angles
Expand Down Expand Up @@ -78,4 +78,4 @@ void loop() {

// user communication
command.run();
}
}

0 comments on commit f60c953

Please sign in to comment.