Skip to content

Conversation

@bjoernschroeder
Copy link
Collaborator

@bjoernschroeder bjoernschroeder commented Jun 9, 2023

Share PML files and implementation for plans between ros1 and ros2 turtlesim. This PR only includes changes for ros1.

  • Turtlesim is moved to the folder supplementary/alica_ros_turtlesim/
  • alica_turtlesim contains shared PML files, configs and includes
  • libalica-trutrlesim contains plan and behaviour implementations shared by ros1 and ros2
  • ros1 contains ros specific implementations like base_app, launch files and behaviours using ros elements

ros2 PR: #505

@bjoernschroeder bjoernschroeder added the Improved Improve or expand existing feature label Jun 12, 2023
@bjoernschroeder bjoernschroeder marked this pull request as ready for review July 20, 2023 07:03
@bjoernschroeder bjoernschroeder requested review from a team and veerajsk July 20, 2023 09:38
@@ -0,0 +1,43 @@
#include "WaitForTrigger.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

How is this different than WaitForMsg?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

WaitForTrigger waits for an empty msg and then succeeds, WaitForMsg waits for a String msg, stores it on the blackboard and then succeeds. I removed it from the lib so we only have it in the ros1 / ros2 folders with their ros specific implementations

@bjoernschroeder bjoernschroeder mentioned this pull request Jul 27, 2023
@bjoernschroeder bjoernschroeder requested a review from a team August 2, 2023 07:48
setSuccess();
} else {
Logging::logWarn("SpawnTurtle") << "Failed to spawn " << name << ". Succeeding anyway";
setSuccess();
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we set success here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Usually when spawning a turtle fails the turtle is already spawned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improved Improve or expand existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants