Skip to content

Commit 9116e92

Browse files
committed
minor cleanup, fixing warnings, improving comments
1 parent a98d5ed commit 9116e92

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

core/include/moveit/task_constructor/stage_p.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class StagePrivate
164164
std::string name_;
165165
PropertyMap properties_;
166166

167-
// the stage's pull interfaces, created as required
167+
// pull interfaces, created by the stage as required
168168
InterfacePtr starts_;
169169
InterfacePtr ends_;
170170

@@ -184,6 +184,8 @@ class StagePrivate
184184
ContainerBase* parent_; // owning parent
185185
container_type::iterator it_; // iterator into parent's children_ list referring to this
186186

187+
// push interfaces, assigned by the parent container
188+
// linking to previous/next sibling's pull interfaces
187189
InterfaceWeakPtr prev_ends_; // interface to be used for sendBackward()
188190
InterfaceWeakPtr next_starts_; // interface to be used for sendForward()
189191

core/src/stage.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ PropagatingForwardPrivate::PropagatingForwardPrivate(PropagatingForward* me, con
563563
PropagatingForward::PropagatingForward(const std::string& name)
564564
: PropagatingEitherWay(new PropagatingForwardPrivate(this, name)) {}
565565

566-
void PropagatingForward::computeBackward(const InterfaceState& to) {
566+
void PropagatingForward::computeBackward(const InterfaceState& /* to */) {
567567
assert(false); // This should never be called
568568
}
569569

@@ -576,7 +576,7 @@ PropagatingBackwardPrivate::PropagatingBackwardPrivate(PropagatingBackward* me,
576576
PropagatingBackward::PropagatingBackward(const std::string& name)
577577
: PropagatingEitherWay(new PropagatingBackwardPrivate(this, name)) {}
578578

579-
void PropagatingBackward::computeForward(const InterfaceState& from) {
579+
void PropagatingBackward::computeForward(const InterfaceState& /* from */) {
580580
assert(false); // This should never be called
581581
}
582582

visualization/motion_planning_tasks/src/task_list_model.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ QVariant BaseTaskModel::flowIcon(moveit::task_constructor::InterfaceFlags f) {
125125
static const QIcon FORWARD_ICON = icons::FORWARD.icon();
126126
static const QIcon BACKWARD_ICON = icons::BACKWARD.icon();
127127
static const QIcon GENERATE_ICON = icons::GENERATE.icon();
128-
// might be needed for graphical setup of tasks
129-
// static const QIcon BOTHWAY_ICON = icons::BOTHWAY.icon();
130128

131129
if (f == InterfaceFlags(CONNECT))
132130
return CONNECT_ICON;

0 commit comments

Comments
 (0)