Skip to content

Commit

Permalink
base lib optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
giafranchini committed Jan 31, 2024
1 parent 4236aa8 commit ade7e24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ externalproject_add(
covariance_geometry_cpp
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/covariance_geometry_cpp
GIT_REPOSITORY https://github.com/andreaostuni/covariance_geometry.git
GIT_TAG master
TIMEOUT 10
UPDATE_COMMAND ${GIT_EXECUTABLE} pull
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/covariance_geometry_cpp/src
Expand Down
4 changes: 2 additions & 2 deletions src/covariance_geometry_ros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void inverseCompose(
fromROS(a, pose_a);
fromROS(b, pose_b);
ComposePoseQuaternionCovarianceRPY(
pose_a, inversePose3DQuaternionCovarianceRPY(pose_b), pose_out);
pose_a, InversePose3DQuaternionCovarianceRPY(pose_b), pose_out);
toROS(pose_out, out);
}

Expand All @@ -108,7 +108,7 @@ void inverseCompose(
PoseQuaternionCovarianceRPY pose_b, pose_out;
fromROS(a, pose_a);
fromROS(b, pose_b);
pose_b = inversePose3DQuaternionCovarianceRPY(pose_b);
pose_b = InversePose3DQuaternionCovarianceRPY(pose_b);
ComposePose3DQuaternion(
pose_a, pose_b.first,
pose_out.first);
Expand Down

0 comments on commit ade7e24

Please sign in to comment.