Skip to content

Node status executable#153

Open
MaybeWilli wants to merge 3 commits into
mainfrom
WF-node-status
Open

Node status executable#153
MaybeWilli wants to merge 3 commits into
mainfrom
WF-node-status

Conversation

@MaybeWilli

Copy link
Copy Markdown
Contributor

Node status node for node status panel. Needs to probably be launched somewhere automatically.

@codeflight1 codeflight1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, thanks! Can you add this to src/Bringup/launch/core.launch.py?

this->create_publisher<std_msgs::msg::String>("/system/nodes", qos);

timer_ = this->create_wall_timer(
std::chrono::seconds(1),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make the frequency configurable through a parameter

json << "{\"nodes\": [";

for (size_t i = 0; i < nodes.size(); ++i) {
json << "\"" << nodes[i] << "\"";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why are we doing json over a custom ros2 message that is a list of strings?

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.

3 participants