Coder Social home page Coder Social logo

uzh-rpg / rpg_ultimate_slam_open Goto Github PK

View Code? Open in Web Editor NEW
267.0 7.0 45.0 4.83 MB

Open source code for "Ultimate SLAM? Combining Events, Images, and IMU for Robust Visual SLAM in HDR and High-Speed Scenarios" RA-L 2018

License: GNU General Public License v3.0

CMake 1.93% TeX 0.97% C++ 95.94% Python 1.15%

rpg_ultimate_slam_open's Introduction

Ultimate SLAM

UltimateSlam

This repository contains code to run Ultimate SLAM, described in the following two papers:

Check out the presentation video here

If you use this code in an academic context, please cite the following works:

@InProceedings{Rosinol_2018_RAL,
  author = {Antoni Rosinol Vidal and Henri Rebecq and Timo Horstschaefer and Davide Scaramuzza},
  title = {Ultimate SLAM? Combining Events, Images, and IMU for Robust Visual SLAM in HDR and High Speed Scenarios},
  booktitle = {{IEEE} Robotics and Automation Letters (RA-L)},
  year = {2018}
}
@InProceedings{Rebecq_2017_BMVC,
  author = {Henri Rebecq and Timo Horstschaefer and Davide Scaramuzza},
  title = {Real-time Visual-Inertial Odometry for Event Cameras using Keyframe-based Nonlinear Optimization},
  booktitle = {British Machine Vision Conference (BMVC)},
  year = {2017}
}

Motivation

Event cameras are bioinspired vision sensors that output pixel-level brightness changes instead of standard intensity frames. Event cameras do not suffer from motion blur and have a very high dynamic range, which enables them to provide reliable visual information during high-speed motions or in scenes characterized by high dynamic range. However, event cameras output only a little information when the amount of motion is limited, such as in the case of almost still motion. Conversely, standard cameras provide instant and rich information about the environment most of the time (in low-speed and good lighting scenarios), but they fail severely in case of fast motions, or difficult lightings such as high dynamic range or low light scenes. UltimateSLAM is the first state estimation pipeline that leverages the complementary advantages of these two sensors by fusing in a tightly coupled manner events, standard frames, and inertial measurements. In high-speed and high-dynamic-range scenarios, UltimateSLAM leads to an accuracy improvement of up to 85% over standard frame-based visual-inertial odometry systems and can run in real-time on embedded platforms. We have shown that UltimateSLAM can be used for autonomous drone flight in low-lit environments and even to keep drones flying when a rotor fails (video).

Contents

rpg_ultimate_slam_open's People

Contributors

danielgehrig18 avatar davsca avatar knelk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rpg_ultimate_slam_open's Issues

Drift badly on Jetson using sample bag

I installed uslam on Jetson Xavier; however it drifts crazy (check the image) using the sample bags, and of course the same using actual event camera.

uslam

I tried different platforms it works fine on all but not Jetson. Any help will be highly appreciated!

How to evaluate the accuracy

How to compare the generated track information with the Ground True ? Is EVO tool used? However, the time stamp of ROS cannot be aligned with gt.

squaredNorm()) <= (static_cast<Scalar>(1.0))+(EPS<Scalar>::normalization_value()

Hello, when I use my own equipment to do experiments, I often encounter the following problems. Do you have any suggestions? Most data have such problems
Equipment model: DVXplorer
F0224 14:51:32.128018 31870 rotation-quaternion-inl.h:67] Check failed: (squaredNorm()) <= (static_cast(1.0))+(EPS::normalization_value()) (-nan vs. 1.0001)

Less than 3 IMU measurements in vector ERROR

I was trying to execute my own bag with IMU and EVENTS topics running, but I got the following error:
image

The imu topic is properly published in the same way as the given examples:
image

Am I doing something wrong? Maybe I need to set a specific parameter? My IMU publishes at 200Hz and the example one at 1000Hz.

Ultimate SLAM for dvxplorer

Hi,

I have a dvxplorer camera. I am trying to run Ultimate SLAM on it. II followed the steps in the docs. All the steps ran fine until the last one. When I execute the below launch command:
roslaunch ze_vio_ceres live_DAVIS240C_events_only.launch camera_name:=<your_camera_calibration_filename> timeshift_cam_imu:=0.0028100209382249794

