Skip to content

Commit

Permalink
Applied #2995379: compile error fix for p_sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffrey Biggs committed Jun 2, 2010
1 parent 8e4a9a8 commit 6a8fb0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libstageplugin/p_sonar.cc
Expand Up @@ -60,7 +60,7 @@ void InterfaceSonar::Publish( void )
player_sonar_data_t sonar;
memset( &sonar, 0, sizeof(sonar) );

const std::vector<Sensor>& sensors = mod->GetSensors();
const std::vector<ModelRanger::Sensor>& sensors = mod->GetSensors();

size_t count = sensors.size();

Expand Down Expand Up @@ -97,7 +97,7 @@ int InterfaceSonar::ProcessMessage( QueuePointer & resp_queue,
{
ModelRanger* mod = (ModelRanger*)this->mod;

const std::vector<Sensor>& sensors = mod->GetSensors();
const std::vector<ModelRanger::Sensor>& sensors = mod->GetSensors();
size_t count = sensors.size();

// convert the ranger data into Player-format sonar poses
Expand Down

0 comments on commit 6a8fb0e

Please sign in to comment.