ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

RTABMAP estimate normals with external odometry

asked 2021-03-16 05:01:40 -0600

MRRobot gravatar image

Is it possible to use external odometry to estimate normals with RTABMAP? Will the normals then be estimated based on the odom when the points where captured? I know icp_odometry have some parameters for normal estimation, but I have not found any examples using them.

My goal is to user Intel RealSense D435 and T265 cameras to scan a box from five sides and use the normals to decide tcp orientation for a robot so that its tool is perpendicular to the surface.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-03-16 18:24:46 -0600

matlabbe gravatar image

Normals are inverted if needed based on the current point of view.

edit flag offensive delete link more

Comments

Do I understand it correct that RTABMAP will orient all normals according to current pov and not store the pov from when the point was captured? If I were to scan one side of a box and then scan the opposite side, all surface normals would have the same direction and be oriented according to the last side, and not in opposite directions?

MRRobot gravatar image MRRobot  ( 2021-03-22 06:37:28 -0600 )edit

/rtabmap/cloud_map doesn't have normals published. When doing File->Export Clouds, normals are adjusted depending on each camera point of view. See adjustNormalsToViewPoints(). For each point, we search the camera looking at it, then flip the normal is needed.

matlabbe gravatar image matlabbe  ( 2021-03-22 07:20:21 -0600 )edit

I see. Thank you for the clarification!

MRRobot gravatar image MRRobot  ( 2021-03-22 07:26:27 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-03-16 05:01:40 -0600

Seen: 170 times

Last updated: Mar 16 '21