RethinkRobotics-opensource / sns_ik

Saturation in the Null Space (SNS) Inverse Kinematic Library
82 stars 41 forks source link

Kinetic: Adds missing includes and auto for melodic (#90) #92

Closed IanTheEngineer closed 6 years ago

IanTheEngineer commented 6 years ago

The gcc compiler in bionic (v7.3.0) is (correctly) more strict about requiring include files in headers. This meant we needed to add few additional vector includes.

Additionally, urdf::Model::getJoint() has switched from returning a boost::shared_ptr to returning std::shared_ptr in ros melodic. To be flexible and simultaneously build on different branches, we're using "auto" to capture the correct type everywhere.