Replies: 1 comment 6 replies
-
In general when requesting code reviews, I strongly recommend following the standard collaboration procedure of forking the repo and then committing and pushing your changes. That way we can see a nice clean diff of what changes you've made. Some basic instructions on forking and pushing can be found here. Specifically to facilitate a code review, you'll want to commit and push your changes to a branch other than For this matter in particular, there are some fundamental problems with the approach you're trying to take. Tomorrow I'll spend some time making the necessary changes and provide an experimental API that you can plug into. |
Beta Was this translation helpful? Give feedback.
-
Continuation of this closed issue:
#271
@mxgrey
I have done as you advised in the previous comment. Attached is the link to my RequestLift code.
https://drive.google.com/file/d/1EflBWRnEwYIi4QWZ3_ZIjpg9ZWkn7fgx/view?usp=sharing
I am able to "pause" the lift sequence with my while loop, causing the robot to wait for my signal before it ends the lift.
However I face the current warning: [gzserver-10] [WARN] [1612544473.928771614] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic.
And even though the "go" signal is received, the robot is unable to continue its journey, and is stuck at its position.
I have tried placing the line that creates the subscriber: rclcpp::spin(std::make_shared());
in many different places with no success. I can only pause the sequence, but I am unable to resume the sequence.
Any advice? Thanks
Beta Was this translation helpful? Give feedback.
All reactions