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

Live camera configuration files #292

Closed
ergys00 opened this issue Nov 30, 2022 · 6 comments
Closed

Live camera configuration files #292

ergys00 opened this issue Nov 30, 2022 · 6 comments
Labels
user-platform User has trouble running on their own platform.

Comments

@ergys00
Copy link

ergys00 commented Nov 30, 2022

I want to run openvins with my Realsense T265 camera but I'm having trouble understanding how it all runs.
Can I skip writing the .yaml configuration files and simply make the .launch file such as it can read the imu_info, camera_info topics and use the information published in those topics for the configuration?

Is the configuration file a must? Can i run openvins without the configuration files?
When i try to do that it gives me an error saying that it can't read the configuration file

@WoosikLee2510
Copy link
Member

It's probably because your path to the config file is wrong. I recommend double-checking your path in the .launch file.
If your path is correct but still seeing the problem, you can try passing false arg to the parse_config function (e.g., link).
If this doesn't work, you can replace all the parser->parse_config with (ros_node_handler)->param() which directly accesses the ros parameters you set in your launch file.

@goldbattle goldbattle added the user-platform User has trouble running on their own platform. label Dec 1, 2022
@goldbattle goldbattle changed the title Run openvins with live camera Live camera configuration files Dec 1, 2022
@goldbattle
Copy link
Member

The recommendation is to use the config file system. Please see the examples in the repo:
https://github.com/rpng/open_vins/tree/master/config

The camera and IMU are a nearly identical format to that of kalibr.

Otherwise, you will need to override all parameters in your launch file directly, and likely need to disable the code to try to open a config file (or point it to an empty yaml file).

@ergys00
Copy link
Author

ergys00 commented Dec 1, 2022

I've set configuration files with the right values that i got from the tool rs-enumerat-devices fo my realsense t265 but when i try to launch subscribe.launch of ov_msckf the path diverges, initially it stays stable but after some movements it starts to diverge

@goldbattle
Copy link
Member

goldbattle commented Dec 1, 2022 via email

@goldbattle
Copy link
Member

I have uploaded an example configs here: https://github.com/rpng/open_vins/tree/master/config/rs_t265

@ergys00
Copy link
Author

ergys00 commented Jan 6, 2023

thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user-platform User has trouble running on their own platform.
Projects
None yet
Development

No branches or pull requests

3 participants