Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent Segfault on rtabmap-noEventsExample #1367

Open
iamrebecca opened this issue Oct 29, 2024 · 1 comment
Open

Consistent Segfault on rtabmap-noEventsExample #1367

iamrebecca opened this issue Oct 29, 2024 · 1 comment

Comments

@iamrebecca
Copy link

I'm using MacBook Pro, M1, 2020 and am trying to run the ./rtabmap-noEventsExample 20 2 10 stereo_20Hz stereo_20Hz stereo_20Hz/left stereo_20Hz/right and all I get out of the response is:

Odometry update rate = 10 Hz
Map update rate = 1 Hz
[1]    79584 segmentation fault  ./rtabmap-noEventsExample 20 2 10 stereo_20Hz stereo_20Hz stereo_20Hz/left 

When I try to run it on lldb, it just keeps. printing the help message

$ lldb -- ./rtabmap-noEventsExample 20 2 10 stereo_20Hz stereo_20Hz stereo_20Hz/left
(lldb) target create "./rtabmap-noEventsExample"
Current executable set to '/Users/rebecca/Downloads/rtabmap/build/bin/rtabmap-noEventsExample' (arm64).
(lldb) settings set -- target.run-args  "20" "2" "10" "stereo_20Hz" "stereo_20Hz" "stereo_20Hz/left"
(lldb) run
Process 81183 launched: '/Users/rebecca/Downloads/rtabmap/build/bin/rtabmap-noEventsExample' (arm64)

Usage:
rtabmap-noEventsExample camera_rate odom_update map_update calibration_dir calibration_name path_left_images path_right_images
Description:
    camera_rate          Rate (Hz) of the camera.
    odom_update          Do odometry update each X camera frames.
    map_update           Do map update each X odometry frames.

Example:
     (with images from "https://github.com/introlab/rtabmap/wiki/Stereo-mapping#process-a-directory-of-stereo-images") 
     $ rtabmap-noEventsExample 20 2 10 stereo_20Hz stereo_20Hz stereo_20Hz/left stereo_20Hz/right
       Camera rate = 20 Hz
       Odometry update rate = 10 Hz
       Map update rate = 1 Hz
Process 81183 exited with status = 1 (0x00000001)

Any help here would be appreciated.

@matlabbe
Copy link
Member

How did you build it on mac? Following https://github.com/introlab/rtabmap/wiki/Installation#source ? If so, I may retry here again in case the dependencies changed and are now causing issues.

You may also do:

brew install rtabmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants