Skip to content
Snippets Groups Projects
Commit fee3eacb authored by Tobias Gröger's avatar Tobias Gröger
Browse files

Fix Eigen cast

parent 55ed9cb8
No related branches found
No related tags found
3 merge requests!68Add human tracking,!53Draft: Implement basic version of kalman filter for human tracking,!28Draft: Dev -> Main
This commit is part of merge request !53. Comments created here will be created in the context of that merge request.
......@@ -107,7 +107,7 @@ namespace armarx::navigation::components::dynamic_scene_provider
//initial position and orientation according to detected human
SystemModelT::StateT state0;
//initialize with detected human pose position
state0.position = human.pose.translation();
state0.position = human.pose.translation().cast<T>();
//initialize with SO2 matrix according to detected human pose rotation
state0.orientation = manif::SO2<T>{Eigen::Rotation2Df(human.pose.linear()).angle()};
......
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