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

Trigger delay #817

Merged
merged 5 commits into from
May 14, 2021
Merged

Trigger delay #817

merged 5 commits into from
May 14, 2021

Conversation

nkoenig
Copy link
Contributor

@nkoenig nkoenig commented May 13, 2021

🎉 New feature

Summary

Adds an optional delay to the TriggeredPublisher system.

Test it

Use the provided triggered_publisher.sdf world, which now causes the second box to fall after a 5s delay.

ign gazebo -v 4 triggered_publisher.sdf
ign topic -t "/start" -m ignition.msgs.Empty -p " "

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Nate Koenig added 4 commits April 22, 2021 14:06
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Signed-off-by: Nate Koenig <nate@openrobotics.org>
@nkoenig nkoenig requested a review from iche033 May 13, 2021 17:56
@nkoenig nkoenig requested a review from chapulina as a code owner May 13, 2021 17:56
@github-actions github-actions bot added the 🔮 dome Ignition Dome label May 13, 2021
Copy link
Contributor

@iche033 iche033 left a comment

Choose a reason for hiding this comment

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

looks good to me. Just a couple of minor comments.

Also retriggered ABI build: https://build.osrfoundation.org/job/ignition_gazebo-abichecker-any_to_any-ubuntu_auto-amd64/3593 but I dont' expect this to cause any ABI issues

examples/worlds/triggered_publisher.sdf Outdated Show resolved Hide resolved
src/systems/triggered_publisher/TriggeredPublisher.cc Outdated Show resolved Hide resolved
Signed-off-by: Nate Koenig <nate@openrobotics.org>
@nkoenig nkoenig merged commit 86fe608 into ign-gazebo4 May 14, 2021
@nkoenig nkoenig deleted the trigger_delay branch May 14, 2021 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 dome Ignition Dome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants