Skip to content

Commit e5dfb25

Browse files
committed
rviz_plugin_tutorials: more comments
1 parent 1ce10de commit e5dfb25

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rviz_plugin_tutorials/src/drive_widget.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ namespace rviz_plugin_tutorials
3636

3737
// DriveWidget implements a control which translates mouse Y values
3838
// into linear velocities and mouse X values into angular velocities.
39+
//
40+
// For maximum reusability, this class is only responsible for user
41+
// interaction and display inside its widget. It does not make any
42+
// ROS or RViz calls. It communicates its data to the outside just
43+
// via Qt signals.
3944
class DriveWidget: public QWidget
4045
{
4146
Q_OBJECT

0 commit comments

Comments
 (0)