MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/RACER / pose_update_2d

Function pose_update_2d

uav_simulator/Utils/pose_utils/src/pose_utils.cpp:192–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192colvec pose_update_2d(const colvec& X1, const colvec& X2) {
193 mat R = yaw_to_R(X1(2));
194 colvec X3(3);
195 X3.rows(0, 1) = R * X2.rows(0, 1) + X1.rows(0, 1);
196 X3(2) = X1(2) + X2(2);
197 return X3;
198}
199
200colvec pose_inverse_2d(const colvec& X) {
201 double c = cos(X(2));

Callers

nothing calls this directly

Calls 1

yaw_to_RFunction · 0.85

Tested by

no test coverage detected