I discovered the options ground_truth_frame_id and ground_truth_base_frame_id. So using navsat_transform_node I publish a UTM frame relative to my odom frame and set the 2 options above to these. My pose is now initialised to the current GPS coordinate (in UTM):
[ INFO] [1625644362.481017079, 289.483000000]: Initializing odometry pose to xyz=492817.406250,5527508.000000,4.477670 rpy=0.000000,0.000000,-0.001335 (from "utm" -> "odom")
However, I now get lots of:
[ WARN] (2021-07-07 08:52:43.015) OdometryF2M.cpp:529::computeTransform() Registration failed: "Too low inliers after bundle adjustment: 16<20" (guess=xyz=0.000000,0.000000,0.000046 rpy=-0.000010,0.000005,0.000002)
[ WARN] (2021-07-07 08:52:43.016) OdometryF2M.cpp:290::computeTransform() Failed to find a transformation with the provided guess (xyz=0.000000,0.000000,0.000046 rpy=-0.000010,0.000005,0.000002), trying again without a guess.
and the saved PCD file still does not have the UTM coordinates.
Any suggestions?
Cheers,
Fred