Open BenJeau opened 3 years ago
Hi @BenJeau,
For this error:
Could not transform IMU msg from frame "android" to frame "camera_link"
Request time is 1633312096.594000000
and earliest time is 1633312096.724293517
in TF buffer (so you asking a TF too far in the past). As your TF between camera_link and android frames is published by a static_transform_publisher
, maybe the stamps of IMU/camera msgs are not synchronized on the same computer clock. If there is a delay between your android device and the camera, that could be the cause of the problem. Not sure exactly how the /android/imu is published and from which computer the realsense data is published, but maybe the clocks between the device are not synchronized.
For the GPS, you will have to add this under rtabmap.launch
include (some usage of GPS explained here):
<arg name="gps_topic" value="/gps/fix" />
Then to actually use the GPS in graph optimimization, we should enable priors:
<arg name="rtabmap_args" value="--delete_db_on_start --Optimizer/PriorsIgnored false" />
cheers, Mathieu
Hi, I have an Intel Realsense D435 and an android phone which is publishing some IMU data (sensor_msgs/IMU) and GPS data (sensor_msgs/NavSatFix). I was able to get the camera working in rtabmap using the following launch file:
Although, I am unsure how to do the sensor fusion with the IMU. I've tried adding the following with no success (I've also tried the sensor_fusion.launch with no success, but there were only warnings in the logs, but rtabmap wasn't showing up, whereas with the
rtabmap.launch
and the modifications below, it was opening rtabmap, but nothing was shown0:Which results in errors like (where the last line is repeated multiple times):
Would someone know how to get it working? Would I use the
rtabmap.launch
or the sensor fusion one?Last quick question, in this situation, the GPS is not really useful right? Or can it be integrated to map the environment better?
Hope this is fine, asking a question in Github - feel free to close if you feel like this is not the right place to ask questions.