Closed Pallav1299 closed 2 years ago
In fact, I have no idea what this error means, but you can make some trials. First, make sure the version of realsense firmware, librealsense SDK, and the ros-wrapper are compatible. Second, I notice that your device runs well on the first run, so you can try to set "initial_reset" in "rs_camera.launch" to true to make the camera reset each time it starts. Also, are you willing to use this device for depth-based mapping? If only for SLAM, just cover the laser projector with a piece of black tap to eliminate the laser dots.
Thanks @bigsuperZZZX.
I am using Realsense D435i data as input to planner(depth data) and visual-inertial slam(image data). The modified_realsense_ros wrapper provides the ability to get images from Global shutter infra cameras without the projector dots as well as the depth data and suits my requirements. Am I doing something wrong here?
If we cover the laser projector, what will be the effect on depth data. Will it work well with ego_planner?
Just to clarify, what sensor did you use for ego_planner depth input and SLAM input? Did you use D435//D435i as the input to both of them?
Covering the laser projector will just make the depth quality less good, especially when facing a blank wall because D435/D435i uses image features to solve the depth. You can verify this in realsense-viewer. Also, ego-planner works totally OK in such situation.
We use D435 for both of them. By the way, the IMU data is acquired from the flight controller not D435 since IMU data from D435 contains really too much noise (over 10 times larger noise than from FCU).
You can compare the modified realsense-ros-warpper with the original version from github using some online text compaction websites to find ou the code that we have changed. Just several lines.
This is related to issue #25. The modified_realsense_ros and librealsense2(v2.30.0) compile without error but, during runtime I get the following error:
Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
I also tried compiling against the default installation using
IMU timestamp:
![imu_timestamp](https://user-images.githubusercontent.com/32015105/136376766-0d2ef49e-8d56-40ee-8d3e-dba9854ea7fd.png)
sudo apt install ros-melodic-librealsense2
. It works. But the issue here is that, sometimes the IMU timestamps are different from the image timestamps as shown below: Camera timestamp:On the first run after connecting the device ,everything works fine, but the issue persists for the following runs.