Skip to content
Snippets Groups Projects
Commit cb08d23c authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Key string --> char

parent 878bae3a
No related branches found
No related tags found
2 merge requests!30Release after RAL,!29After 2nd RAL submission
...@@ -236,7 +236,7 @@ void ProcessorOdomIcp::advanceDerived() ...@@ -236,7 +236,7 @@ void ProcessorOdomIcp::advanceDerived()
// overwrite last frame's state // overwrite last frame's state
Isometry2d w_T_ro = Translation2d(origin_ptr_->getFrame()->getState().at("P")) * Rotation2Dd(origin_ptr_->getFrame()->getState().at("O")(0)); Isometry2d w_T_ro = Translation2d(origin_ptr_->getFrame()->getState().at('P')) * Rotation2Dd(origin_ptr_->getFrame()->getState().at('O')(0));
Isometry2d ro_T_so = Translation2d(origin_ptr_->getSensorP()->getState()) * Rotation2Dd(origin_ptr_->getSensorO()->getState()(0)); Isometry2d ro_T_so = Translation2d(origin_ptr_->getSensorP()->getState()) * Rotation2Dd(origin_ptr_->getSensorO()->getState()(0));
Isometry2d& ri_T_si = ro_T_so; // A reference just to have nice names without computing overhead Isometry2d& ri_T_si = ro_T_so; // A reference just to have nice names without computing overhead
......
...@@ -1310,8 +1310,8 @@ void ProcessorTrackerFeaturePolyline2d::computeTransformations() ...@@ -1310,8 +1310,8 @@ void ProcessorTrackerFeaturePolyline2d::computeTransformations()
Eigen::Matrix2d R_world_robot_last = Eigen::Rotation2Dd(vehicle_pose_last(2)).matrix(); Eigen::Matrix2d R_world_robot_last = Eigen::Rotation2Dd(vehicle_pose_last(2)).matrix();
// robot_sensor (to be computed once if extrinsics are fixed and not dynamic) // robot_sensor (to be computed once if extrinsics are fixed and not dynamic)
if (getSensor()->isStateBlockDynamic("P") || if (getSensor()->isStateBlockDynamic('P') ||
getSensor()->isStateBlockDynamic("O") || getSensor()->isStateBlockDynamic('O') ||
!getSensor()->getP()->isFixed() || !getSensor()->getP()->isFixed() ||
!getSensor()->getO()->isFixed() || !getSensor()->getO()->isFixed() ||
!extrinsics_transformation_computed_) !extrinsics_transformation_computed_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment