eagleye icon indicating copy to clipboard operation
eagleye copied to clipboard

Add heading information from driver

Open tiesus opened this issue 2 years ago • 2 comments

First of all thanks for the amazing package. I have a question regarding the heading source. In dual antenna setups you are fusing the input from both antennas seperately. I understand that the driver is intended to work with raw values through rtk lib instead of driver specific messages. For me it would be interesting to fuse heading from the driver directly (as sensor_msg/Imu) instead of using multi antenna mode. Is this possible? My intention to use this package this way is to use params like antenna::hading offset.

tiesus avatar Jun 08 '23 12:06 tiesus

Instead of launching gnss_compass.launch, you can input a topic called gnss_compass_pose of the type geometry_msgs::msg::PoseStamped to the heading_node. There is no need to input a position into this gnss_compass_pose topic.

Comment out the following gnss_compass.launch. https://github.com/MapIV/eagleye/blob/main-ros2/eagleye_rt/launch/eagleye_rt.launch.xml#L140-L145

Please subscribe to the driver posture below. https://github.com/MapIV/eagleye/blob/main-ros2/eagleye_rt/src/heading_node.cpp#L243

rsasaki0109 avatar Jun 08 '23 22:06 rsasaki0109

This is exactly what I'm looking for:) Thanks for your quick response.

tiesus avatar Jun 09 '23 07:06 tiesus