correct visualization
This commit is contained in:
@@ -11,5 +11,5 @@ svo:
|
||||
poseoptim_thresh: 4.0
|
||||
ACC_noise: 0.1 #acc white noise in continuous in EKF
|
||||
GYO_noise: 0.1 #gyro white noise in continuous in EKF
|
||||
svo_ekf: 20 #Svo noise that will be devided by number of Reprojected points after opmization in EKF
|
||||
svo_ekf: 5 #Svo noise that will be devided by number of Reprojected points after opmization in EKF
|
||||
Cmd_Cov: 0.05 #control vector noise in EKF
|
||||
|
||||
@@ -53,7 +53,7 @@ void Visualizer::publishMinimal(
|
||||
if(pub_pose_with_cov_.getNumSubscribers() > 0 && slam.stage() == FrameHandlerBase::STAGE_DEFAULT_FRAME)
|
||||
{
|
||||
// publish cam in world frame (Estimated odometry in the worls frame)
|
||||
Quaterniond q(AngleAxisd(frame->T_f_w_.pitch(), Vector3d::UnitY()));
|
||||
Quaterniond q(AngleAxisd(frame->T_f_w_.pitch(), Vector3d::UnitZ()));
|
||||
geometry_msgs::PoseWithCovarianceStampedPtr msg_pose_with_cov(new geometry_msgs::PoseWithCovarianceStamped);
|
||||
msg_pose_with_cov->header = header_msg;
|
||||
msg_pose_with_cov->pose.pose.position.x = frame->se3().translation().x();
|
||||
|
||||
Reference in New Issue
Block a user