25 throw std::runtime_error(
"Static transforms not implemented yet.");
68 this, ros::TransportHints().tcpNoDelay());
83 static int odometryCallbackCounter__ = -1;
86 ++odometryCallbackCounter__;
88 Eigen::Isometry3d T_W_Ik;
92 double odometryTimeK = odomPtr->header.stamp.toSec();
100 bool addMeasurementFlag =
false;
101 if (odometryCallbackCounter__ < 4000) {
102 if ((odometryCallbackCounter__ % 200) == 0) {
103 addMeasurementFlag =
true;
106 if ((odometryCallbackCounter__ % 2000) == 0) {
107 addMeasurementFlag =
true;
112 if (odometryCallbackCounter__ <= 2) {
117 }
else if (addMeasurementFlag) {
void addUnaryPose3AbsoluteMeasurement(const UnaryMeasurementXDAbsolute< Eigen::Isometry3d, 6 > &R_T_R_S, const bool addToOnlineSmootherFlag=true) override
Unary Measurements / Absolute Measurements: In reference frame --> systematic drift.
static void addToPathMsg(const nav_msgs::PathPtr &pathPtr, const std::string &frameName, const ros::Time &stamp, const Eigen::Vector3d &t, int maxBufferLength)
ros::NodeHandle privateNode
HolisticFusionRos(const std::shared_ptr< ros::NodeHandle > &privateNodePtr)
std::shared_ptr< GraphConfig > graphConfigPtr_
bool areYawAndPositionInited() const
std::shared_ptr< StaticTransforms > staticTransformsPtr_
bool initYawAndPosition(const UnaryMeasurementXD< Eigen::Isometry3d, 6 > &unary6DMeasurement)
Class to represent x-dimensional absolute unary measurement in the graph.
nav_msgs::PathPtr measPose3_worldImuPathPtr_
ros::Publisher pubMeasPose3Path_
void initializeServices(ros::NodeHandle &privateNode) override
std::string unaryPose3Frame_
void readParams(const ros::NodeHandle &privateNode) override
void pose3Callback_(const nav_msgs::Odometry::ConstPtr &lidarOdomPtr)
double pose3OdometryRate_
ImuPose3Fuser(std::shared_ptr< ros::NodeHandle > privateNodePtr)
void initializePublishers(ros::NodeHandle &privateNode) override
ros::Subscriber subPose3Odometry_
Eigen::Matrix< double, 6, 1 > pose3UnaryNoise_
void initializeSubscribers(ros::NodeHandle &privateNode) override
void initializeMessages(ros::NodeHandle &privateNode) override
void odomMsgToEigen(const nav_msgs::Odometry &odomLidar, Eigen::Matrix4d &T)