Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete an unused variable and a redundant log message #1179

Merged
merged 3 commits into from
Apr 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ class PoseTracking

planning_scene_monitor::PlanningSceneMonitorPtr planning_scene_monitor_;
moveit::core::RobotModelConstPtr robot_model_;
const moveit::core::JointModelGroup* joint_model_group_;
// Joint group used for controlling the motions
std::string move_group_name_;

Expand Down
1 change: 0 additions & 1 deletion moveit_ros/moveit_servo/src/pose_tracking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ PoseTracking::PoseTracking(const rclcpp::Node::SharedPtr& node, const ServoParam
readROSParams();

robot_model_ = planning_scene_monitor_->getRobotModel();
joint_model_group_ = robot_model_->getJointModelGroup(move_group_name_);

// Initialize PID controllers
initializePID(x_pid_config_, cartesian_position_pids_);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class AddRuckigTrajectorySmoothing : public planning_request_adapter::PlanningRe
if (!smoother_.applySmoothing(*res.trajectory_, req.max_velocity_scaling_factor,
req.max_acceleration_scaling_factor))
{
RCLCPP_WARN(LOGGER, " Trajectory smoothing for the solution path failed.");
result = false;
}
}
Expand Down