Skip to content

Commit

Permalink
fix: renamed dynamic config output
Browse files Browse the repository at this point in the history
  • Loading branch information
SS47816 committed Jan 23, 2024
1 parent 93d0d21 commit c4deb7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cfg/fiss_planner.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ gen.add("track_error_gain", double_t, 1, "Default: 1.0", 1.0, 0, 1.0)
gen.add("traj_max_size", int_t, 0, "Default: 10", 10, 5, 30)
gen.add("traj_min_size", int_t, 0, "Default: 5", 5, 5, 20)

exit(gen.generate(PACKAGE, "fiss_planner", "fiss_planner_"))
exit(gen.generate(PACKAGE, "fiss_planner", "fiss_planner"))
6 changes: 3 additions & 3 deletions include/fiss_planner/fiss_planner_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <autoware_msgs/DetectedObjectArray.h>

#include <dynamic_reconfigure/server.h>
#include <fiss_planner/fiss_planner_Config.h>
#include <fiss_planner/fiss_plannerConfig.h>

#include "fiss_planner/pid.hpp"
#include "fiss_planner/visualization.hpp"
Expand Down Expand Up @@ -103,8 +103,8 @@ class FissPlannerNode
ros::NodeHandle nh;
tf2_ros::Buffer tf_buffer;
tf2_ros::TransformListener tf_listener;
dynamic_reconfigure::Server<fiss_planner::fiss_planner_Config> server;
dynamic_reconfigure::Server<fiss_planner::fiss_planner_Config>::CallbackType f;
dynamic_reconfigure::Server<fiss_planner::fiss_plannerConfig> server;
dynamic_reconfigure::Server<fiss_planner::fiss_plannerConfig>::CallbackType f;

// ###################################### Private Functions ######################################

Expand Down
2 changes: 1 addition & 1 deletion src/fiss_planner_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ bool USE_HEURISTIC;
bool SETTINGS_UPDATED = false;

// Dynamic parameter server callback function
void dynamicParamCallback(fiss_planner::fiss_planner_Config& config, uint32_t level)
void dynamicParamCallback(fiss_planner::fiss_plannerConfig& config, uint32_t level)
{
// General Settings
CHECK_COLLISION = config.check_collision;
Expand Down

0 comments on commit c4deb7c

Please sign in to comment.