-
Notifications
You must be signed in to change notification settings - Fork 70
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
[Wheel Chair Detector] w/ RPLidar - cut_outs[i,:] = cv2.resize(window[None], (npts,1), interpolation=interp)[0] error: /home/followinspiration/opencv-2.4.9/modules/imgproc/src/imgwarp.cpp:1834: error: (-215) ssize.area() > 0 in function resize #196
Comments
This seems to solve
|
We only used SICK S300 with an angular resolution of 0.5º and I think we What will definitely not work though, is the max and min angle unless it is On Wed, May 11, 2016 at 1:06 PM, filipetrocadoferreira <
|
Yes I'm using 360º lidar with 1º resolution. And it has that strange feature of min_angle and max_angle being switched. I'll create a "virtual" laser with 270º fov and 0.5º. How do you encode your max and min angle? |
Aah! I didn't notice the flipped sign, that is weird indeed. The range should still be fine, but we never took the absolute value of the range in our code. This I guess suggests that the data is in a reverse order? It could still be valid, but I know that we didn't account for that. For 270° it should be something like: scan_msg.angle_increment = 0.00872664619237 #0.5°
scan_msg.angle_min = -1.96349537373 #-135°
scan_msg.angle_max = 1.96349537373 #135° |
Hmmm, this is hard for me to judge since I don't know what kind of stuff On Wed, May 11, 2016 at 3:51 PM, filipetrocadoferreira <
|
Our laser is a bit higher(~50cm) and yes, there is a guy seated on a wheelchair. I guess it also depends on which wheel chair the detector were trained because Health Facilities' wheelchairs are very different from the "usual" ones. |
I'm trying to test the detector with RPLidar (with the real resolution (1º) and a virtual (0.5º, with duplicated beams). But i'm having an error in the function generate_cut_outs.
This laser sends 'inf' when does not have info and its max_angle is -3.14 and min_angle : 3.14 (weird right?)
The text was updated successfully, but these errors were encountered: