-
Notifications
You must be signed in to change notification settings - Fork 9
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
Camera calibration file ERROR #2
Comments
Hi Harke-- the camera calibration error is most likely not your problem. Whenever I launch I get that error as well, and it works fine. The node that displays the window is the same one that accepts commands from your PS3 controller, so it must be running ok. My first guess is that maybe your highgui/opencv installation is not working properly with your display. Are you able to run other opencv python scripts with highgui? On Tuesday, November 27, 2012 at 8:09 AM, harke wrote:
|
ahh maybe the reason is that I am starting separated joystick node rosrun ps3joy ps3joy.py |
I don't think that would prevent the tracking front camera window from showing up. The track.launch file doesn't launch ps3joy.py because I use the PS3 gamepad directly connected over USB, not over bluetooth. I haven't been able to get the PS3 gamepad to work over bluetooth actually. So I think you do need to run ps3joy.py if you are using bluetooth. Maybe it is being hidden by the battery percent window? -s On Tuesday, November 27, 2012 at 8:28 AM, harke wrote:
|
I have manage now to use the joystick defined like in the track.launch with the usb cable. But still have the same problem like before can not see the video streaming (it is not hidden by the battery percent window, I looked behind :D Should the highgui be properly working if I am able to run rosrun image_view image_view image:=/ardrone/front/image_raw in this case I get the video streaming of course just the raw image no other functionalities. Do you have any idea how to get your video window? |
I'm not really sure off the top of my head, unfortunately. One thing you can try to see if the tracking is even working is to run
after you've launched track.launch. That won't give you everything that the image view that the control node pops up but it should give you the yellow box around the target and the lbp and lk tracking timers on the screen. -s On Tuesday, November 27, 2012 at 8:47 AM, harke wrote:
|
yes, the /ardrone_tracker/image works, it streams video, but still the same problem when I launch the track.launch. I do not have any idea :( |
I did not say it before but I have lot of exeption when I run the track.launch file. Could this be a reason? aga@aga:~/fuerte_workspace/ardrone_ros/ardrone_ros_pkg/trunk/launch$ roslaunch track.launch started roslaunch server http://aga:41902/ SUMMARYPARAMETERS
NODES auto-starting new master setting /run_id to 25ec1c94-3948-11e2-881c-e8e0b7a8db5f WARNING: topic [/ardrone/navdata/batteryPercent] does not appear to be published yet |
aha! Thanks. So these exceptions you can ignore: (some sort of python bug, according to answers.ros.org)
Exception in thread Thread-3:
It's frustrating that there are so many ignorable exceptions, it is hard to find the problematic ones. On Wednesday, November 28, 2012 at 5:43 AM, harke wrote:
|
Thanks the last version work :) Could I please ask two question more, let say if I would like to follow a red ball in which way I would define the cascade file? Or more generally could I select on the video window an object of interest and then follow it? If I want to change the joystick command for the velocities do I change the coefficients k Thanks again! |
Great! I'm not sure if a cascade classifier is the right approach to use when tracking a red ball. But here's a reference on how to train a cascade classifier: http://note.sonots.com/SciSoftware/haartraining.html I have used Amazon EC2 to speed up the training. Otherwise it takes way too long. If you want to change the tracking algo to use something other than a cascade classifier, you'll need to modify the tracker.py python module. The legacy github repo, https://github.com/FalkorSystems/ardrone_autonomy, has some samples of other tracking methods used. I settled eventually on the cascade because it worked best for my application. And I think the answer to your final question is yes. -s On Wednesday, November 28, 2012 at 9:05 AM, harke wrote:
|
Thanks for you kind support I will have a look and try to come up with a solution. |
Hi,
When I launch the track.launch file I have a problem with the camera calibration file and it can not see the window with the front camera video. I am able to send commands from my PS3 controller and I can see the window with the battery level. Has somebody any idea how to solve the problem with the camera calibration file. The output of the tracker.launch is given below.
[ERROR] [1354020767.039146310]: Unable to open camera calibration file [/home/aga/.ros/camera_info/ardrone_front.yaml]
[ERROR] [1354020767.039304102]: Unable to open camera calibration file [/home/aga/.ros/camera_info/ardrone_bottom.yaml]
Thanks!
The text was updated successfully, but these errors were encountered: