Environment Perception: 3D Truss Environment Mapping and <br/> Parametric Expression Extraction

Experiments


roscore
rosrun pcl_ros pcd_to_pointcloud ~/.ros/wh2_lg707070_1ms0.01.pcd _frame_id:=/map

In the directory of ~/truss_ws/src/truss

rviz -d node_pole.rviz

In another terminal, open rviz -> Panels -> Selection. Choose Select, then left click the point whose position you want to know. On the left Selection you can see it.

The point on the pole it's position is:

// X Y Z
0.73738
-0.28508
0.20357

Modify values of init_x, init_y and init_z of the truss_pointcloud.cpp and skeleton_truss.cpp in the directory /home/william/truss_ws/src/truss/src

In truss_pointcloud.cpp, it seems like:

      init_x=0.73738;
      init_y=-0.28508;
      init_z=-0.20357; 

In skeleton_truss.cpp, it seems like:

float init_x=0.12,init_y=-0.12,init_z=0.526;    // must be in the truss

猜你喜欢

转载自www.cnblogs.com/williamc17/p/10888241.html