imu orientation meaning and lookupTransform direction ?
Hello,
- Q1:what is the imu orientation meaning?
- I think imu's orientation meaning is similar as odom's orientation.In odom 's orientation, it means that from
base_link_0
(odom frame,this moment odom is launched ) tobase_link_t
(base_link frame in time t ) rotation.So,i think imu's orientation means that fromimu_t
(imu_frame in time t) toimu_0
(this moment imu is launched),just like the this picture picture, my thinking is right?? - Q2: Does
tf::TransformListener::lookupTransform
(const std::string& target_frame, const std::string& source_frame, const ros::Time& time, StampedTransform& transform)function means that :transform
variable represents fromtarget_frame
tosource_frame
R-T ,namely ,target_frame is reference frame,we start target_frame ?? - Q3: When i see
robot_pose_ekf code:
imu measurement line 230, base_imu_offset line247 , imu measurement' 248, add measurement line261, If my Q1 and Q2 understanding are all right, i think line247,should berobot_state_.lookupTransform( imu->header.frame_id,base_footprint_frame_, imu_stamp_, base_imu_offset);
,it should be lookupTransform: from imu_t---->base_t, Where do I understand the mistake?? - Thanks in advance a lot !!!
add a comment