Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dnae adas/serialized ipm #973

Open
wants to merge 45 commits into
base: rolling
Choose a base branch
from

Commits on Apr 17, 2020

  1. added "SerializationBase" and "Serialization" to convert a ROS2 messa…

    …ge to rcl_serialized_message_t and vice versa
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    9b73845 View commit details
    Browse the repository at this point in the history
  2. added "SerializedContainer" as container of rcl_serialized_message_t,…

    … for addind a deleter to ease up memory handling
    
    further features:
     * copy constructor (allowing static memory allocation, e.g. if for static memory allocation in device driver)
     * destructor
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    c8162ba View commit details
    Browse the repository at this point in the history
  3. extended "IntraProcessManager" for serialized messages:

     * added flag for serialized communication
     * check for flag in "can_communicate"
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    f3aab4f View commit details
    Browse the repository at this point in the history
  4. extended "SubscriptionIntraProcess" for serialized communication by:

     * distinguish between content type and callback type
     * use "SerializedContainer" for serialized messages for memory deletion
     * added specialized methods for combinations of (un)serialized content/callback
     * automatically (de)serialize messages
     * allowed communication types are now (MessageT==CallbackMessageT || MessageT==SerializedContainer || CallbackMessageT==rcl_serialized_message_t)
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    9f1c10f View commit details
    Browse the repository at this point in the history
  5. added secon communication channel for intra process communication for…

    … serialized communication in publisher base and subscriber base (adapted waitables)
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    a300c2f View commit details
    Browse the repository at this point in the history
  6. extended "Publisher" for serialized messages:

     * implemented second communication channel for serialized intra process messages
    extended "Publisher" for serialized messages:
     * pass message type by argument
     * added constructor for backwards compatibility (moved common code in separate methods "init_setup")
     * added allocator for serialized messages
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    86bd3a3 View commit details
    Browse the repository at this point in the history
  7. extended "Publisher" for serialized messages:

     * implemented second communication channel for serialized intra process messages
     * extend publish to handle "rcl_serialized_message_t"
     * changed behaviour of serialized message publishing by taking ownership of message (for deletion)
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    9d7ef52 View commit details
    Browse the repository at this point in the history
  8. updated "LifcecylePublisher" for serialized messages

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    c8522b3 View commit details
    Browse the repository at this point in the history
  9. extended "create_publisher" and "create_publisher_factory" to pass me…

    …ssage type
    
     * backwards compatible
     * allows creation of publisher with type "rcl_serialized_message_t"
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    29fea92 View commit details
    Browse the repository at this point in the history
  10. extended "Subscription" for serialized messages:

     * implemented second communication channel for serialized intra process messages
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    f9ef2c2 View commit details
    Browse the repository at this point in the history
  11. extended "create_subscription" and "create_subscriptioncreate_publish…

    …er_factory" to pass message type
    
     * backwards compatible
     * allows creation of publisher with type "rcl_serialized_message_t"
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    56b520e View commit details
    Browse the repository at this point in the history
  12. added unit test for serialized intra process communication

     * test memory (de)allocation
     * test communication channels between serialized and unserialized content
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    0292142 View commit details
    Browse the repository at this point in the history
  13. changed include notation

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    5faf8f4 View commit details
    Browse the repository at this point in the history
  14. beautified error output

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    a3db006 View commit details
    Browse the repository at this point in the history
  15. changed timing

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    d7a84ea View commit details
    Browse the repository at this point in the history
  16. * fixed code style

    * updated error messages
    * added const modifier
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    af14ee7 View commit details
    Browse the repository at this point in the history
  17. updated test_intra_process_communication:

     * fixed allocation counter
     * updated data type naming
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    0c83e49 View commit details
    Browse the repository at this point in the history
  18. uncrustified file

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    bc228ee View commit details
    Browse the repository at this point in the history
  19. fixed code style

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    4c80594 View commit details
    Browse the repository at this point in the history
  20. added missing member from rebase

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    2ddbe32 View commit details
    Browse the repository at this point in the history
  21. removed unnecessary dependency

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    4e1e744 View commit details
    Browse the repository at this point in the history
  22. adapted to multi waitables for ipm

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    d8f1da9 View commit details
    Browse the repository at this point in the history
  23. removed unnecessary include

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    d74c4ed View commit details
    Browse the repository at this point in the history
  24. updated to rclcpp::ok

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    d4536b3 View commit details
    Browse the repository at this point in the history
  25. Update rclcpp/include/rclcpp/experimental/subscription_intra_process.hpp

    Co-Authored-By: Karsten Knese <Karsten1987@users.noreply.github.com>
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    DensoADAS and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    7cff1aa View commit details
    Browse the repository at this point in the history
  26. Update rclcpp/include/rclcpp/experimental/subscription_intra_process.hpp

    Co-Authored-By: Karsten Knese <Karsten1987@users.noreply.github.com>
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    DensoADAS and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    657d9a0 View commit details
    Browse the repository at this point in the history
  27. * default deleter

    * initiazlize variables
    
    Co-Authored-By: Karsten Knese <Karsten1987@users.noreply.github.com>
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    9b65b7c View commit details
    Browse the repository at this point in the history
  28. changes due to review of PR

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    18181f5 View commit details
    Browse the repository at this point in the history
  29. uncrustify

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    4c7506f View commit details
    Browse the repository at this point in the history
  30. added backwards compatibility for publishing serialized messages

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    2cefdca View commit details
    Browse the repository at this point in the history
  31. initializing variables

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    2147026 View commit details
    Browse the repository at this point in the history
  32. fix include guards

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Fabian König authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    9b436fa View commit details
    Browse the repository at this point in the history
  33. enabled publishing of rcl_serialized_message_t

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    a2fc8bd View commit details
    Browse the repository at this point in the history
  34. moved serialization and serialized message out of "experimental"

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    b482164 View commit details
    Browse the repository at this point in the history
  35. added original constructor to LifcyclePublisher

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    93dc826 View commit details
    Browse the repository at this point in the history
  36. fixed year in header

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    35fd490 View commit details
    Browse the repository at this point in the history
  37. added comment

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    5472d36 View commit details
    Browse the repository at this point in the history
  38. updated loop signature

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    ab73a62 View commit details
    Browse the repository at this point in the history
  39. fixed memory loss

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    4fa5f09 View commit details
    Browse the repository at this point in the history
  40. reuse constructor

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    ff7a81f View commit details
    Browse the repository at this point in the history
  41. renamed variable

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    408343f View commit details
    Browse the repository at this point in the history
  42. fixed check

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    511476c View commit details
    Browse the repository at this point in the history
  43. line break

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    1f8226a View commit details
    Browse the repository at this point in the history
  44. fixed include order

    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp authored and Karsten1987 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    2411642 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2020

  1. renamed overloaded functions:

     * create_publisher to create_generic_publisher
     * create_subscription to create_generic_subscription
    
    Signed-off-by: Joshua Hampp <j.hampp@denso-adas.de>
    Joshua Hampp committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    43a8446 View commit details
    Browse the repository at this point in the history