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

Added target to isObjectPerceived #10

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

MFernandezCarmona
Copy link
Contributor

Keeps running till the specified target is perceived.

else
{
setOutput("object_id", received_msg_);
return BT::NodeStatus::SUCCESS;
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplicated line



if (received_msg_ == "")
{
Copy link
Contributor

Choose a reason for hiding this comment

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

If you do a colcon test, the linter would make the isolated { in one line

@@ -63,7 +63,7 @@ isObjectPerceived::tick()
//TODO:: make sure that string comparison is right!!!!!!
for (auto edge : edges_by_data)
{
if (target == ros2_knowledge_graph::to_string(edge))
if (target == edge.target_node_id)
Copy link
Contributor

Choose a reason for hiding this comment

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

Lint

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.

2 participants