Description
Topics : Messages
● Create a new custom message “Age.msg”. The Age.msg file must contain this:
float32 years float32 months float32 days
Create a publisher to publish random data in this message. Now create a Node to subscribe to this data and change the years value in the message as 20 and republish to another topic. And finally a third node to subscribe to the new topic with modified Age.
Your Code:
● Create a launch file that launches the above three nodes Your Code:
Reviews
There are no reviews yet.