Update for new RoS API
Merge pull request #21 from dyouyang/ros_api_update

Update for new RoS API