This repository has been archived by the owner on Sep 8, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generic Drake/ROS systems + RS Flip Flop example (#6)
* Stub code builds Signed-off-by: Shane Loretz <[email protected]> * Misc fixes to get it to build (but not link) with stub example Signed-off-by: Shane Loretz <[email protected]> * Fix comments on publisher system Signed-off-by: Shane Loretz <[email protected]> * ROS interface implementation fleshed out Signed-off-by: Shane Loretz <[email protected]> * Possible RosInterfaceSystem impl Signed-off-by: Shane Loretz <[email protected]> * Possible RosSubscriberSystem impl Signed-off-by: Shane Loretz <[email protected]> * Possible RosPublisherSystem implementation Signed-off-by: Shane Loretz <[email protected]> * RosPublisherSystem uses separate Serializer interface Signed-off-by: Shane Loretz <[email protected]> * RosSubscriberSystem uses separate Serializer interface Signed-off-by: Shane Loretz <[email protected]> * Add RS-flip-flop example Signed-off-by: Shane Loretz <[email protected]> * Add get_type_support() to SerializerInterface Signed-off-by: Shane Loretz <[email protected]> * Hello world pub example Publisher and ROS interface working, subscriber not yet working. Signed-off-by: Shane Loretz <[email protected]> Signed-off-by: Shane Loretz <[email protected]> * Fix includes for DrakeRosInterface and RosInterfaceSystem Signed-off-by: Shane Loretz <[email protected]> * ROS Subscriber works in Python Signed-off-by: Shane Loretz <[email protected]> * Implement flip-flop example in Python Signed-off-by: Shane Loretz <[email protected]> * Update README for C++ or Python example Signed-off-by: Shane Loretz <[email protected]> * Try more whitespace Signed-off-by: Shane Loretz <[email protected]> * Bullet to numbered list Signed-off-by: Shane Loretz <[email protected]> * Commands to play with the example Signed-off-by: Shane Loretz <[email protected]> * Blank line at EOF Signed-off-by: Shane Loretz <[email protected]> * Add linter tests Signed-off-by: Shane Loretz <[email protected]> * Add LICENSE file and header comments Signed-off-by: Shane Loretz <[email protected]> * Remove unused String import Signed-off-by: Shane Loretz <[email protected]> * Satisfy uncrustify Signed-off-by: Shane Loretz <[email protected]> * Satisfy cpplint Signed-off-by: Shane Loretz <[email protected]> * Custom node name, node opts, and init opts This adds a way to provide the node name and node options, as well as a way to externally manage init/shutdown on a context. If the given node options have a valid context, then DrakeRos won't call init or shutdown on it. In this way external code can pass init options. Signed-off-by: Shane Loretz <[email protected]> Signed-off-by: Shane Loretz <[email protected]> * Add additional publish triggers Signed-off-by: Shane Loretz <[email protected]> * Subscriber already unsubs on destruction Signed-off-by: Shane Loretz <[email protected]> * Allow setting QoS on Python systems Adds half a type caster (Python -> C++) for rclpy.qos.QoSProfile to rclcpp::QoS. Adds QoS arguments to Python publisher and subscriber systems. Updates the Python example to pass QoS. Signed-off-by: Shane Loretz <[email protected]> Signed-off-by: Shane Loretz <[email protected]> * Expose publish triggers to Python systems Signed-off-by: Shane Loretz <[email protected]> * Throw exception if Serialization fails Signed-off-by: Shane Loretz <[email protected]> * Remove obsolete comment Signed-off-by: Shane Loretz <[email protected]> * NodeOptions defaults to global context Signed-off-by: Shane Loretz <[email protected]> * Add integration test Signed-off-by: Shane Loretz <[email protected]> * Add Python integration test Signed-off-by: Shane Loretz <[email protected]> * Remove debug print Signed-off-by: Shane Loretz <[email protected]> * Fix bug where context wasn't being shut down Signed-off-by: Shane Loretz <[email protected]> * Add tests for DrakeRos Signed-off-by: Shane Loretz <[email protected]> * Do more in Python Signed-off-by: Shane Loretz <[email protected]>
- Loading branch information