Skip to content

Commit

Permalink
[moveit_interface] Fix member naming issue
Browse files Browse the repository at this point in the history
Fixes #51.
  • Loading branch information
lukeschmitt-tr committed Aug 14, 2023
1 parent 66e4a29 commit 29f84bb
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ bool InterbotixMoveItInterface::moveit_plan_joint_positions(
rviz_visual_tools::WHITE,
rviz_visual_tools::XLARGE);
visual_tools->publishTrajectoryLine(
saved_plan.trajectory,
saved_plan.trajectory_,
joint_model_group);
visual_tools->trigger();

Expand All @@ -127,7 +127,7 @@ bool InterbotixMoveItInterface::moveit_plan_ee_pose(const geometry_msgs::msg::Po
rviz_visual_tools::WHITE,
rviz_visual_tools::XLARGE);
visual_tools->publishTrajectoryLine(
saved_plan.trajectory,
saved_plan.trajectory_,
joint_model_group);
visual_tools->trigger();

Expand Down Expand Up @@ -159,7 +159,7 @@ bool InterbotixMoveItInterface::moveit_plan_ee_position(double x, double y, doub
rviz_visual_tools::WHITE,
rviz_visual_tools::XLARGE);
visual_tools->publishTrajectoryLine(
saved_plan.trajectory,
saved_plan.trajectory_,
joint_model_group);
visual_tools->trigger();

Expand All @@ -185,7 +185,7 @@ bool InterbotixMoveItInterface::moveit_plan_ee_orientation(
rviz_visual_tools::WHITE,
rviz_visual_tools::XLARGE);
visual_tools->publishTrajectoryLine(
saved_plan.trajectory,
saved_plan.trajectory_,
joint_model_group);
visual_tools->trigger();

Expand All @@ -208,7 +208,7 @@ bool InterbotixMoveItInterface::moveit_plan_cartesian_path(
trajectory);
RCLCPP_INFO(
node_->get_logger(),
"Visualizing (Cartesian path) (%.2f%% acheived)", fraction * 100.0);
"Visualizing (Cartesian path) (%.2f%% achieved)", fraction * 100.0);

visual_tools->deleteAllMarkers();
visual_tools->publishText(
Expand All @@ -230,7 +230,7 @@ bool InterbotixMoveItInterface::moveit_plan_cartesian_path(

moveit::planning_interface::MoveGroupInterface::Plan plan;
saved_plan = plan;
saved_plan.trajectory = trajectory;
saved_plan.trajectory_ = trajectory;

// If a plan was found for over 90% of the waypoints...
// consider that a successful planning attempt
Expand Down

0 comments on commit 29f84bb

Please sign in to comment.