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

Sync parameter events callbacks #50

Merged
merged 1 commit into from
Jun 26, 2015
Merged

Conversation

esteve
Copy link
Member

@esteve esteve commented Jun 25, 2015

Adds support for on_parameter_event to the SyncParametersClient

Connects to #49

@esteve esteve added the in progress Actively being worked on (Kanban column) label Jun 25, 2015
@esteve
Copy link
Member Author

esteve commented Jun 25, 2015

Do not review yet.

@esteve esteve force-pushed the sync-parameter-events-callbacks branch from 3086f8d to 558acd9 Compare June 25, 2015 23:02
@esteve
Copy link
Member Author

esteve commented Jun 25, 2015

This is now ready for review.

@esteve
Copy link
Member Author

esteve commented Jun 25, 2015

Linux buildfarm:

http://ci.ros2.org/job/ros2_batch_ci_linux/10/

typename rclcpp::subscription::Subscription<rcl_interfaces::msg::ParameterEvent>::SharedPtr
on_parameter_event(FunctorT & callback)
{
// TODO(esteve): remove hardcoded values
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this comment mean?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Byproduct of copy/paste. Fixed.

@wjwwood
Copy link
Member

wjwwood commented Jun 25, 2015

lgtm other than the comment about the comment.

@dirk-thomas
Copy link
Member

lgtm

@esteve esteve force-pushed the sync-parameter-events-callbacks branch from 5f5f8c0 to 1bb6ca2 Compare June 25, 2015 23:29
@tfoote
Copy link
Contributor

tfoote commented Jun 25, 2015

+1

1 similar comment
@jacquelinekay
Copy link
Contributor

+1

@esteve esteve force-pushed the sync-parameter-events-callbacks branch from 1bb6ca2 to 2917aed Compare June 26, 2015 17:28
esteve added a commit that referenced this pull request Jun 26, 2015
Add support for on_parameter_event to the SyncParametersClient
@esteve esteve merged commit 5baa519 into master Jun 26, 2015
@esteve esteve removed the in progress Actively being worked on (Kanban column) label Jun 26, 2015
@esteve esteve deleted the sync-parameter-events-callbacks branch June 26, 2015 17:29
mauropasse pushed a commit to mauropasse/rclcpp that referenced this pull request Mar 11, 2021
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
* Adapt new interface

* Try to write and read rcutils_char_array_t BLOBs in sqlite

* Add simple test for arbitrary char ptr

* Refactor SqliteWrapper and add tests

* Write and read actual timestamp from serialized message and add relative tests

* Add SqliteStatementWrapper class and refactor SqliteStorage and SqliteWrapper

* Refactor test fixture

* ros2GH-50 Assert message content in write_integration_test, and remove TODOs

* ros2GH-50 Remove sqlite_storage_plugin unit tests

* ros2GH-50 Refactor SqliteStatements and SqliteStorage

* ros2GH-50 Fix build after rebase

* ros2GH-50 Make has_next() method no more const

* ros2GH-52 Extend statement wrapper with a generic bind

* ros2GH-50 Refactor after rebase

* ros2GH-59 cleanup db interface

- Remove virtual on methods as this was added only for unit tests. We
  decided to use only integration tests for the sqlite plugins.
- Changes semantics of SqliteStatement: represents always a prepared
  statement if not null.
- Ensures that a SqliteStatementWrapper cannot be copied and does not
  publicly expose its sqlite_stmt as this would cause memory corruption.

* ros2GH-59 Introduce general read interface for sqlite statements

- Uses a std::tuple for row data
- Exposes an iterator interface for the query result

* ros2GH-59 Cleanup: remove unused files

* ros2GH-59 make sqlite interface fluent

* ros2GH-59 move creation of serialized message to rosbag2_storage

This is not storage plugin specific but will be needed by most (if
not all) plugins.

* Change rcutil_char_array_t to rmw_serialized_message_t in subscriber

* Remove debugging output in test
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

Successfully merging this pull request may close these issues.

None yet

5 participants