Permalink
Browse files

Applied #2995379: compile error fix for p_sonar

  • Loading branch information...
1 parent 8e4a9a8 commit 6a8fb0e887b19b8a02607c0696c12d683c3b5e4a Geoffrey Biggs committed Jun 2, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 libstageplugin/p_sonar.cc
@@ -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();
@@ -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

0 comments on commit 6a8fb0e

Please sign in to comment.