I get an error. I guess because this command is specifically for DAVIS. Is there any command for dvxplorer? Has someone tested the ultimate SLAM on dvxplorer?

The error I get is:
================================================================================REQUIRED process [ze_vio_ceres-1] has died!
process has died [pid 1703060, exit code -6, cmd /home/eventcamera/uslam_ws/devel/lib/ze_vio_ceres/ze_vio_ceres_node --data_source=2 # rostopic --vio_use_events=1 --vio_use_events_and_images=0 --vio_rescale_intrinsics_for_distortion=true --timeshift_cam_imu=0.0028100209382249794 --calib_filename=/home/eventcamera/uslam_ws/src/rpg_ultimate_slam_open/applications/ze_vio_ceres/../../calibration/DAVIS-example.yaml --flagfile=/home/eventcamera/uslam_ws/src/rpg_ultimate_slam_open/applications/ze_vio_ceres/cfg/vio_base.conf --flagfile=/home/eventcamera/uslam_ws/src/rpg_ultimate_slam_open/applications/ze_vio_ceres/cfg/vio_davis.conf --data_interval_between_event_packets=33 # events-only pipeline: interval between successive event frames. --data_use_time_interval=true # events-only pipeline: if true, data_interval_between_event_packets is interpreted as milliseconds, otherwise as number of events --data_size_augmented_event_packet=40000 # max number of events per event frame (should be >= vio_frame_size) --vio_frame_size=15000 # each event frame will be drawn with that number of events --vio_do_motion_correction=1 --noise_event_rate=20000 --vio_frame_norm_factor=4.0 --vio_trace_pose=1 --log_dir=/tmp --vmodule=feature_tracker=0 --colorlogtostderr=1 --logtostderr=1 --alsologtostderr=1 --vio_viz_feature_tracks=True --vio_viz_feature_tracks_length=0 __name:=ze_vio_ceres __log:=/home/eventcamera/.ros/log/cf0e3dde-7bd2-11ed-bb38-9bc4b49a7e44/ze_vio_ceres-1.log].
log file: /home/eventcamera/.ros/log/cf0e3dde-7bd2-11ed-bb38-9bc4b49a7e44/ze_vio_ceres-1*.log
Initiating shutdown!

Project 'ceres_catkin' tried to find library 'spqr' error when building catkin_make ze_vio_ceres command

-- +++ processing catkin package: 'ceres_catkin'
-- ==> add_subdirectory(ceres_catkin)
CMake Error at /home/abhi/uslam_ws/devel/share/suitesparse/cmake/suitesparseConfig.cmake:173 (message):
Project 'ceres_catkin' tried to find library 'spqr'. The library is
neither a target nor built/installed properly. Did you compile project
'suitesparse'? Did you find_package() it before the subdirectory containing
its code is included?
Call Stack (most recent call first):
/home/abhi/uslam_ws/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:40 (find_package)
ceres_catkin/CMakeLists.txt:5 (catkin_simple)

-- Configuring incomplete, errors occurred!
See also "/home/abhi/uslam_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/abhi/uslam_ws/build/CMakeFiles/CMakeError.log".
Makefile:318: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

how to resolve this error as i couldnt find any solutions. Please provide the solution to resolve this issue.

Is there a way to covert the calibration file, I already have produced, in your Format

I am using realsensecamera D435i. I already can import the calibration file which is
{ "baseline": "-50.0006", "intrinsic_left.x.x": "0.501604", "intrinsic_left.x.y": "0.801778", "intrinsic_left.x.z": "0.505046", "intrinsic_left.y.x": "0.480918", "intrinsic_left.y.y": "-0.0568992", "intrinsic_left.y.z": "0.0668721", "intrinsic_left.z.x": "-0.00118905", "intrinsic_left.z.y": "0.000179729", "intrinsic_left.z.z": "-0.0219094", "intrinsic_right.x.x": "0.501946", "intrinsic_right.x.y": "0.802513", "intrinsic_right.x.z": "0.501155", "intrinsic_right.y.x": "0.488447", "intrinsic_right.y.y": "-0.0577709", "intrinsic_right.y.z": "0.0706506", "intrinsic_right.z.x": "-0.000360099", "intrinsic_right.z.y": "-6.99159e-05", "intrinsic_right.z.z": "-0.0229202", "rectified.0.fx": "975.261", "rectified.0.fy": "975.261", "rectified.0.height": "1080", "rectified.0.ppx": "971.917", "rectified.0.ppy": "521.317", "rectified.0.width": "1920", "rectified.1.fx": "650.174", "rectified.1.fy": "650.174", "rectified.1.height": "720", "rectified.1.ppx": "647.945", "rectified.1.ppy": "347.545", "rectified.1.width": "1280", "rectified.10.fx": "585.156", "rectified.10.fy": "585.156", "rectified.10.height": "0", "rectified.10.ppx": "367.15", "rectified.10.ppy": "348.79", "rectified.10.width": "0", "rectified.11.fx": "468.125", "rectified.11.fy": "468.125", "rectified.11.height": "0", "rectified.11.ppx": "293.72", "rectified.11.ppy": "279.032", "rectified.11.width": "0", "rectified.12.fx": "0", "rectified.12.fy": "0", "rectified.12.height": "400", "rectified.12.ppx": "0", "rectified.12.ppy": "0", "rectified.12.width": "640", "rectified.13.fx": "0", "rectified.13.fy": "0", "rectified.13.height": "576", "rectified.13.ppx": "0", "rectified.13.ppy": "0", "rectified.13.width": "576", "rectified.14.fx": "0", "rectified.14.fy": "0", "rectified.14.height": "720", "rectified.14.ppx": "0", "rectified.14.ppy": "0", "rectified.14.width": "720", "rectified.15.fx": "0", "rectified.15.fy": "0", "rectified.15.height": "1152", "rectified.15.ppx": "0", "rectified.15.ppy": "0", "rectified.15.width": "1152", "rectified.2.fx": "390.104", "rectified.2.fy": "390.104", "rectified.2.height": "480", "rectified.2.ppx": "324.767", "rectified.2.ppy": "232.527", "rectified.2.width": "640", "rectified.3.fx": "430.74", "rectified.3.fy": "430.74", "rectified.3.height": "480", "rectified.3.ppx": "429.263", "rectified.3.ppy": "231.748", "rectified.3.width": "848", "rectified.4.fx": "325.087", "rectified.4.fy": "325.087", "rectified.4.height": "360", "rectified.4.ppx": "323.972", "rectified.4.ppy": "173.772", "rectified.4.width": "640", "rectified.5.fx": "215.37", "rectified.5.fy": "215.37", "rectified.5.height": "240", "rectified.5.ppx": "214.632", "rectified.5.ppy": "115.874", "rectified.5.width": "424", "rectified.6.fx": "195.052", "rectified.6.fy": "195.052", "rectified.6.height": "240", "rectified.6.ppx": "162.383", "rectified.6.ppy": "116.263", "rectified.6.width": "320", "rectified.7.fx": "243.815", "rectified.7.fy": "243.815", "rectified.7.height": "270", "rectified.7.ppx": "242.979", "rectified.7.ppy": "130.329", "rectified.7.width": "480", "rectified.8.fx": "650.174", "rectified.8.fy": "650.174", "rectified.8.height": "800", "rectified.8.ppx": "647.945", "rectified.8.ppy": "387.545", "rectified.8.width": "1280", "rectified.9.fx": "487.63", "rectified.9.fy": "487.63", "rectified.9.height": "540", "rectified.9.ppx": "485.959", "rectified.9.ppy": "260.659", "rectified.9.width": "960", "world2left_rot.x.x": "0.999973", "world2left_rot.x.y": "0.00315598", "world2left_rot.x.z": "0.00665476", "world2left_rot.y.x": "-0.00315923", "world2left_rot.y.y": "0.999995", "world2left_rot.y.z": "0.000477551", "world2left_rot.z.x": "-0.00665322", "world2left_rot.z.y": "-0.000498562", "world2left_rot.z.z": "0.999978", "world2right_rot.x.x": "0.999994", "world2right_rot.x.y": "0.00349371", "world2right_rot.x.z": "0.000282831", "world2right_rot.y.x": "-0.00349357", "world2right_rot.y.y": "0.999994", "world2right_rot.y.z": "-0.000488554", "world2right_rot.z.x": "-0.000284536", "world2right_rot.z.y": "0.000487563", "world2right_rot.z.z": "1" }

I can't be doing the calibration given the the toolbox you recommend since grayscale image isn't available. However I have the calibration but not in your format.

Do you have any suggestion?

undefined reference to `fast::fast_corner_detect_10_sse2(unsigned char const*, int, int, int, short, std::vector<fast::fast_xy, std::allocator<fast::fast_xy> >&)'

I got an error while building "ze_vio_ceres"

Errors << ze_vio_ceres:make /home/saber/uslam_ws/logs/ze_vio_ceres/build.make.003.log
/usr/bin/ld: /home/saber/uslam_ws/devel/.private/imp_features/lib/libimp_features.so: undefined reference to `fast::fast_corner_detect_10_sse2(unsigned char const*, int, int, int, short, std::vector<fast::fast_xy, std::allocatorfast::fast_xy >&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ze_vio_ceres_node.dir/build.make:366: /home/saber/uslam_ws/devel/.private/ze_vio_ceres/lib/ze_vio_ceres/ze_vio_ceres_node] Error 1
make[1]: *** [CMakeFiles/Makefile2:2380: CMakeFiles/ze_vio_ceres_node.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Could you provide me with a solution for this issue please?

include(ze_setup)

There is include(ze_setup) present in multiple CMakelists.txt. This gives an error during the build. Should this be commented out?

Some problems with real-time running with DVXplorer.

Hi, thank you very much for your work being open sourced and for your contributions.

I used the event camera DVXplorer to run the only Events-IMU mode of Ulitmate SLAM. After modifying the parameters according to your suggestion, I found that the trajectory drifted hugely after running for a period of time. I guess the IMU calibration may not be accurate enough. Sometimes the visualization of the picture is very turbulent. I don't know why. Do you have any suggestions?

run

Linking problem with OpenCV

I can't build the ze_vio_ceres due to linking problems

any Ideas?

Errors << ze_vio_ceres:make /media/rnd/NewDrive/uslam_ws/logs/ze_vio_ceres/build.make.006.log /media/rnd/NewDrive/uslam_ws/devel/.private/imp_correspondence/lib/libimp_correspondence.so: undefined reference to cv::imshow(cv::String const&, cv::_InputArray const&) collect2: error: ld returned 1 exit status make[2]: *** [/media/rnd/NewDrive/uslam_ws/devel/.private/ze_vio_ceres/lib/ze_vio_ceres/ze_vio_ceres_node] Error 1 make[1]: *** [CMakeFiles/ze_vio_ceres_node.dir/all] Error 2 make: *** [all] Error 2 cd /media/rnd/NewDrive/uslam_ws/build/ze_vio_ceres; catkin build --get-env ze_vio_ceres | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -

Flight speed problem

Thank you for your great work. Regarding the event camera that can apply high-speed scene positioning, I have a question, whether it supports drone movement speeds above 10m/s.

F0712 16:55:25.590517 19922 ros_bridge.cpp:131] Unsupported pixel typergb8.

Hello, when I run ultimate_slam with my davis346, I meet this error.

roslaunch ze_vio_ceres live_DAVIS240C.launch camera_name:=davis346.yaml >test

I0712 16:55:22.274123 19922 camera_rig.cpp:78] Camera rig contains a DVS camera
I0712 16:55:22.304968 19922 camera_rig.cpp:127] Ignoring cam distortion for camera with label: dvs and type: PinholeRadialTangential
I0712 16:55:22.573506 19922 camera_rig.cpp:177] Original camera intrinsics: [286.8101808196471, 0, 191.1683722041186;
0, 284.9691191001276, 129.4394970950159;
0, 0, 1]
I0712 16:55:22.573530 19922 camera_rig.cpp:178] Rescaled camera intrinsics: [-146.0299072265625, 0, 341.6474752201466;
0, -0.5575073957443237, 252.5758945497219;
0, 0, 1]
I0712 16:55:22.607000 19922 data_provider_factory.cpp:116] FLAGS_data_source = 2
I0712 16:55:22.610564 19922 camera_imu_synchronizer_base.cpp:68] t_cam = t_imu - 1716703 [ns]
F0712 16:55:25.590517 19922 ros_bridge.cpp:131] Unsupported pixel typergb8.
*** Check failure stack trace: ***
@ 0x7f77cfcc90cd google::LogMessage::Fail()
@ 0x7f77cfccaf33 google::LogMessage::SendToLog()
@ 0x7f77cfcc8c28 google::LogMessage::Flush()
@ 0x7f77cfccb999 google::LogMessageFatal::~LogMessageFatal()
@ 0x7f77cadc6f82 ze::toImageCpu()
@ 0x7f77ce88318c ze::DataProviderRostopic::imgCallback()
@ 0x7f774c5e65db image_transport::RawSubscriber::internalCallback()
@ 0x7f77cab8971e boost::detail::function::void_function_obj_invoker1<>::invoke()
@ 0x7f774c5ea791 ros::SubscriptionCallbackHelperT<>::call()
@ 0x7f77cf841e92 ros::SubscriptionQueue::call()
@ 0x7f77cf7ec559 ros::CallbackQueue::callOneCB()
@ 0x7f77cf7ee2fb ros::CallbackQueue::callAvailable()
@ 0x7f77ce882b5b ze::DataProviderRostopic::spinOnce()
@ 0x7f77ce85adb0 ze::DataProviderBase::spin()
@ 0x7f77cff2cc54 ze::VisualOdometry::startBlocking()
@ 0x55f42ef427ac main
@ 0x7f77ceaf1c87 __libc_start_main
@ 0x55f42ef42d2a _start
================================================================================REQUIRED process [ze_vio_ceres-1] has died!
process has died [pid 19922, exit code -6, cmd /home/mwy/rpg_ultimate_slam_open/devel/lib/ze_vio_ceres/ze_vio_ceres_node --data_source=2 # rostopic --vio_use_events=0 --vio_use_events_and_images=1 --vio_rescale_intrinsics_for_distortion=true --timeshift_cam_imu=0.0017167038720283018 --calib_filename=/home/mwy/rpg_ultimate_slam_open/src/rpg_ultimate_slam_open/applications/ze_vio_ceres/../../calibration/davis346.yaml --flagfile=/home/mwy/rpg_ultimate_slam_open/src/rpg_ultimate_slam_open/applications/ze_vio_ceres/cfg/vio_base.conf --flagfile=/home/mwy/rpg_ultimate_slam_open/src/rpg_ultimate_slam_open/applications/ze_vio_ceres/cfg/vio_davis.conf --data_size_augmented_event_packet=40000 # max number of events per event frame (should be >= vio_frame_size) --vio_frame_size=15000 # each event frame will be drawn with that number of events. --vio_do_motion_correction=1 --noise_event_rate=20000 --vio_frame_norm_factor=4.0 --vio_trace_pose=1 --log_dir=/tmp --vmodule=feature_tracker=0 --colorlogtostderr=1 --logtostderr=1 --alsologtostderr=1 --vio_viz_feature_tracks=true --vio_viz_feature_tracks_length=0 __name:=ze_vio_ceres __log:=/home/mwy/.ros/log/bf305d32-01bd-11ed-95af-cc153158c4f6/ze_vio_ceres-1.log].
log file: /home/mwy/.ros/log/bf305d32-01bd-11ed-95af-cc153158c4f6/ze_vio_ceres-1*.log
Initiating shutdown!

time-calibration

image

camera to imu example uses time-calibration but that's an argument anymore!

catkin build ze_vio_ceres Fails

Hello,

The build fails when I run the below command:
catkin build ze_vio_ceres
PLease have a look at the error log below:

Warnings << ze_geometry:check /home/ghanem/uslam_ws/logs/ze_geometry/build.check.001.log
CMake Warning (dev) at CMakeLists.txt:2 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

CMAKE_PROJECT_VERSION
CMAKE_PROJECT_VERSION_MAJOR
CMAKE_PROJECT_VERSION_MINOR
CMAKE_PROJECT_VERSION_PATCH

This warning is for project developers. Use -Wno-dev to suppress it.

cd /home/ghanem/uslam_ws/build/ze_geometry; catkin build --get-env ze_geometry | catkin env -si /usr/bin/make cmake_check_build_system; cd -

..........................................................................................................................................................................................................


Errors << imp_features:make /home/ghanem/uslam_ws/logs/imp_features/build.make.004.log
In file included from /home/ghanem/uslam_ws/src/rpg_ultimate_slam_open/imp/imp_features/src/fast_masked_sse.cpp:1:
/home/ghanem/uslam_ws/src/rpg_ultimate_slam_open/imp/imp_features/include/imp/features/fast_masked.hpp:3:10: fatal error: fast/fast.h: No such file or directory
3 | #include <fast/fast.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/imp_features.dir/build.make:128: CMakeFiles/imp_features.dir/src/fast_masked_sse.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/ghanem/uslam_ws/src/rpg_ultimate_slam_open/imp/imp_features/src/fast_detector.cpp:4:10: fatal error: fast/fast.h: No such file or directory
4 | #include <fast/fast.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/imp_features.dir/build.make:63: CMakeFiles/imp_features.dir/src/fast_detector.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1106: CMakeFiles/imp_features.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /home/ghanem/uslam_ws/build/imp_features; catkin build --get-env imp_features | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -

..........................................................................................................................................................................................................
Failed << imp_features:make [ Exited with code 2 ]
Failed <<< imp_features [ 4.8 seconds ]
Abandoned <<< imp_correspondence [ Unrelated job failed ]
Abandoned <<< ze_vio_common [ Unrelated job failed ]
Abandoned <<< ze_ceres_backend [ Unrelated job failed ]
Abandoned <<< ze_data_provider [ Unrelated job failed ]
Abandoned <<< ze_vio_frontend [ Unrelated job failed ]
Abandoned <<< ze_vio_ceres [ Unrelated job failed ]
Finished <<< ze_visualization [ 10.7 seconds ]
Finished <<< ze_geometry [ 9.4 seconds ]
[build] Summary: 21 of 28 packages succeeded.
[build] Ignored: 13 packages were skipped or are skiplisted.
[build] Warnings: 12 packages succeeded with warnings.
[build] Abandoned: 6 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 41.0 seconds total.

kalibr_swe_config isn't available

In calibration section, I'm trying to type like this "kalibr_swe_config --cam camchain-imucam-calib.yaml --mav camera --out camera.yaml", the problem is "kalibr_swe_config isn't available", what's the problem?

Compilation Error NVIDIA Jetson TX2

Hello!

I was able to build the package in my personal computer, but now I want to run it in a TX2 for an autonomous robot. However, when I try to do the build, I get the following error in several packages, for example in "ze_common":

Errors << ze_common:make /home/nvidia/catkin_ws/logs/ze_common/build.make.010.log
c++: error: unrecognized command line option ‘-mmmx’
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse2’
c++: error: unrecognized command line option ‘-msse3’
c++: error: unrecognized command line option ‘-mssse3’
c++: error: unrecognized command line option ‘-mmmx’
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse2’
c++: error: unrecognized command line option ‘-msse3’
c++: error: unrecognized command line option ‘-mssse3’
make[2]: *** [CMakeFiles/ze_common.dir/src/matrix.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/ze_common.dir/src/random.cpp.o] Error 1
c++: error: unrecognized command line option ‘-mmmx’
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse2’
c++: error: unrecognized command line option ‘-msse3’
c++: error: unrecognized command line option ‘-mssse3’
make[2]: *** [CMakeFiles/ze_common.dir/src/signal_handler.cpp.o] Error 1
c++: error: unrecognized command line option ‘-mmmx’
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse2’
c++: error: unrecognized command line option ‘-msse3’
c++: error: unrecognized command line option ‘-mssse3’
make[2]: *** [CMakeFiles/ze_common.dir/src/test_utils.cpp.o] Error 1
c++: error: unrecognized command line option ‘-mmmx’
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
c++: error: unrecognized command line option ‘-msse2’
c++: error: unrecognized command line option ‘-msse3’
c++: error: unrecognized command line option ‘-mssse3’
make[2]: *** [CMakeFiles/ze_common.dir/src/csv_trajectory.cpp.o] Error 1
make[1]: *** [CMakeFiles/ze_common.dir/all] Error 2
make: *** [all] Error 2
cd /home/nvidia/catkin_ws/build/ze_common; catkin build --get-env ze_common | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -

Is there a way to make this working in my TX2?

Nframe and Frame in the source code

What are the differences between class "NFrame" and "Frame" in the source code? I have noticed that the "NFrame" contains a member variable called "frames_" with type "FrameVector", so an object of "NFrame" contains not only 1 frame, right? But at the same time, "NFrame" contains another variable called "is_keyframe_" with type bool, which seems imply that it is indeed a single frame? Thanks in advance!
FrameVector frames_; //!< Vector of frames holding images and features. bool is_keyframe_ = false; //!< Was this NFrame selected as keyframe?

Scale question

does anyone know that the result of this algorithm has real scale information? I can not find where the scale information is calculated.And my result have terrible scale problem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.