Skip to content

Commit d134bc5

Browse files
DaikiMaekawarhaschke
authored andcommitted
Add shortcut "C" to the Publish Point tool (#1321)
1 parent 0aba661 commit d134bc5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

help/help.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ <h3>Switching between tools</h3>
4242
<td class="key">P</td>
4343
<td>Switch to the 2D Pose Estimate tool.</td>
4444
</tr>
45+
<tr class="even">
46+
<td class="key">C</td>
47+
<td>Switch to the Publish Point tool.</td>
48+
</tr>
4549
</table>
4650
</p>
4751

src/rviz/default_plugin/tools/point_tool.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ namespace rviz
5252
PointTool::PointTool()
5353
: Tool()
5454
{
55+
shortcut_key_ = 'c';
56+
5557
topic_property_ = new StringProperty( "Topic", "/clicked_point",
5658
"The topic on which to publish points.",
5759
getPropertyContainer(), SLOT( updateTopic() ), this );

0 commit comments

Comments
 (0)