-
Notifications
You must be signed in to change notification settings - Fork 160
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 support use_sim_time for ros2 topic hz/bw/pub. #754
Conversation
address #752 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@llapx thanks for taking care of this one. this PR is still W.I.P, right? adding node argument does not set simulation time, more implementation required.
I think the current change is intermediate version. |
Hi All, After some more tests, it confirmed that the code work well, in sim_time mode, there's need a |
@llapx thanks for checking, can we add some test for each subcommand? |
OK. |
@Barry-Xu-2018 this is ready for review, can you help? i will do the same. |
Yes. I am reviewing this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some nitpick and TODOs that we can improve.
Thanks for your feedbacks, I will update the code soon. |
@llapx is this still draft? |
I have update the code, but some testcase will failed in jenkins, (my local test is OK), I'm finding the reason. |
Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com>
Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com>
Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com>
I found that most failed test cases not related to this PR, can anyone help to resolve this issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall lgtm, minor comments.
@llapx i will start CI after my comments are resolved. thanks! |
Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with my comments addressed.
Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com>
Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com>
The warning message reported by flake8, @llapx, could you check it?
|
Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com>
Updated. |
@wjwwood can you do final review? |
Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com>
Do we want backport this to humble? it extends sub-options. @clalancette |
To put this in, we'll also have to put in #581 . I have a minor concern that doing the Regardless, I think we should let this sit in Rolling for a bit before we backport it, just to see if anyone runs into issues. |
@clalancette can we add these feature to humble? dependent PR has been already in humble, i think this is useful (almost mandatory) for user development. what would you think? |
@clalancette friendly ping. |
@Mergifyio backport humble |
* Add support use_sim_time for ros2 topic hz/bw/pub. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Add testcase. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Update code. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Update code again. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Add warning log. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Revert STEADY_TIME. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Fix flake8 warnings. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Update code. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com>
* Add support use_sim_time for ros2 topic hz/bw/pub. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Add testcase. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Update code. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Update code again. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Add warning log. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Revert STEADY_TIME. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Fix flake8 warnings. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Update code. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
I am not sure why @Mergifyio does not work at this moment, create backport for humble #777 |
Yeah that's weird, it gave the 👍 like it noticed... |
* Add support use_sim_time for ros2 topic hz/bw/pub. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Add testcase. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Update code. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Update code again. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Add warning log. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Revert STEADY_TIME. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Fix flake8 warnings. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> * Update code. Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Signed-off-by: Lei Liu <Lei.Liu.AP@sony.com> Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> Co-authored-by: Lei Liu <64953129+llapx@users.noreply.github.com>
Hey @llapx @fujitatomoya. This PR added Log output:
It's failing on this line of code. What do you think about this problem? Maybe we could increase the timeout in the test?
|
yeah i do think so, comparing to other places, timeout could be too short. |
Signed-off-by: Lei Liu Lei.Liu.AP@sony.com