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

Does not publish map transform if tf_mode is off #95

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/publishers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ void Publishers::handleFilterEcefPos(const mip::data_filter::EcefPos& ecef_pos,
(RosMipDevice::isPhilo(config_->mip_device_->device_info_) && config_->filter_state_ == mip::data_filter::FilterMode::GX5_RUN_SOLUTION_VALID) ||
(RosMipDevice::isProspect(config_->mip_device_->device_info_) && config_->filter_state_ == mip::data_filter::FilterMode::FULL_NAV)
);
if (!config_->map_to_earth_transform_valid_ && config_->filter_relative_pos_source_ == REL_POS_SOURCE_AUTO && full_nav)
if (config_->tf_mode_ == TF_MODE_RELATIVE && !config_->map_to_earth_transform_valid_ && config_->filter_relative_pos_source_ == REL_POS_SOURCE_AUTO && full_nav)
{
// Find the rotation between ECEF and NED/ENU for this position
double lat, lon, alt;
Expand Down