Skip to content

Commit

Permalink
set the default config to closed-loop evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
YipuZhao committed Apr 19, 2020
1 parent bdad554 commit cac23f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ find_package(catkin REQUIRED COMPONENTS
tf2_ros
geometry_msgs
# for closed-loop evaluation of Good Graph only
# trajectory_state_predictor
trajectory_state_predictor
)

message("ROS version = " $ENV{ROS_DISTRO})
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,13 @@ We recommend converting the ORB vocabulary to binary format, by calling

### Open-loop Evaluation

To run GF-ORB-SLAM2 on public benchmarks, please refer to batch evaluation scripts at folder
To run GF-ORB-SLAM2 on open-loop, e.g., as a standalone running on public benchmarks, make sure the closed-loop macro `ENABLE_PLANNER_PREDICTION` at [include/Tracking.h](https://github.com/ivalab/gf_orb_slam2/tree/catkin/include/Tracking.h#L92) is commented out:

batch_script
// #define ENABLE_PLANNER_PREDICTION

or follow the example calls at **rosrun_cmd.md** for your own sensor / sequence.
and refer to batch evaluation scripts at folder [batch_script](https://github.com/ivalab/gf_orb_slam2/tree/catkin/batch_scripts) as examples.

You could also follow the example calls at **rosrun_cmd.md** for your own sensor / sequence.

Similar to original ORB-SLAM2, the camera parameters shall be provided in yaml format. Some example configurations for public benchmarks are available at `ORB_Data` we just cloned.

Expand Down
3 changes: 2 additions & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<build_depend>tf2_geometry_msgs</build_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>tf2_ros</build_depend>

<build_depend>trajectory_state_predictor</build_depend>

<run_depend>roscpp</run_depend>
<run_depend>tf</run_depend>
Expand All @@ -33,5 +33,6 @@
<run_depend>tf2_geometry_msgs</run_depend>
<run_depend>geometry_msgs</run_depend>
<run_depend>tf2_ros</run_depend>
<run_depend>trajectory_state_predictor</run_depend>

</package>

0 comments on commit cac23f0

Please sign in to comment.