ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2023-02-24 03:15:53 -0500 | received badge | ● Favorite Question (source) |
2021-08-29 20:50:41 -0500 | received badge | ● Nice Question (source) |
2020-05-05 00:54:22 -0500 | received badge | ● Great Question (source) |
2018-02-07 14:07:59 -0500 | received badge | ● Good Question (source) |
2014-01-28 17:25:52 -0500 | marked best answer | MonocularCalibration hanging I wish to use the MonocularCalibration node for calibrating my ueye camera. The program seems to be working fine meaning it is displaying a nice image with identified corners and lines and I can see that it is trying to adjust the corners and lines. The documentation says that when the CALIBRATE button lights up click on it to complete the calibration. But when the button lighten up and I clicked on it nothing happened and the node hanged. I have a node which is publishing just the image data as sensor_msgs/Image on a topic "img_out" and I am using this topic to run the MonocularCalibration node. Do I have to publish the camera_info as well ? It doesnt say so in the tutorial of MonocularCalibration. |
2014-01-28 17:22:53 -0500 | marked best answer | how to advertise set_camera_info service ? I have been trying to calibrate my camera using monocularcalibration node and it seems to be working fine. Now I have published my cameraInfo message but it ends up with an error saying set_camera_info service unavailable. I tried to look into it and I found that I have to advertise this service using advertiseService() but I have some doubts. I am using diamondback and I found a sensor_msgs::SetCameraInfo is the service provided. But somewhere I can also read that this service is controlled by camera_info_manager. But for diamondback it has been moved to image_common as per REP 104. It also talks about camera_parameter_parsers. I am confused how to proceed with this now. Does somebody have any idea about which package to be used exactly ? My guess is that I have to somehow advertise the set_camera_info service but I am not sure if thats all is required by the calibration node or it also need camera_parameter_parser ? |
2014-01-28 17:22:52 -0500 | marked best answer | how to publish sensor_msgs::CameraInfo messages ? I am unable to publish the CameraInfo messages. I have the image data published from the camera using the image_transport::Publisher but the same is not publishing the camera info messages. I am writing a driver for the ueye camera. I need the camera info message for calibration of the camera. I am able to detect the corners in the chessboard but then the program hangs after completion may be because it could not find the camera info messages containing the camera model. |
2014-01-28 17:22:51 -0500 | marked best answer | what is image step ? I wanted to use the toImageMsg() function to obtain ros image message using the image date from my usb cam. And as I was assigning header and encoding information, I came across this variable called "step" and then later the "size" is defined as: step_t size = image.step * image.rows; then this "size" is passed to memcpy(). I do not know what exactly this step stands for and what is this size ? If I know both no of rows and columns in the image I can obtain the image size. Why do I need this step for then ? |
2014-01-28 17:22:47 -0500 | marked best answer | publishing image data as sensor_msgs I am working on ubuntu platform and I have an ueye usb camera. Using ueye_api I have managed to write a .cpp program which captures a frame and stores it in a memory space allocated according to image size and bit depth. The program returns pointer to this memory space (say ppcImgMem) and it is of char type. ppcImgMem is a single array with ppcImgMem[0] corresponding to the pixel value of the first image pixel in unsigned format. Now, I want to publish this image as sensor message (sensor_msgs) using image_transport. I have created a package which successfully does the same for frames captured by my webcam using gscam driver. But I do not have a driver for the ueye usb cam. I also tried to publish the array as a standard message and it is working but I think it would be better if I can publish it as sensor_msgs/Image form for further processing. Can somebody tell me how can I proceed from here onwards ? -Abhinav |
2014-01-28 17:22:47 -0500 | marked best answer | can not link library files Hi, I am using ubuntu natty 11.04 and i am trying to use external library: ueye_api while using ueye camera to capture frames and publish them as ros messages by creating a node roscam To include external library files I made the necessary changes in CMakeLists.txt file: rosbuild_add_executable(roscam src/roscam.cpp) link_directories(/usr/lib /usr/local/share/ueye/ /usr/include /usr/local/share/ueye/ueyeusbd) include_directories(/usr/lib /usr/local/share/ueye/ /usr/include /usr/local/share/ueye/ueyeusbd) target_link_libraries(roscam libueye_api libueye_api.so libueye_api.so.1 libueye_api.so.3.82) But still I received following error while compiling a program: Linking CXX executable ../bin/roscam /usr/bin/ld: cannot find -llibueye_api /usr/bin/ld: cannot find -llibueye_api.so.1 /usr/bin/ld: cannot find -llibueye_api.so.3.82 collect2: ld returned 1 exit status |
2013-12-10 18:44:07 -0500 | received badge | ● Nice Question (source) |
2013-10-30 08:08:35 -0500 | received badge | ● Taxonomist |
2012-10-01 21:15:00 -0500 | received badge | ● Famous Question (source) |
2012-10-01 21:15:00 -0500 | received badge | ● Notable Question (source) |
2012-10-01 21:15:00 -0500 | received badge | ● Popular Question (source) |
2012-09-24 08:32:26 -0500 | received badge | ● Famous Question (source) |
2012-09-24 08:32:26 -0500 | received badge | ● Notable Question (source) |
2012-09-07 18:42:24 -0500 | received badge | ● Famous Question (source) |
2012-09-07 18:42:24 -0500 | received badge | ● Notable Question (source) |
2012-09-06 21:06:54 -0500 | received badge | ● Famous Question (source) |
2012-09-06 21:06:52 -0500 | received badge | ● Popular Question (source) |
2012-09-06 21:06:52 -0500 | received badge | ● Famous Question (source) |
2012-09-06 21:06:52 -0500 | received badge | ● Notable Question (source) |
2012-08-25 15:28:12 -0500 | received badge | ● Famous Question (source) |
2012-08-25 15:28:12 -0500 | received badge | ● Popular Question (source) |
2012-08-25 15:28:12 -0500 | received badge | ● Notable Question (source) |
2012-08-15 08:23:35 -0500 | received badge | ● Famous Question (source) |
2012-08-15 08:23:35 -0500 | received badge | ● Popular Question (source) |
2012-08-15 08:23:35 -0500 | received badge | ● Notable Question (source) |
2012-07-24 15:26:13 -0500 | received badge | ● Notable Question (source) |