Skip to content

Commit

Permalink
rcpputils to rcppmath
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Odle committed Jan 9, 2023
1 parent 7ccc59c commit d4cc1b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <cmath>

#include "rclcpp/time.hpp"
#include "rcpputils/rolling_mean_accumulator.hpp"
#include "rcppmath/rolling_mean_accumulator.hpp"

namespace diff_drive_controller
{
Expand All @@ -50,7 +50,7 @@ class Odometry
void setVelocityRollingWindowSize(size_t velocity_rolling_window_size);

private:
using RollingMeanAccumulator = rcpputils::RollingMeanAccumulator<double>;
using RollingMeanAccumulator = rcppmath::RollingMeanAccumulator<double>;

void integrateRungeKutta2(double linear, double angular);
void integrateExact(double linear, double angular);
Expand Down
4 changes: 2 additions & 2 deletions tricycle_controller/include/tricycle_controller/odometry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <cmath>

#include "rclcpp/time.hpp"
#include "rcpputils/rolling_mean_accumulator.hpp"
#include "rcppmath/rolling_mean_accumulator.hpp"

namespace tricycle_controller
{
Expand All @@ -45,7 +45,7 @@ class Odometry
void setVelocityRollingWindowSize(size_t velocity_rolling_window_size);

private:
using RollingMeanAccumulator = rcpputils::RollingMeanAccumulator<double>;
using RollingMeanAccumulator = rcppmath::RollingMeanAccumulator<double>;

void integrateRungeKutta2(double linear, double angular);
void integrateExact(double linear, double angular);
Expand Down

0 comments on commit d4cc1b4

Please sign in to comment.