Project

General

Profile

Revision 9b3564f3

ID9b3564f3c7c83a634560abd548e30abb61798d4f

Added by Alex Zirbel about 7 years ago

Sonar prototypes in scoutsim package.

View differences:

scout/scoutsim/src/scout.cpp
156 156
        return true;
157 157
    }
158 158

  
159
    void Scout::update(double dt, wxMemoryDC& path_dc,
160
                        const wxImage& path_image, wxColour background_color,
161
                        float canvas_width, float canvas_height)
159
    /// Sends back the position of this scout so scoutsim can save
160
    /// the world state
161
    geometry_msgs::Pose2D Scout::update(double dt, wxMemoryDC& path_dc,
162
                                        const wxImage& path_image,
163
                                        wxColour background_color,
164
                                        world_state state)
162 165
    {
163 166
        // Assume that the two motors on the same side will be set to
164 167
        // roughly the same speed. Does not account for slip conditions

Also available in: Unified diff