Is there a way to generade code through motion simulation?
Hey guys,
I'm pretty new to ROS and software engineering in general. Right now i'm looking for an easy way to make a Turtlebot3 move in a straight line. There are many simulation packages, but so far i haven't found a way to put all of it into the real world. Even after daylong research. Do you have any suggestions how i can implement the simulation into a real world movement?
Thanks for your help
I'm using ROS2 Foxy on a turtlebot3. I'm runnning on Windows 10.
Asked by JanRob on 2021-11-10 04:23:34 UTC
Answers
Driving in a "straight" line with a turtlebot3 should be more or less the same in simulation and in hardware from the "operator's" perspective. Read the turtlebot3 e-manual for instructions on basic operation.
The easiest way to drive in a straight line is to publish to the cmd_vel
topic with a positive x velocity. Both the simulated turtlebot and physical turtlebot monitor the same cmd_vel
topic and will respond very similarly.
Not sure what else you mean by "implement the simulation into a real world movement".
Asked by shonigmann on 2021-11-10 12:26:39 UTC
Comments
Perhaps the OP is asking for "robot program generation" functionality, similar to what can be found in typical off-line robot programming environments such as RobotStudio, Roboguide, etc.
Asked by gvdhoorn on 2021-11-10 12:31:41 UTC
Comments