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

add spin_node_once() #45

Merged
merged 1 commit into from
Jun 22, 2015
Merged

add spin_node_once() #45

merged 1 commit into from
Jun 22, 2015

Conversation

dirk-thomas
Copy link
Member

Is being used by ros2/ros1_bridge#1.

Please review.

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Jun 22, 2015
@dirk-thomas dirk-thomas self-assigned this Jun 22, 2015
@wjwwood
Copy link
Member

wjwwood commented Jun 22, 2015

Should this function take a blocking boolean? It could be passed to get_next_executable. Otherwise I think it might be more like try_spin_once.

Either way looks good to me.

@esteve
Copy link
Member

esteve commented Jun 22, 2015

+1

@dirk-thomas
Copy link
Member Author

I updated the signature of spin_node_once to take an option argument: nonblocking = false

@wjwwood
Copy link
Member

wjwwood commented Jun 22, 2015

+1

1 similar comment
@tfoote
Copy link
Contributor

tfoote commented Jun 22, 2015

+1

dirk-thomas added a commit that referenced this pull request Jun 22, 2015
@dirk-thomas dirk-thomas merged commit 5d0241a into master Jun 22, 2015
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Jun 22, 2015
@dirk-thomas dirk-thomas deleted the spin_once branch June 22, 2015 23:21
mauropasse pushed a commit to mauropasse/rclcpp that referenced this pull request Feb 26, 2021
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
* Add tests for rcl_wait and fix for timers
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
* Display bag summary using `ros2 bag info`

* Improve process execution helper to handle the working directory

* Use metadata filename in sqlite storage to determine database name

* ros2GH-109 Write metadata file on Windows by hand

- On Windows, the process is killed hard and thus does
  not write its metadata file
- Since this is an issue with the test setup that seems
  very hard to fix, for now we just write the metadata
  file on our own

* Remove empty bag folder if record gets aborted and no files are created

- For example is neither --all nor topics are specified or if a non exsisting storage plugin is specified

* Fail gracefully if a runtime error occurs when trying to record or play

- For example if the storage plugin specified by the user at record does not exist

* Log error in case of failing when loading metadata, and minor refactoring

* Add comment to version field

* Allow rosbag2 info without yaml file

Currently only supported on rosbag2 side:
- Allow passing a storage identifier to rosbag2::Info()
- If a yaml file exists, read info from yaml
- If no yaml file exists and a storage identifier was passed
  open storage and read info directly

* ros2GH-7 Don't try to read database name from metadata file when opening with ReadWrite io_flag

- This avoids the logging of a 'failed to read metadata' error when recording a new bag

* ros2GH-7 Rename 'storage format' into 'serialization format'

-In this way it is not confused with the storage id (e.g. sqlite3)

* ros2GH-7 Improve failure conditions

* ros2GH-7 Cleanup of superfluous forward declarations

* ros2GH-7 Further improve exception handling
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.

4 participants