Skip to content

Commit

Permalink
Merge pull request #3 from tier4/feat/apply-flexible-lpf
Browse files Browse the repository at this point in the history
feat(stop_accel_evaluator): use flexible lpf
  • Loading branch information
yabuta authored Jul 29, 2022
2 parents 0374b09 + e26a1d2 commit e5a9117
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ StopAccelEvaluatorNode::StopAccelEvaluatorNode(const rclcpp::NodeOptions & node_
stop_valid_imu_accel_num_ = this->declare_parameter("stop_valid_imu_accel_num", 4);

{ // lowpass filter
lpf_pitch_ = std::make_shared<LowpassFilter1d>(0.0, this->declare_parameter("lpf_pitch_gain", 0.95));
lpf_acc_ = std::make_shared<LowpassFilter1d>(0.0, this->declare_parameter("lpf_acc_gain", 0.2));
lpf_pitch_ = std::make_shared<LowpassFilter1d>(this->declare_parameter("lpf_pitch_gain", 0.95));
lpf_acc_ = std::make_shared<LowpassFilter1d>(this->declare_parameter("lpf_acc_gain", 0.2));
}

sub_twist_ = this->create_subscription<Odometry>(
Expand Down

0 comments on commit e5a9117

Please sign in to comment.