Skip to content

Commit

Permalink
Modify param name.
Browse files Browse the repository at this point in the history
  • Loading branch information
liyixin135 committed Apr 27, 2024
1 parent f39ad03 commit 32c49aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/rm_manual/manual_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class ManualBase

ros::Subscriber odom_sub_, dbus_sub_, track_sub_, referee_sub_, capacity_sub_, game_status_sub_, joint_state_sub_,
game_robot_hp_sub_, actuator_state_sub_, power_heat_data_sub_, gimbal_des_error_sub_, game_robot_status_sub_,
suggest_fire_sub_, suggest_fire_near_switching_sub_;
suggest_fire_sub_, shoot_beforehand_sub_;

sensor_msgs::JointState joint_state_;
rm_msgs::TrackData track_data_;
Expand Down
2 changes: 1 addition & 1 deletion src/manual_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ManualBase::ManualBase(ros::NodeHandle& nh, ros::NodeHandle& nh_referee)
suggest_fire_sub_ =
nh.subscribe<std_msgs::Bool>("/forecast/suggest_fire", 10, &ManualBase::suggestFireCallback, this);

suggest_fire_near_switching_sub_ =
shoot_beforehand_sub_ =
nh.subscribe<rm_msgs::ShootBeforehandCmd>("/controllers/gimbal_controller/bullet_solver/shoot_beforehand_cmd", 10,
&ManualBase::shootBeforehandCmdCallback, this);

Expand Down

0 comments on commit 32c49aa

Please sign in to comment.