MCPcopy Create free account
hub / github.com/RoboJackets/software-training / resetStates

Method resetStates

controllers/src/pid_controller.cpp:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 void resetStates(Eigen::Vector3d init_state)
119 {
120 auto node_shared = node_.lock();
121 if (!node_shared) {
122 throw std::runtime_error{"Could not acquire node."};
123 }
124 }
125
126 void computeError(
127 const Eigen::Vector3d & state, const Eigen::Vector3d target_state, double dt,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected