Skip to content
Snippets Groups Projects
Commit 2e014fbc authored by Markus Grotz's avatar Markus Grotz
Browse files

fix GamepadControlUnit

parent 400cee73
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ namespace armarx
void GamepadControlUnit::reportGamepadState(const std::string& device, const std::string& name, const GamepadData& data, const TimestampBasePtr& timestamp, const Ice::Current& c)
{
if (data.leftTrigger)
if (data.leftTrigger > 0)
{
emergencyStop->setEmergencyStopState(EmergencyStopState::eEmergencyStopActive);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment