Skip to content

Clarify tutorial creates a new msg type#294

Merged
ralph-lange merged 1 commit into
micro-ROS:masterfrom
gavanderhoorn:patch-2
Mar 22, 2021
Merged

Clarify tutorial creates a new msg type#294
ralph-lange merged 1 commit into
micro-ROS:masterfrom
gavanderhoorn:patch-2

Conversation

@gavanderhoorn
Copy link
Copy Markdown
Contributor

I realise there are more things to change to fully implement this change, but I wanted to first ask whether the suggestion makes sense.

"create a micro-ROS type" sounded like support for a new board was being added, or something else which was "a micro-ROS type".

From the tutorial it appears a custom message is created and a package to host it, which is then added to the micro-ROS build and eventually built.

Is this correct?

Instead of something else
@pablogs9
Copy link
Copy Markdown
Member

Any ideas @ralph-lange, @FranFin ?

@ralph-lange
Copy link
Copy Markdown
Contributor

Yes, 'message type' is used commonly as generic term for message types, services types, and action types together. In this context, I typically speak of 'custom message types'. Therefore, I propose to rename the tutorial even to 'How to create custom message types for micro-ROS?' or just 'Custom message types with micro-ROS'.

@gavanderhoorn
Copy link
Copy Markdown
Contributor Author

gavanderhoorn commented Mar 15, 2021

Therefore, I propose to rename the tutorial even to 'How to create custom message types for micro-ROS?' or just 'Custom message types with micro-ROS'

that was going to be my suggestion as well.

But I first wanted to make sure I understood the tutorial correctly.

Perhaps "Adding support for custom ROS message types to micro-ROS" would be even more accurate.

Comment thread _docs/tutorials/core/create_new_type/index.md
Comment thread _docs/tutorials/core/create_new_type/index.md
@pablogs9 pablogs9 requested a review from FranFin March 16, 2021 06:22
Copy link
Copy Markdown
Contributor

@FranFin FranFin left a comment

Choose a reason for hiding this comment

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

@@ -1,5 +1,5 @@
---
title: How to create a new micro-ROS type
title: How to create a new micro-ROS message type
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.

Suggested change
title: How to create a new micro-ROS message type
title: How to add support for custom ROS message types to micro-ROS

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.

ok

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This seems similar to my suggestion, which @ralph-lange wasn't happy with.

Perhaps "Including a custom ROS message in micro-ROS"?

That doesn't imply special support is needed (although I believe with the way ROS 2 and micro-ROS work, it is actually almost like adding support), and does seem to communicate that those are the steps you'd need to get your own custom messages (or someone else's) included in your local micro-ROS build.

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.

I like you proposal, @gavanderhoorn! It is short, precise and already implies in the title that the procedure is similar to that for custom message types in normal ROS 2.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok, so here it is as a suggestion:

Suggested change
title: How to create a new micro-ROS message type
title: Including a custom ROS message in micro-ROS

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Only thing is, it doesn't mention services nor actions, so I could see some users getting confused when reading this, but not sure we can help that other than making it clear in the tutorial text itself this is the procedure to follow for those as well.

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.

I'm ok with @gavanderhoorn suggestion. I assume that @ralph-lange also is. Please @FranFin commit and merge if you are ok.

@gavanderhoorn
Copy link
Copy Markdown
Contributor Author

Friendly ping.

@ralph-lange ralph-lange merged commit fbb1cff into micro-ROS:master Mar 22, 2021
@gavanderhoorn gavanderhoorn deleted the patch-2 branch March 22, 2021 08:36
@gavanderhoorn
Copy link
Copy Markdown
Contributor Author

Just checked the new site: were the changes in this PR reverted or did some branches work on the same files without those changes getting integrated? The current site seems to show the old title still.

@FranFin
Copy link
Copy Markdown
Contributor

FranFin commented Mar 31, 2021

I think that the merged commit was not the one containing the final title proposal. What do you think about this #302? @gavanderhoorn @ralph-lange @pablogs9

@ralph-lange
Copy link
Copy Markdown
Contributor

#302 looks good to me!

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.

4 participants