Skip to content

Commit

Permalink
chore: cleanup unused members
Browse files Browse the repository at this point in the history
Signed-off-by: Taekjin LEE <[email protected]>
  • Loading branch information
technolojin committed Mar 13, 2024
1 parent 72adba3 commit 08f3741
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,15 @@ class BicycleTracker : public Tracker
rclcpp::Logger logger_;

private:
// rclcpp::Time last_update_time_;

struct EkfParams
{
double r_cov_x;
double r_cov_y;
double r_cov_yaw;
} ekf_params_;

double z_;

private:
struct BoundingBox
{
double length;
Expand All @@ -61,7 +59,6 @@ class BicycleTracker : public Tracker
const geometry_msgs::msg::Transform & self_transform);

bool predict(const rclcpp::Time & time) override;
bool predict(const double dt, KalmanFilter & ekf) const;
bool measure(
const autoware_auto_perception_msgs::msg::DetectedObject & object, const rclcpp::Time & time,
const geometry_msgs::msg::Transform & self_transform) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,17 @@ class BigVehicleTracker : public Tracker
rclcpp::Logger logger_;

private:
// rclcpp::Time last_update_time_;
struct EkfParams
{
double r_cov_x;
double r_cov_y;
double r_cov_yaw;
double r_cov_vel;
} ekf_params_;
double z_;
double velocity_deviation_threshold_;

private:
double z_;

struct BoundingBox
{
double length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,17 @@ class NormalVehicleTracker : public Tracker
rclcpp::Logger logger_;

private:
// rclcpp::Time last_update_time_;

struct EkfParams
{
double r_cov_x;
double r_cov_y;
double r_cov_yaw;
double r_cov_vel;
} ekf_params_;
double z_;
double velocity_deviation_threshold_;

private:
double z_;

struct BoundingBox
{
double length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,15 @@ class PedestrianTracker : public Tracker
rclcpp::Logger logger_;

private:
// rclcpp::Time last_update_time_;
struct EkfParams
{
double r_cov_x;
double r_cov_y;
double r_cov_yaw;
} ekf_params_;

double z_;

private:
struct BoundingBox
{
double length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.
//
//
// v1.0 Yukihiro Saito
// Author: v1.0 Yukihiro Saito
//

#ifndef MULTI_OBJECT_TRACKER__TRACKER__MODEL__UNKNOWN_TRACKER_HPP_
Expand All @@ -31,14 +31,14 @@ class UnknownTracker : public Tracker
rclcpp::Logger logger_;

private:
// rclcpp::Time last_update_time_;
struct EkfParams
{
double r_cov_x;
double r_cov_y;
double r_cov_vx;
double r_cov_vy;
} ekf_params_;

double z_;

private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ BicycleTracker::BicycleTracker(
const geometry_msgs::msg::Transform & /*self_transform*/)
: Tracker(time, object.classification),
logger_(rclcpp::get_logger("BicycleTracker")),
// last_update_time_(time),
z_(object.kinematics.pose_with_covariance.pose.position.z)
{
object_ = object;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ BigVehicleTracker::BigVehicleTracker(
const geometry_msgs::msg::Transform & self_transform)
: Tracker(time, object.classification),
logger_(rclcpp::get_logger("BigVehicleTracker")),
// last_update_time_(time),
z_(object.kinematics.pose_with_covariance.pose.position.z),
tracking_offset_(Eigen::Vector2d::Zero())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ NormalVehicleTracker::NormalVehicleTracker(
const geometry_msgs::msg::Transform & self_transform)
: Tracker(time, object.classification),
logger_(rclcpp::get_logger("NormalVehicleTracker")),
// last_update_time_(time),
z_(object.kinematics.pose_with_covariance.pose.position.z),
tracking_offset_(Eigen::Vector2d::Zero())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ PedestrianTracker::PedestrianTracker(
const geometry_msgs::msg::Transform & /*self_transform*/)
: Tracker(time, object.classification),
logger_(rclcpp::get_logger("PedestrianTracker")),
// last_update_time_(time),
z_(object.kinematics.pose_with_covariance.pose.position.z)
{
object_ = object;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ UnknownTracker::UnknownTracker(
const geometry_msgs::msg::Transform & /*self_transform*/)
: Tracker(time, object.classification),
logger_(rclcpp::get_logger("UnknownTracker")),
// last_update_time_(time),
z_(object.kinematics.pose_with_covariance.pose.position.z)
{
object_ = object;
Expand Down

0 comments on commit 08f3741

Please sign in to comment.