ros-drivers / rosserial

A ROS client library for small, embedded devices, such as Arduino. See: http://wiki.ros.org/rosserial
508 stars 526 forks source link

Add gtest code for rosserive client #452

Closed tongtybj closed 3 years ago

tongtybj commented 4 years ago

@mikepurvis

This PR is also related to #450 , which the embedded Python API can not find rosserial_arduino

Two types of rosserivce are tested in this PR:

  1. rosserial_arduino/Test: rosserial_test/src/service_client.cpp
  2. std_srvs/Empty: rosserial_test/src/service_client2.cpp

It is very interesting that Travis gave the same result with my personal environment, that is, the embedded Python API can not find rosserial_arduino. On the other hand, the non-embedded Python (e.g., $rosrun rosserial_python serial_node.py) can find it: