-
Notifications
You must be signed in to change notification settings - Fork 32
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
last_detection_ts_ initialization cause exception when using sim_time #36
Comments
Hi @AravindaDP Yes, you are right. This is not the right way to start this attribute. I will be happy to accept your PR :) Maybe you should add something more for avoiding pass line 168 if nothing has been received. The idea was to use the difference of time, but the situation before the first image is not so simple to resolve. Thanks!! |
Hello, I am getting the errors: "[darknet_3d-2] process has died", and also: "WARNING: no messages received and simulated time is active. Is /clock being published?" when doing a Is this related to the same issue that is being discussed above? If so, @AravindaDP have you or @fmrico been able to find a solution? If this is the same issue, I tried setting ros::Time(0), and also tried other threshold values on LN 168 (other then 2 seconds), but it didn't seem to work. Any suggestions? Thanks! |
Update: Now that I understand this problem better, I realize that I had misunderstood the original recommendation and had accidentally left the - ros::Duration(60.0) in place. By initializing |
https://github.com/IntelligentRoboticsLabs/gb_visual_detection_3d/blob/melodic/darknet_ros_3d/src/darknet_ros_3d/Darknet3D.cpp#L64 causes out of time range exceptions when using sim_time (Supposedly due to underflow)
using ros::Time(0) to initialize this parameter should be better approach. I'm happy to submit a PR if this is the correct way to resolve this.
The text was updated successfully, but these errors were encountered: