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

Implement ros2 agnostic storage API #4

Closed
4 tasks done
Karsten1987 opened this issue Jul 12, 2018 · 0 comments
Closed
4 tasks done

Implement ros2 agnostic storage API #4

Karsten1987 opened this issue Jul 12, 2018 · 0 comments

Comments

@Karsten1987
Copy link
Collaborator

Karsten1987 commented Jul 12, 2018

Connects to ros2/ros2#533

The storage API shall be ROS 2 agnostic and only handles the file access to read and write serialized binary code. It shall be able to describe the binary data with enough meta information to restore a complete message out of it.

Todos:

@dirk-thomas dirk-thomas mentioned this issue Jul 12, 2018
4 tasks
Martin-Idel-SI referenced this issue in bosch-io/rosbag2 Sep 4, 2018
- pass a few strings as const reference
- throw error when no topics could be found
Karsten1987 pushed a commit that referenced this issue Sep 4, 2018
* GH-52 Extend db schema to include topic meta data

- Two table db layout (messages and topics)
- Messages table references topics table but without foreign key for
  improved write performance
- Create_topic must be called for every topic prior to storing a
  message of this topic.
- Sqlite_storage caches all known topics
- At least for now the type information is stored as a simple string.

* GH-54 Make first rcl subscription prototype work

* GH-54 find type name from topic

* GH-54 Publish messages from database knowing only topic name and pass topic name by terminal

* GH-54 Refactoring of typesupport helpers

* GH-54 Use c++ typesupport

* GH-54 Use cpp typesupport and rclcpp::Node for publisher

* GH-54 Add raw subscription and use in rosbag_record

* GH-54 Add Rosbag2Node and Rosbag2Publisher classes and use them in Rosbag2::play

* GH-54 Rename Rosbag2Publisher to RawPublisher

* GH-54 Minor refactoring of Rosbag2Node

* GH-54 Extract and test waiting for topic into its own method

* GH-54 Fix read integration tests and linters

* GH-55 Refactor Rosbag2Node::create_raw_publisher()

* GH-54 Add subscription method to rosbag node

* GH-54 Keep subscription alive

* GH-54: Extract subscription to correct class

* GH-55 Change interface of raw_publisher to match subscriber

* GH-54 Add test for rosbag node

* GH-54 Unfriend rclcpp class

* GH-54 Make test more robust

* GH-54 Fix build

* GH-54 Minor cleanup and documentation

* GH-55 Minor refactoring + TODO comment

* GH-54 Change dynamic library folder on Windows

* GH-54 Fix build

* GH-54 Add shutdown to test

* GH-55 Add test helpers methods for usage in multiple tests

* GH-55 Add new method to read all topics and types in BaseReadInterface and use it in Rosbag2::play

* GH-55 Fix gcc and msvc

* GH-54 Rename raw to generic in publisher/subscriber

* GH-55 Check that topic and associated type in bag file are well defined before playing back messages

* GH-54 Prevent unnecessary error message loading storage

* GH-54 Fix memory leak

* GH-54 stabilize node test

* GH-55 Check if database exists when opening storage with READ_ONLY flag

* GH-54 Minor cleanup of subscriber

* GH-54 Wait a small amount of time to let node discover other nodes

* Add logging to false case

* GH-54 Catch exceptions and exit cleanly

* Use rmw_serialized_message_t and rcutils_char_array_t consistently

* GH-4 Refactoring for correctness

- pass a few strings as const reference
- throw error when no topics could be found

* Improve error messages when loading plugins

* alphabetical order

* type_id -> type
Karsten1987 added a commit that referenced this issue Nov 15, 2019
* final reader class

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* adaptations for rosbag2_transport

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* address review comments

Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Karsten1987 added a commit that referenced this issue Nov 16, 2019
* final reader class

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* adaptations for rosbag2_transport

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* address review comments

Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Karsten1987 added a commit that referenced this issue Nov 16, 2019
* final reader class

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* adaptations for rosbag2_transport

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* address review comments

Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Karsten1987 added a commit that referenced this issue Nov 18, 2019
* Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Address commments:
- Rewrite history
- Move sequential reader implementation to header/source
- Change namespaces
- Linting

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Add visiblity control header

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Address structural review feedback

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Remove extraneous newline

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Add new BaseReaderInterface

* Add new reader interface
* Use the interface in sequential reader

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Remove extra newline

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Final reader class implementation (#4)

* final reader class

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* adaptations for rosbag2_transport

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* address review comments

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* Make BaseReaderInterface public

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Rebase on writer changes

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Address commments:
- Rewrite history
- Move sequential reader implementation to header/source
- Change namespaces
- Linting

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Final reader class implementation (#4)

* final reader class

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* adaptations for rosbag2_transport

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* address review comments

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* rebase

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* structurial changes for rosbag2

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* rosbag2_transport adaptations

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* fixes for rebasing

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* pragma for windows

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* remove unused file

Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Karsten1987 added a commit that referenced this issue Nov 18, 2019
* Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Address commments:
- Rewrite history
- Move sequential reader implementation to header/source
- Change namespaces
- Linting

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Add visiblity control header

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Address structural review feedback

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Remove extraneous newline

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Add new BaseReaderInterface

* Add new reader interface
* Use the interface in sequential reader

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Remove extra newline

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Final reader class implementation (#4)

* final reader class

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* adaptations for rosbag2_transport

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* address review comments

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* Make BaseReaderInterface public

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>

* Rebase on writer changes

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

Introduce new SequentialReader interface

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Address commments:
- Rewrite history
- Move sequential reader implementation to header/source
- Change namespaces
- Linting

Signed-off-by: Anas Abou Allaban <allabana@amazon.com>

* Final reader class implementation (#4)

* final reader class

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* adaptations for rosbag2_transport

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* address review comments

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* rebase

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* structurial changes for rosbag2

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* rosbag2_transport adaptations

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* fixes for rebasing

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* pragma for windows

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* remove unused file

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* multifile sequential reader

Signed-off-by: Karsten Knese <karsten@openrobotics.org>
james-rms pushed a commit to james-rms/rosbag2 that referenced this issue Nov 17, 2022
* ci: update ci to use jammy image

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* ci: add workaround for cppcheck

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
james-rms pushed a commit to james-rms/rosbag2 that referenced this issue Nov 17, 2022
* ci: update ci to use jammy image

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>

* ci: add workaround for cppcheck

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: James Smith <james@foxglove.dev>
emersonknapp added a commit that referenced this issue May 14, 2024
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant