Skip to content

Commit

Permalink
Fixed shared_dynamic_cast is not a member of boost
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomebytes committed Nov 20, 2014
1 parent 32c1485 commit f7d5648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reemc_hardware_gazebo/src/reemc_hardware_gazebo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ bool ReemcHardwareGazebo::initSim(const std::string& robot_ns,
ROS_DEBUG_STREAM("Registered ankle force-torque sensors.");

// Hardware interfaces: Base IMU sensors
imu_sensor_ = boost::shared_dynamic_cast<gazebo::sensors::ImuSensor>
imu_sensor_ = boost::dynamic_pointer_cast<gazebo::sensors::ImuSensor>
(gazebo::sensors::SensorManager::Instance()->GetSensor("imu_sensor")); // TODO: Fetch from URDF? /*reemc::reemc::base_link::imu_sensor*/
if (!this->imu_sensor_)
{
Expand Down

0 comments on commit f7d5648

Please sign in to comment.