Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
Signed-off-by: Shintaro SAKODA <[email protected]>
  • Loading branch information
SakodaShintaro committed Oct 4, 2023
1 parent 8b5c007 commit 0c80896
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void GyroBiasModule::update_bias(const TrajectoryData & traj_data)
geometry_msgs::msg::Vector3 GyroBiasModule::get_bias_base_link() const
{
geometry_msgs::msg::Vector3 gyro_bias_base;
gyro_bias_base.x = gyro_bias_pair_.first.x / gyro_bias_pair_.second.z;
gyro_bias_base.x = gyro_bias_pair_.first.x / gyro_bias_pair_.second.x;
gyro_bias_base.y = gyro_bias_pair_.first.y / gyro_bias_pair_.second.y;
gyro_bias_base.z = gyro_bias_pair_.first.z / gyro_bias_pair_.second.z;
return gyro_bias_base;
Expand All @@ -79,9 +79,9 @@ geometry_msgs::msg::Vector3 GyroBiasModule::get_bias_std() const
stddev_bias.x = calculate_std_mean_const(
stddev_bias_list_x, gyro_bias_pair_.first.x / gyro_bias_pair_.second.x);
stddev_bias.y = calculate_std_mean_const(
stddev_bias_list_y, gyro_bias_pair_.first.x / gyro_bias_pair_.second.x);
stddev_bias_list_y, gyro_bias_pair_.first.y / gyro_bias_pair_.second.y);
stddev_bias.z = calculate_std_mean_const(
stddev_bias_list_z, gyro_bias_pair_.first.x / gyro_bias_pair_.second.x);
stddev_bias_list_z, gyro_bias_pair_.first.z / gyro_bias_pair_.second.z);
return stddev_bias;
}

Expand Down

0 comments on commit 0c80896

Please sign in to comment.