<> {{attachment:Logo-white-medium.jpg||width="333",height="200"}} <> ## AUTOGENERATED DON'T DELETE ## CategoryPackage == Description == The asr_mild_base_fake_driving package provides a simulation system for the robot driving. It simulates the desired driven way which is calculated by the navigation. == Functionality == For the simulation we no longer have sensor messages from the wheels of the robot and therefore the messages needed for the direct kinematics are replaced with virtual messages generated by transforming the movement commands from the local planer into odometry messages (fake odometry). The localization is therefore no longer needed and is replaced by a fake, static one. The received cmd_vel message from the navigation is transformed into a movement. This movement is published on the odom topic. So the navigation (or other components) thinks a robot drives as it was planned. {{attachment:simulation.png||width="585",height="383"}} == Usage == === Start system === Look at [[asr_mild_navigation]] on how to start the simulated navigation with fake driving,. All simulation launch files use the fake driving. For example: {{{ roslaunch asr_mild_navigation simulation_manual_rearranged.launch }}} OR Start only the fake driving: {{{ rosrun asr_mild_base_fake_driving asr_mild_base_fake_driving }}} == ROS Nodes == === Subscribed Topics === cmd_vel ( [[http://docs.ros.org/api/geometry_msgs/html/msg/Twist.html|geometry_msgs/Twist]]) * A stream of velocity commands from the move_base package. === Published Topics === odom ( [[http://docs.ros.org/api/nav_msgs/html/msg/Odometry.html|nav_msgs/Odometry]]) * Odometry information that gives the navigation the current speed and the actual position of the robot.