Control the Robot
The simulated robot can be controlled using joint trajectory controller. The controller is enabled by default when you launch the Gazebo simulator, and it provides action interface and topic interface to control the robot. Both interfaces use trajectory_msgs/JointTrajectory message to define the trajectory. However, the action interface has an added advantage of getting a feedback from the robot and modifying the goal in between the robot motion.