Skip to content

Commit

Permalink
Added mode_of_operation_display_ when setting up slave, to have the s…
Browse files Browse the repository at this point in the history
…ame value as mode_of_operation from parameters. If 0x6061 isn't read, the rest still works as intended.
  • Loading branch information
JensVanhooydonck committed Jun 25, 2024
1 parent 52be2c2 commit 1fbab7f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ bool EcCiA402Drive::setupSlave(

if (paramters_.find("mode_of_operation") != paramters_.end()) {
mode_of_operation_ = std::stod(paramters_["mode_of_operation"]);
mode_of_operation_display_ = std::stod(paramters_["mode_of_operation"]);
}

if (paramters_.find("command_interface/reset_fault") != paramters_.end()) {
Expand Down

0 comments on commit 1fbab7f

Please sign in to comment.