start-jsk / rtmros_gazebo

gazebo simulation for rtmros robots
8 stars 24 forks source link

support melodic compile #249

Closed Naoki-Hiraoka closed 4 years ago

Naoki-Hiraoka commented 4 years ago

This PR includes https://github.com/start-jsk/rtmros_gazebo/pull/248.

gazebo::math is completely deprecated in melodic.

hydro, indigo and kinetic supports gazebo::math. kinetic and melodic supports ignition::math http://gazebosim.org/tutorials?tut=install_dependencies_from_source http://gazebosim.org/tutorials/?tut=ros_wrapper_versions https://bitbucket.org/osrf/gazebo/src/default/Migration.md?fileviewer=file-view-default

Since API of ignition::math is different from gazebo::math, we cannot use clever methods like https://github.com/start-jsk/rtmros_gazebo/commit/11de69ed03b702eec89f7698dbe8f111802225c6, so we have to write "#ifdef #endif everywhere gazebo::math is used.

Naoki-Hiraoka commented 4 years ago

This PR is included in https://github.com/start-jsk/rtmros_gazebo/pull/250