tum-vision / dvo_slam

Dense Visual Odometry and SLAM
632 stars 306 forks source link

Missing KeyframeSlamConfig.h #16

Open ghost opened 10 years ago

ghost commented 10 years ago

Hi,

dvo_slam/KeyframeSlamConfig.h is included in several places, but I don't see the header file anywhere. Got "no such file or directory" compile errors. Am I missing something? Thanks!

christiankerl commented 10 years ago

It should be generated by dynamic_reconfigure during the build from dvo_slam/cfg/dvo_slam.cfg

ghost commented 10 years ago

I see. I must have missed it when trying to convert it to catkin. Do you have a catkin version by chance? The migration turns out to be non-trivial.

jamestkpoon commented 4 years ago

ifndef KEYFRAME_SLAM_CONFIG_H

define KEYFRAME_SLAM_CONFIG_H

namespace dvo_slam { struct KeyframeSlamConfig { double max_translational_distance, max_rotational_distance, min_entropy_ratio, min_eq_sys_constraint_ratio, constraint_search_radius, constraint_min_entropy_ratio_coarse, constraint_min_entropy_ratio_fine, constraint_min_eq_sys_constraint_ratio; bool graph_opt_robust; int graph_opt_iterations; bool graph_opt_dense_graph, graph_opt_remove_outliers; double graph_opt_outlier_weight_threshold; int graph_opt_min_distance; bool graph_opt_final; int graph_opt_final_iterations; bool graph_opt_final_dense_graph, graph_opt_final_remove_outliers; double graph_opt_final_outlier_weight_threshold; bool use_multithreading; }; };

endif