GithubHelp home page GithubHelp logo

Comments (5)

guillermogb avatar guillermogb commented on August 23, 2024

Hello. Probably you have to change the serial numbers of the devices you want to open, saying which one is the left DAVIS and which one is the right DAVIS.
See the line --> Requested serial number: 02460074

from rpg_dvs_ros.

Darshanbhandarics avatar Darshanbhandarics commented on August 23, 2024

Thank you, I changed the serial names according to what's written on the cameras, but still the same problem remains the same.

<!-- timeout before resetting time -->
<param name="reset_timestamps_delay" value="2.0"/>

file: stereo.launch

<!-- get reset signal from master -->
<remap from="reset_timestamps" to="/davis_left/reset_timestamps"/>

Terminal:
process[davis_left/davis_ros_driver-1]: started with pid [15090]
process[davis_right/davis_ros_driver-2]: started with pid [15091]
process[dvs_renderer_left-3]: started with pid [15097]
process[dvs_renderer_right-4]: started with pid [15102]
process[image_view_left-5]: started with pid [15104]
process[image_view_right-6]: started with pid [15105]
[ WARN] [1645005477.615563440]: Requested serial number: 0332
[ WARN] [1645005477.631797675]: Requested serial number: 0466
2022-02-16 15:27:57 (TZ+0530): CRITICAL: DAVIS ID-1: Failed to open device, no matching device could be found or opened.
[ WARN] [1645005477.687279019]: Could not find DAVIS. Will retry every second

Also,
When I run the following command: "ROS_NAMESPACE=my_stereo rosrun stereo_image_proc stereo_image_proc" I am getting this warning.
[ WARN] [1645005610.675796275]: The input topic '/my_stereo/left/image_raw' is not yet advertised
[ WARN] [1645005610.676292401]: The input topic '/my_stereo/left/camera_info' is not yet advertised
[ WARN] [1645005610.676307706]: The input topic '/my_stereo/right/image_raw' is not yet advertised
[ WARN] [1645005610.676318308]: The input topic '/my_stereo/right/camera_info' is not yet advertised

from rpg_dvs_ros.

guillermogb avatar guillermogb commented on August 23, 2024

The SN is 8-digit. I think you need to pad with zeros or with 0246. Sorry, I cannot check now. Try this, if not, I will check later on the computer that I have this information. -> 02460332 or 00000332

from rpg_dvs_ros.

Darshanbhandarics avatar Darshanbhandarics commented on August 23, 2024

@guillermogb Thanks a lot! We have to pad with zeros.

One more query, When I run the follwing command:
rosrun camera_calibration cameracalibrator.py --approximate 0.1 --size 8x6 --square 0.025 --no-service-check right:=/my_stereo/right/image_raw left:=/my_stereo/left/image_raw right_camera:=/my_stereo/right left_camera:=/my_stereo/left

I see blank window, but for single camera calib, It is working fine.

when I launch stereo, I see this
ROS_MASTER_URI=http://localhost:11311

process[davis_left/davis_ros_driver-1]: started with pid [27738]
process[davis_right/davis_ros_driver-2]: started with pid [27739]
process[dvs_renderer_left-3]: started with pid [27740]
process[dvs_renderer_right-4]: started with pid [27747]
process[image_view_left-5]: started with pid [27751]
process[image_view_right-6]: started with pid [27753]
[ WARN] [1645018365.947065073]: Requested serial number: 00000466
[ INFO] [1645018365.962557482]: DAVIS ID-1 SN-00000466 [4:5] --- ID: 1, Master: 1, DVS X: 346, DVS Y: 260, Logic: 6.

[ WARN] [1645018365.964225130]: Requested serial number: 00000332
[ INFO] [1645018366.325955989]: using default calibration URL
[ INFO] [1645018366.326077479]: camera calibration URL: file:///home/lenovo/.ros/camera_info/DAVIS-00000466.yaml
[ INFO] [1645018366.326185981]: Unable to open camera calibration file [/home/lenovo/.ros/camera_info/DAVIS-00000466.yaml]
[ WARN] [1645018366.326237172]: Camera calibration file /home/lenovo/.ros/camera_info/DAVIS-00000466.yaml not found.
[ INFO] [1645018366.657593513]: Reset timestamps on DAVIS-00000466 to 1645018366.657561064.
[ INFO] [1645018366.660386810]: Started timer to reset timestamps on master DVS for synchronization (delay=2.00s).
[ INFO] [1645018366.712570903]: DAVIS ID-1 SN-00000332 [3:11] --- ID: 1, Master: 1, DVS X: 346, DVS Y: 260, Logic: 6.

[ INFO] [1645018367.069548882]: using default calibration URL
[ INFO] [1645018367.069646967]: camera calibration URL: file:///home/lenovo/.ros/camera_info/DAVIS-00000332.yaml
[ INFO] [1645018367.069744550]: Unable to open camera calibration file [/home/lenovo/.ros/camera_info/DAVIS-00000332.yaml]
[ WARN] [1645018367.069780484]: Camera calibration file /home/lenovo/.ros/camera_info/DAVIS-00000332.yaml not found.
[ INFO] [1645018367.070104666]: Reset timestamps on DAVIS-00000332 to 1645018367.070080519.
[ INFO] [1645018367.400519057]: Reset timestamps on DAVIS-00000332 to 1645018367.400461197.
[ INFO] [1645018368.660626824]: Reset timestamps on DAVIS-00000466 to 1645018368.660577059.
[ INFO] [1645018368.664312961]: Reset timestamps on DAVIS-00000332 to 1645018368.664267063.

Is it because of discrepancy in timestamp of two cameras after decimal point?

from rpg_dvs_ros.

guillermogb avatar guillermogb commented on August 23, 2024

@Darshanbhandarics I have not used the ros camera calibrator lately on the stereo DAVIS frames. It could be that the difference of timestamps of the frames prevents the method from continuing, as you suggest.
I / we use kalibr on the DAVIS frame, and there is a parameter to give some temporal tolerance to the matching between corresponding frames, since the DAVIS frames may not be synchronously triggered.
Please check also e2calib if you use events.

from rpg_dvs_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.