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

Missing local cartesian branch code? #832

Open
ffgamelife opened this issue Sep 19, 2023 · 0 comments
Open

Missing local cartesian branch code? #832

ffgamelife opened this issue Sep 19, 2023 · 0 comments

Comments

@ffgamelife
Copy link

The received GPS message is only converted to UTM coordinates. Should the code for local Cartesian coordinate conversion be added?

double cartesian_x = 0;
double cartesian_y = 0;
std::string cartesian_zone_tmp;
navsat_conversions::LLtoUTM(
msg->latitude,
msg->longitude,
cartesian_y,
cartesian_x,
cartesian_zone_tmp);
latest_cartesian_pose_.setOrigin(tf2::Vector3(cartesian_x, cartesian_y, msg->altitude));
latest_cartesian_covariance_.setZero();

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

1 participant