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

Set antenna offsets #77

Open
DavidTMuc opened this issue Aug 16, 2021 · 4 comments
Open

Set antenna offsets #77

DavidTMuc opened this issue Aug 16, 2021 · 4 comments

Comments

@DavidTMuc
Copy link

Hello,

I have a VN-300 Dual GNSS and wondering if I could set the Antenna positions directly in your code, instead of the VectorNavs control center??

Thanks!!

@DavidTMuc
Copy link
Author

image
image

Here are the settings in the Control Center as an example.

@dawonn
Copy link
Owner

dawonn commented Aug 16, 2021 via email

@DavidTMuc
Copy link
Author

It finally worked!! In the following the code:
// Set Antenna position
vec3f antenna_position(1.1, 2.2, 3.3);
vs.writeGpsAntennaOffset(user_data.antenna_position, false);
vec3f base_line_position(1.1, 2.2, 3.3);
vec3f base_line_uncertainity(0.1, 0.2, 0.3);
vs.writeGpsCompassBaseline(user_data.base_line_position,user_data.base_line_uncertainity, false);
vs.writeSettings();

Now I wonder how I could refer to this in the launch file. Could you give me an advice - especially regarding the node handle, which I have to use to solve this issue, I guess?

Thank you!!

@dawonn
Copy link
Owner

dawonn commented Aug 18, 2021 via email

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