ros-drivers / mocap_optitrack

ROS nodes for working with the NaturalPoint Optitrack motion capture setup
99 stars 139 forks source link

Feature/improve compatibility with natnet #41

Closed yamokosk closed 6 years ago

yamokosk commented 6 years ago

A follow up to #37.. This is a complete refactoring of the code base which achieves the following:

I tested this code with the Flex13 system I have at work. It is using NatNet version 3.0.

Still TODO

tonybaltovski commented 6 years ago

Thanks for this refactor @yamokosk! Regarding the licence, it is BSD with University of Bonn and Clearpath Robotics. Alex isn't maintaining this any more but I started to. We do have a setup at Clearpath with Tracking tools which we used time to time.

yamokosk commented 6 years ago

Oh, I forgot to mention, this was tested on Kinetic.

tonybaltovski commented 6 years ago

That's fine with me. Did you close by accident? @yamokosk

yamokosk commented 6 years ago

lol, maybe? I don't remember closing it but maybe I did. Sorry about that.

BruceWheaton commented 6 years ago

Thanks for doing this. We've been on Motive 2.x for a while. Is this going to get merged into a main branch?

tonybaltovski commented 6 years ago

@BruceWheaton I do want to get this merged asap and do a release.

@yamokosk See above for licence and minor nit about launch file. And thanks again!

yamokosk commented 6 years ago

Thanks for the background on the license information. Shouldn't there be a LICENSE file that says the same thing? I don't know what the convention is for ROS packages.

I am failing to see the nit about the launch file in the discussion above. Are you referring to the output=console line? I did that during testing and forgot to remove. I will do that now.

yamokosk commented 6 years ago

Done. Going back in there also highlighted an error where I forgot to remove the boolean parameter use_new_coordinates from the config file example. This flag is calculated internally once the node receives the server version.

tonybaltovski commented 6 years ago

Thanks @yamokosk! The last thing is the license, according to the ROS style guide there should be a license in each file.

yamokosk commented 6 years ago

I'll update with the BSD blurb in each header file or all files. But what do I do with copyright owners? Some files were relatively untouched (e.g. socket.h/.cpp) and that can be attributed to the original author. The other files though?

I am also taking the opportunity to update the package.xml to version 2. Who should be listed as the maintainer?

tonybaltovski commented 6 years ago

Who ever added them I guess. Some thoughts below data_model.h: Kathrin Gräve, 01/2011 and yourself. version.h: myself rigid_body_publisher: alex benz and yourself.

I think that covers the licence headers. I can be listed as maintainer. I'll add linting and CI after this gets merged and do a release.

yamokosk commented 6 years ago

Ok, done. Take a look and let me know if I have goofed any copyright stuff.

tonybaltovski commented 6 years ago

LGTM, thanks!