Closed Cooo1der closed 7 months ago
If the dataset works well, please check:
DepthMapFactor
, etc. So, why isn't your cy
around 240.0f ?/camera/depth_registered/image_raw
, and the problem solved after I switched to /camera/depth/image_raw
.
This is the difference between the two nodes: https://answers.ros.org/question/264378/difference-between-depth-and-depth_registered/std::cout
and cv::imshow
more often to ensure the correct flow of dataThank you for your reply. I tried to recalibrate the internal parameters of the camera, but I found that each time my calibration results were different, even sugnificantly so. Do you know what might be the reason?
I think the correct cx
, cy
should be around half of the width and height of the image.
you can find more informations at these websites:
I think the correct
cx
,cy
should be around half of the width and height of the image. you can find more informations at these websites:
- https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html (this is the official calibration tutorial from OpenCV)
- http://wiki.ros.org/camera_calibration (i use this tool calibrate my camera.)
- https://github.com/orbbec/ros_astra_camera (this is orbbec/astra camera's driver on ros)
- https://www.orbbec.com/developers/
May I ask how the topic /camera/depth_registered/img_raw was generated? The topic of my camera is only /camera/depth/img_raw. Will this affect the construction of the image
- Subscribe to appropriate depth image topics: I was running OK with the TUM dataset, but once I ran actual (Orbbec) hardware RGBD camera on ROS would fail. I eventually found that the problem was localised to the ROS subscription camera node, the depth image I subscribed to had been
/camera/depth_registered/image_raw
, and the problem solved after I switched to/camera/depth/image_raw
.
This suggestion is only for certain cameras, such as the LeTMC520 camera (actually a cased version of the astra pro) I use. These websites below is when I use LeTMC520 camera reference.
Thank your for your excellent work! Howerver, when I ran the project code with my AstraPro camera, I was unable to create point cloud map or semantic map. Coud you please give some advice to solve these problems? It bothers me for a long time...
Here are some of my main outputs: 1. roslaunch astra_camera astra_pro.launch SUMMARY
PARAMETERS
NODES /camera/ camera (astra_camera/astra_camera_node)
**2. ./run_astra_pro_camera.sh is map construction consider dynamic: 1 is global pointcloud reconstruction: 1 is octomap semanticObject map construction: 0 camera_valid_depth_Min is 0.5 camera_valid_depth_Max is 5 Sor_Local_MeanK is 50 Sor_Local_StddevMulThresh is 2 Voxel_Local_LeafSize is 0.01 Sor_Global_MeanK is 50 Sor_Global_StddevMulThresh is 3 Voxel_Global_LeafSize is 0.01 Detector3D_Sor_MeanK is 50 Detector3D_Sor_StddevMulThresh is 1 Detector3D_Voxel_LeafSize is 0.01 Detect3D_EuclideanClusterTolerance is 0.02 Detect3D_EuclideanClusterMinSize is 1000 Detect3D_EuclideanClusterMaxSize is 30000 Detect3D_DetectSimilarCompareRatio is 0.1 global_pc_update_kf_threshold is 25 Start PointCloudMapping Viewer...
Camera Parameters:
ORB Extractor Parameters:
Depth Threshold (Close/Far Points): 2.65909
detection_confidence_threshold is 0.99
dynamic_detection_confidence_threshold is 0.05 Detector2D Thread start ... New map created with 794 point