Skip to content

Commit

Permalink
Patched minor bug in the LLH output and ROS2 odometry converter
Browse files Browse the repository at this point in the history
  • Loading branch information
Facundo Garcia committed Aug 6, 2024
1 parent 2f3d034 commit fabb6c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fixposition_driver_ros1/src/data_to_ros1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ void OdomToNavSatFix(const FP_ODOMETRY& data, ros::Publisher& pub) {
} else {
msg.header.stamp = ros::Time::fromBoost(GpsTimeToPtime(data.odom.stamp));
}
msg.header.frame_id = data.odom.frame_id;
msg.header.frame_id = data.odom.child_frame_id;

// Populate LLH position
const Eigen::Vector3d llh_pos = TfWgs84LlhEcef(data.odom.pose.position);
Expand Down
2 changes: 1 addition & 1 deletion fixposition_driver_ros2/src/data_to_ros2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ void OdomToNavSatFix(const fixposition::FP_ODOMETRY& data, rclcpp::Publisher<sen
} else {
msg.header.stamp = GpsTimeToMsgTime(data.odom.stamp);
}
msg.header.frame_id = data.odom.frame_id;
msg.header.frame_id = data.odom.child_frame_id;

// Populate LLH position
const Eigen::Vector3d llh_pos = TfWgs84LlhEcef(data.odom.pose.position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <string>

/* PACKAGE */
#include <fixposition_odometry_converter_ros2/ros_msgs.hpp>
#include <fixposition_odometry_converter_ros2/ros2_msgs.hpp>

namespace fixposition {

Expand Down

0 comments on commit fabb6c4

Please sign in to comment.