Adding dynamic obstacles in Stage
I have attempted two ways to add a dynamic obstacle neither of which have worked:
I added a simple model and added a velocity attribute to it which should give it an initial velocity as mentioned here. But for some reason that I have not understood, this method is not working.
I added another position model (thus making it two robots in my simulation) so that I can try to pass messages to my dynamic obstacle through the robot_1/cmd_vel topic. After debugging the many tf errors that come I have finally got rid of errors in rviz. However the obstacles are not visible in rviz even though they are visible in Stage. Not sure how to solve this error either.
Any help will be highly appreciated. If you require any additional information to help understand the problem then I can add them at the earliest.