Skip to content

Commit

Permalink
initialize process error to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
mzhouURI committed Oct 31, 2024
1 parent 8b10fe3 commit 3beca2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mvp_control/mvp_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ MvpControl::MvpControl() {
* Initialize the error state
*/
m_error_state = Eigen::VectorXd(CONTROLLABLE_DOF_LENGTH);

m_error_state.setZero();
/**
* Create the multiple input multiple output PID controller
*/
Expand Down
2 changes: 1 addition & 1 deletion src/mvp_control/mvp_control_ros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "exception.hpp"
#include "tf2_eigen/tf2_eigen.h"

#include "mvp_control/dictionary.h"


#include "boost/regex.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/mvp_control/mvp_control_ros.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#include "mvp_msgs/GetControlMode.h"
#include "mvp_msgs/GetControlModes.h"
#include "mvp_msgs/SetControlPoint.h"

#include "mvp_control/dictionary.h"
/*******************************************************************************
* MVP
*/
Expand Down

0 comments on commit 3beca2f

Please sign in to comment.