Skip to content

Commit da5ece7

Browse files
committed
fri 2.x support
1 parent 971eac1 commit da5ece7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lbr_fri_ros2/test/test_command_interfaces.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,12 @@ class TestCommandInterfaces : public ::testing::Test {
135135
};
136136

137137
TEST_F(TestCommandInterfaces, TestPositionCommandInterface) {
138+
#if FRICLIENT_VERSION_MAJOR == 1
138139
set_up(KUKA::FRI::EClientCommandMode::POSITION);
140+
#endif
141+
#if FRICLIENT_VERSION_MAJOR == 2
142+
set_up(KUKA::FRI::EClientCommandMode::JOINT_POSITION);
143+
#endif
139144
test_simple();
140145
}
141146

0 commit comments

Comments
 (0)