uzh-rpg / rpg_dvs_evo_open

Implementation of EVO (RA-L 17)
158 stars 42 forks source link

In "dvs_mapping", where is the baseline length being calculated? #12

Open thebox-ujt opened 2 years ago

thebox-ujt commented 2 years ago

"~/catkin_ws/src/rpg_dvs_evo_open/dvs_mapping/src/trigger_map_expansion.py". In the above program, I found the following comment:. "Evaluates the quality of the map and eventually triggers an update request to the mapper".

This py file appeared to be responsible for referencing a variable in the following C++ module "~/catkin_ws/src/rpg_dvs_evo_open/dvs_mapping/src/depth_defocus_node.cpp"

The "baseline/depth" (variable name: BoD) shown in lines 185-186 of "/trigger_map_expansion.py" below is outputting "0", so I would like to know where in depth_defocus_node.cpp the baseline is being calculated. "rospy.loginfo('Sending update, coverage: {} %, map visibility: {} %, baseline/depth: {}'.format(coverage 100, visibility 100, BoD))"

In depth_defocus_node.cpp, can you please tell me the name of the variable where I can check the baseline? Thank you very much for your help.