MuSHR Simulator

October 10, 2020 ยท View on GitHub

Build Status

MuSHR Simulator

The MuSHR simulator is the easiest way to get started with MuSHR. The simulated car can be either controlled via keyboard teleoperation, or by a control algorithm. This simulator is designed to emulate the car's configuration as close as possible to reduce sim-to-real overhead. To do so, many of the hardware components are programmatically simulated (camera is not simulated).

Tutorial

To install/run the simulator see the following tutorial.

API

For adjusting params see config it has the simulated vesc params and also the sensor params for each car. If you don't find the publishers or subscribers you were looking for, they are likely in mushr_base.

Publishers

TopicTypeDescription
/mux/ackermann_cmd_mux/input/teleopackermann_msgs/AckermannDriveStampedPublish teleop controls from keyboard
/mapnav_msgs/OccupancyGridMap from map server
/map_metadatanav_msgs/MapMetaDataMap metadata
/car/scansensor_msgs/LaserScanSimulated laser scan topic

Subscribers

TopicTypeDescription
/tftf2_msgs/TFMessageTransforms for the laserscan
/tf_statictf2_msgs/TFMessageStatic transforms for the laserscan
/car/mux/ackermann_cmd_mux/input/teleopackermann_msgs/AckermannDriveStampedPublish teleop controls from keyboard
/car/mux/ackermann_cmd_mux/input/navigationackermann_msgs/AckermannDriveStampedProgramatic controller input control