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

How to run the ros_gnss_stereo_inertial? #2

Open
LuoXubo opened this issue Nov 25, 2024 · 3 comments
Open

How to run the ros_gnss_stereo_inertial? #2

LuoXubo opened this issue Nov 25, 2024 · 3 comments

Comments

@LuoXubo
Copy link

LuoXubo commented Nov 25, 2024

Hi, thanks for your great work!

I've built the GNSS_SI under the ROS directory following your instructions. And the executable file is generated without errors:

...
[ 75%] Linking CXX executable Stereo_Inertial
[ 75%] Built target Stereo_Inertial
[100%] Linking CXX executable GNSS_Stereo_Inertial
[100%] Built target GNSS_Stereo_Inertial

However, when I run this command:

rosrun ORB_SLAM3 GNSS_Stereo_Inertial Vocabulary/ORBvoc.txt Examples/Stereo-Inertial/TUM-VI_far.yaml true

There is an error:

[rospack] Error: package 'ORB_SLAM3' not found[rospack] Error: package 'ORB_SLAM3' not found[rospack] Error: package 'ORB_SLAM3' not found

Could you help me solve this problem?

@jcremona
Copy link
Collaborator

Hi! Have you followed these steps?
https://github.com/CIFASIS/gnss-stereo-inertial-fusion?tab=readme-ov-file#ros-node
In particular, adding the export command to the .bashrc file.

@LuoXubo
Copy link
Author

LuoXubo commented Nov 25, 2024

Thanks for your reply. I've fixed this problem. Instead of ORB_SLAM3, I should run this command:

rosrun GNSS_SI GNSS_Stereo_Inertial Vocabulary/ORBvoc.txt Examples/Stereo-Inertial/TUM-VI_far.yaml true

And I have one more question about the optimization. If there are only two types of source data (like images and GNSS data ) fed into the system, will the estimation be optimized? Or is the estimation optimized only when there are exactly three types of source data (images, GNSS data and IMU data)?

@jcremona
Copy link
Collaborator

The current implementation of GNSS_Stereo_Inertial assumes it receives images, GNSS and IMU as input. Measurements from the three sensors are needed.

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