I saw the ticket earlier but now I can't find it anymore, I assume it is closed? This brings up some questions (I'm new to managed projects):<br><br>1. Where can I find closed tickets? (e.g., I can't see the "work around solution" if I can't find the ticket.)<br>
<br>2. If I am using the pre-built boxturtle install of ROS, how do I get updates of this sort? Do i svn just the packages or files I know are updated...?<br><br>Thanks,<br>Adam<br><br><br clear="all">Adam Leeper<br>Stanford University<br>
<a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a><br>719.358.3804<br>
<br><br><div class="gmail_quote">On Tue, Apr 6, 2010 at 1:29 PM, Patrick Beeson <span dir="ltr"><<a href="mailto:beeson.p@gmail.com">beeson.p@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ticket 3951 that I submitted yesterday reports this bug and provides a<br>
"working" solution.<br>
<div class="im"><br>
James Bowman wrote:<br>
> Hi Adam<br>
><br>
> Afraid this is a bug... please raise a ticket in the ROS trac against<br>
> image_pipeline, and assign it to me, jamesb<br>
><br>
> Thanks.<br>
><br>
> On Tue, Apr 6, 2010 at 11:26 AM, Adam Leeper <<a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a><br>
</div><div><div></div><div class="h5">> <mailto:<a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a>>> wrote:<br>
><br>
>     Hi-<br>
><br>
>     I've successfully used cameracalibrator.py on a 640x480 image<br>
>     stream, but now I'm trying to use it on a 320x240 image feed. I do<br>
><br>
>     $rosrun camera_calibration cameracalibrator.py --size 7x6 --square<br>
>     0.0127 image:=/my_camera/image camera:=/my_camera<br>
><br>
>     like the tutorial says, but it gives the following error:<br>
><br>
>     Exception in thread Thread-4:<br>
>     Traceback (most recent call last):<br>
>       File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner<br>
>         self.run()<br>
>       File<br>
>     "/opt/ros/boxturtle/stacks/image_pipeline/camera_calibration/nodes/cameracalibrator.py",<br>
>     line 59, in run<br>
>         self.function(m)<br>
>       File<br>
>     "/opt/ros/boxturtle/stacks/image_pipeline/camera_calibration/nodes/cameracalibrator.py",<br>
>     line 147, in handle_monocular<br>
>         scrib = cv.CreateMat(self.height / scale, self.width / scale,<br>
>     cv.GetElemType(rgb))<br>
>     ZeroDivisionError: integer division or modulo by zero<br>
><br>
><br>
>     I think the issue is line 144 in cameracalibrator.py,<br>
>     scale = int(math.ceil(self.width / 640))<br>
><br>
>     but if I try doing either 640.0, or changing it to 320, I get this error<br>
><br>
>     Traceback (most recent call last):<br>
>       File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner<br>
>         self.run()<br>
>       File<br>
>     "/opt/ros/boxturtle/stacks/image_pipeline/camera_calibration/nodes/cameracalibrator.py",<br>
>     line 59, in run<br>
>         self.function(m)<br>
>       File<br>
>     "/opt/ros/boxturtle/stacks/image_pipeline/camera_calibration/nodes/cameracalibrator.py",<br>
>     line 187, in handle_monocular<br>
>         self.redraw_monocular(scrib, rgb)<br>
>       File<br>
>     "/opt/ros/boxturtle/stacks/image_pipeline/camera_calibration/nodes/cameracalibrator.py",<br>
>     line 410, in redraw_monocular<br>
>         self.buttons(display)<br>
>       File<br>
>     "/opt/ros/boxturtle/stacks/image_pipeline/camera_calibration/nodes/cameracalibrator.py",<br>
>     line 389, in buttons<br>
>         self.button(cv.GetSubRect(display, (x,180,100,100)),<br>
>     "CALIBRATE", self.goodenough)<br>
>     error<br>
><br>
>     Any ideas?<br>
><br>
>     Thanks!<br>
>     --Adam<br>
><br>
><br>
><br>
><br>
><br>
>     Adam Leeper<br>
>     Stanford University<br>
</div></div>>     <a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a> <mailto:<a href="mailto:aleeper@stanford.edu">aleeper@stanford.edu</a>><br>
<div class="im">>     719.358.3804<br>
><br>
>     _______________________________________________<br>
>     ros-users mailing list<br>
</div>>     <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a> <mailto:<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a>><br>
<div class="im">>     <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
><br>
><br>
> --<br>
> J.<br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br>