ROS package containing nodes for converting from 2d coordinates to 3d RTAB_map coordinates.
Converts 2d pixel coordinates from depth camera colour images to realworld 3d coordinates measured in metres, where 0,0,0 is WHERE.
- /camera/depth/camera_info (sensor_msgs.CameraInfo): Camera intrinsics data
- /camera/aligned_depth_to_color/image_raw (sensor_msgs.Image): Depth image
- /input_coords (geometry_msgs.Point): Input pixel location to be converted. 'z' is ignored
- /realworld_coords (geometry_msgs.Point): Position in metres, relative to the camera, of the input pixel location
NONE
rosrun translate_coords cam_to_depthcoords.py
Converts 3d realworld coordinates measured in metres relative to the camera to RTAB_map coordinates.
NONE
NONE
NONE
rosrun translate_coords depth_to_mapcoords.py
Place contents of repository in the directory <ros_workspace_dir>/src/translate_coords
. Build and source your ROS workspace.