-
Notifications
You must be signed in to change notification settings - Fork 28
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
Process will died in 1-2minutes #9
Comments
Use the package video_stream_opencv to capture camera topic. It has better memory management and threading. you wont face the issue with video_stream_opencv |
thank you for your reply! I tried video_stream_opencv again, but it still doesn't work. The process is killed 1-2 seconds after the program starts running. I'm not sure if there is a problem with my parameter modification. Can you provide a detailed video_stream_opencv package in your code, and what needs to be modified? If you use the camera to get the video? Like topic or other parameters: My running steps are 1.roscore 2.roslaunch video_stream_opencv webcam.launch 3.roslaunch darknet_ros darknet_ros.launch Another problem is that the screen displayed on the screen in step two does not match the actual color, and all the screens are red. The error in step 3 is as follows: |
the error states |
My graphics card is NVIDIA 1080, I have successfully run alexeby repo, and the leggedrobotics repo of darknet_ros, it use usb_cam package. But alexeby repo works better, so I want to use it under ros. I believe that my equipment is completely ok, I suspect that some parameters I have not modified correctly, so I hope to have a detailed step: including which parameters need to be modified, each step of the operation. This way I might know where my mistake is. |
For the package video_stream_opencv, your device id should match with the one listed in launch file, for camera mounted at I just noticed you are using darknet_ros.launch file, instead try running with yolo_v3.launch |
I know the error I made: the cfg file is incorrect, but when I modified the cfg file, I encountered a similar problem: the program crashes immediately when the camera detects the target, I found strange by printing the /darknet_ros/bounding_boxes topic. Phenomenon: The exact same coordinates will be printed many times. In the same seq, three identical coordinates, categories, and credibility are printed 45, 26, and 21 times respectively; and each seq is the same. That is, seq is also repeated, exactly the same. I suspect this is caused by the problem, leggedrobotics verision darknet_ros has the same problem, but has been resolved, the link is as follows leggedrobotics/darknet_ros#150 |
I have test this process in PC,it runs normally in begin,but it will be died after one to two minutes.I use the package of usb_cam,not the video_steam_ ,I do not know the reason.
The text was updated successfully, but these errors were encountered: