Create a new message type called "WheelVel.msg" with the following format. Header header
• Use the previous question solution as the base for your driving the robot. • Write a ROS node to detect an obstacle in
front of the robot using the laser scan data
the node from the previous question in parallel to this new node (i.e., a linear speed of 0.2 m/s is
always being applied).
Step By Step Answers with Explanation
Open a terminal and navigate to your ROS workspace's `src` directory, where you want to create the package "my_husky_yourlastname."
mkdir -p my_husky_yourlastname/msg
3. Edit the CMakeLists.txt and package.xml Files:
Open the "CMakeLists.txt" file located in the "my_husky_yourlastname" package directory and add the following lines to declare the message file:
This command will compile the new message type along with your package.
5. Source Your Workspace: