ros-drivers / transport_drivers

A set of ROS2 drivers for transport-layer protocols.
Apache License 2.0
93 stars 56 forks source link

Support serial_break #76

Closed RFRIEDM-Trimble closed 2 years ago

RFRIEDM-Trimble commented 2 years ago

Closes #75

RFRIEDM-Trimble commented 2 years ago

When running unit tests according to the instructions, they are failing. Not sure if it's due to my code.

root@rfriedm-us-ll6:~/tas-ros2-system# colcon test --packages-up-to serial_driver
Starting >>> asio_cmake_module
Finished <<< asio_cmake_module [1.52s]          
Starting >>> io_context
--- stderr: io_context                   
Errors while running CTest
---
Finished <<< io_context [2.72s] [ with test failures ]
Starting >>> serial_driver
--- stderr: serial_driver                   
Errors while running CTest
---
Finished <<< serial_driver [3.68s]  [ with test failures ]

After digging into it, was likely tabs/spaces editor config that's fixed with uncrusitry. Now:

9: No code style divergence in file 'include/serial_driver/serial_port.hpp'
9: No code style divergence in file 'src/serial_port.cpp'

There are also unrelated failures in linting.