-
Notifications
You must be signed in to change notification settings - Fork 1
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
braccio_xy_bb_target.py stuck waiting for image data #4
Comments
So it's waiting to make sure there is image data in the popup camera window. Is the image popping up? Have you closed the popup window? If the image doesn't appear then your camera might be streaming to a different location. Did you go through the DroidCam setup at the bottom of the README or are you using a different setup for your usb_cam? If so you might need to change where it is streaming to and/or where ROS is listening for it. |
Once I type in 'c' for calibration, nothing pops up at all. I also tried the following for launching the backend: cd braccio_opencv_ws Still no response. |
That seems alright, but it's hard to say. I would first and foremost check that your usb_cam package is set up correctly. Try running the simplest ROS Also if no window is opening at all, then it sounds like you might also have a problem with your |
Tried the |
That sounds like a problem with your build of openCV perhaps. Not sure I can help debug that. Maybe try creating a new virtual env on your machine, with only opencv-python installed. Then you can isolate how to make that display on your machine. |
Will do so and let you know what happens then. |
The function NamedWindow() now shows the pop-up window. However, it's a blank black window. The print statements show that code is still stuck in the while function too. |
One thing to check is to put a print statement inside If the callback won't run, that means that the If the callback runs, but Really sorry that your setup happens to be so funky. Getting all the peripherals to work with ROS seems to be the most difficult part. |
I've been trying to redo this project, Everything works fine till i get to the 5th step. I run the python script (braccio_xy_bb_target.py). I tried the poses like "home" and "up" it works fine but when I try "calibrate " nothing happens. Can you help with that?
In the braccio_xy_target script, I used some print statements in the script to find where it breaks. It gets stuck in the while loop.
while len(self.current_image.data ==0;
time.sleep(10)
The text was updated successfully, but these errors were encountered: