Repository navigation
Running iSAM2 pipeline
Florian Tschopp edited this page Jun 28, 2019
·
1 revision
- Install screen for automated launch
sudo apt-get install screen
- Get rviz plugins for better visualization
git clone git@github.com:ethz-asl/fw_rviz_plugins.git
catkin build fw_rviz
catkin build fw_gps
- Build isam2 by catkin
catkin build isam_app
- Checkout correct branch: Make sure maplab is on branch
feature/isam_three_stage_landmarks - Launch app:
- Navigate to
experimental/online-viwls-isam/isam-app/launch - Check
flags.ffandstart_isam_app(Path to rosbag etc.) - Type
screen -c start_isam_app. This launches all required terminals. In case of problem you can copy commands fromstart_isam_appfile and run it in 3 separate terminals
- Navigate to
- Quick intro to screen:
- Switch between windows:
Ctrl+o " - Kill screen:
Ctrl+o \ Y - Do not just close the screen window, it will remain in the background. (Type
screen -rto get a detached screen back to the foreground.)
- Switch between windows:
- Raw GPS measurements are visualized as red spheres.

- Pose of STS and LTS (coordinate systems)
- trajectory of LTS (blue)
- STS constraints (white)
- STS landmarks (black)
- LTS landmarks
- light yellow - 1st stage observed
- dark yellow - 1st stage finished
- light orange - 2st stage observed
- dark orange - 2st stage finished
- light red - 3st stage observed
- dark red - 3st stage finished
- GPS measurements in from LTS (red dots)
Most important flags:
-
v- verbosity -
sts_worker_use_gps_until_timestampandlts_worker_use_gps_until_timestamp- disable/enable GPS -
sts_loop_closure_start_offsetandsts_loop_closure_interval- STS constraint parameters (in poses) -
isam_sts_localise_nframe_using_landmarks- type of STS constraint (pose/landmarks) -
kf_distance_threshold_mandkf_every_nth_vertex- keyframing related -
lc_min_timestamp- internal loop closure of LTS
What needs to be done:
-
fake GPS measurements in initialization phase
-
in worker-data-source-rosbagtake messages with ground-truth and convert them to GPS positions (adding some offset can be helpful) - add the fake messages to
output_gps_wgs_buffer_
-
-
adjust rosbag start and end (
flags.ff) -
adjust all timestamp-based parameters (
flags.ff) -
on
screen 0instart_isam_apprun onlyroscore -
adjust landmark min/max distance parameters (look into flags.ff file)