Skip to content

Commit

Permalink
remove k
Browse files Browse the repository at this point in the history
  • Loading branch information
iche033 committed Feb 14, 2017
1 parent 85775f0 commit 202109d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (NOT CMAKE_BUILD_TYPE)
message(STATUS "Build type not selected: Release selected by default")
endif (NOT CMAKE_BUILD_TYPE)

find_package(gazebo 8 REQUIRED)
find_package(gazebo REQUIRED)

include(GNUInstallDirs)

Expand Down
7 changes: 0 additions & 7 deletions plugins/PriusHybridPlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -853,13 +853,6 @@ void PriusHybridPlugin::KeyControlTypeB(const int _key)
/////////////////////////////////////////////////
void PriusHybridPlugin::KeyControl(const int _key)
{
// k
if (_key == 75 || _key == 107)
{
this->dataPtr->keyControl = !this->dataPtr->keyControl;
return;
}

if (this->dataPtr->keyControl == 0)
this->KeyControlTypeA(_key);
else if (this->dataPtr->keyControl == 1)
Expand Down

0 comments on commit 202109d

Please sign in to comment.