Skip to content

Commit 003b95e

Browse files
committed
Bugfix: KukaLLBRiiwaVrepPlugin moves arm in JAVA simulation again. Arm wouldn't move because kukaFRIThreadSeparatorP wasn't running.
1 parent aba9188 commit 003b95e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/grl/vrep/KukaLBRiiwaVrepPlugin.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ KukaVrepPlugin (Params params = defaultParams())
136136
{
137137
/// @todo figure out how to re-enable when .so isn't loaded
138138
// initHandles();
139-
if( boost::iequals(std::get<KukaCommandMode>(params_),std::string("FRI_ASYNC")))
139+
if( boost::iequals(std::get<KukaCommandMode>(params_),std::string("FRI_ASYNC")) ||
140+
boost::iequals(std::get<KukaCommandMode>(params_),std::string("JAVA"))
141+
)
140142
{
141143
kukaFRIThreadSeparatorP.reset(
142144
new grl::KukaFRIThreadSeparator(

0 commit comments

Comments
 (0)