how to convert from laserscan msgs to sonar msgs ?
I am subscribing the laser scan msgs and I want to publish a sonar msgs. I wrote the code for publishing the sonar msg but I didnt know how to subscribe for the laser scan msgs and convert it to sonar msgs.
NOTE: I am new in ROS