Skip to content

Commit 7a1a3ce

Browse files
authored
Use Fibonacci from example_interfaces (#97)
1 parent 338ea66 commit 7a1a3ce

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

joy_teleop/package.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<exec_depend>trajectory_msgs</exec_depend>
1818
<exec_depend>rosidl_runtime_py</exec_depend>
1919

20-
<test_depend>action_tutorials_interfaces</test_depend>
2120
<test_depend>ament_copyright</test_depend>
2221
<test_depend>ament_flake8</test_depend>
2322
<test_depend>ament_pep257</test_depend>

joy_teleop/test/test_get_interface_type.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3333
# POSSIBILITY OF SUCH DAMAGE.
3434

35-
import action_tutorials_interfaces.action
35+
from example_interfaces.action import Fibonacci
3636
from joy_teleop.joy_teleop import get_interface_type
3737
from joy_teleop.joy_teleop import JoyTeleopException
3838

@@ -55,9 +55,9 @@ def test_service():
5555

5656

5757
def test_action():
58-
interface_type = get_interface_type('action_tutorials_interfaces/action/Fibonacci', 'action')
58+
interface_type = get_interface_type('example_interfaces/action/Fibonacci', 'action')
5959
action = interface_type.Goal()
60-
assert isinstance(action, action_tutorials_interfaces.action.Fibonacci.Goal)
60+
assert isinstance(action, Fibonacci.Goal)
6161

6262

6363
def test_bad_message():

0 commit comments

Comments
 (0)