-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calibration of t265 #716
Comments
If you need the calibration yaml files let me know...will be little different from yours |
Hi, rtabmap-calibration tool didn't support realsense2, this has been added yesterday: 4390cb6
I tested with my T265. It won't work for other realsense cameras. |
Yes this would be better.. I will take it as a reference |
@matlabbe : I tried this, the tool is getting connected to fisheye streams but it reports that there is some missing frames.
I see this error being reported from corelib/src/ CameraRealSense2.cpp where the But I'm able to receive two streams when I connect realsense2_camera and launch the rs_t265.launch file. Can you please help on this? |
@sumitsarkar1 @matlabbe : This is cool . But I dont know why Im getting a problem with rtabmap standalone tool while calibrating. As you can see the error message in the rtabmap console. |
@sumitsarkar1 @matlabbe |
Exactly...I tried with old versions of Rtabmap (like 2020 Dec, when I was able to calibrate t265 with RTabmap) but was of no luck ..even with latest commit 4390cb6. Then I realised it must be librealsense ! |
I reproduced the error with realsense v2.44 and v2.45 (was working with 2.42 before I upgraded). The rs2::syncer seems not working anymore with fisheye streams, don't know why. I tested 2 setups with T265 and D435i in IR stereo mode. I changed this: rtabmap/corelib/src/camera/CameraRealSense2.cpp Lines 192 to 196 in 4390cb6
to this: void CameraRealSense2::frame_callback(rs2::frame frame)
{
auto video_profile = frame.get_profile().as<rs2::video_stream_profile>();
UWARN("Sync: %s %d %d %d %d %s type=%d %f", rs2_format_to_string(
video_profile.format()),
video_profile.width(),
video_profile.height(),
video_profile.fps(),
video_profile.stream_index(),
video_profile.stream_name().c_str(),
video_profile.stream_type(),
frame.get_timestamp());
syncer_(frame);
} I added also ERROR logs after the synchronization wait to see which frames are in the frameset. T265 log (frameset=1, failing, note also that is random which fisheye 1 or 2 is in the final frameset):
D435i (frameset=2, working):
I'll continue looking... |
I tested on Windows by switching easily Current compatibility for T265:
|
A fix can be found here for the synchronization problem with T265: IntelRealSense/librealsense#9030 (comment) |
Hi ,
I'm probably here to seek some help for using the calibration tool for t265.
I could not run the calibration tool with realsense camera. I dont find a explicit driver for the "rtabmap-calibration" tool. And even if I try to calibrate with providing source. I get error messages in the terminal
These are the specifications that I have
OS : Ubuntu 18.04
Kernel : 5.4.0-72-generic
Camera : T265
Firmware: 0.2.0.951
librealsense version: 2.44.0
Thanks in advance.
The text was updated successfully, but these errors were encountered: