asrob-uc3m / robotDevastation

A new-generation shooter with augmented reality and real robots. You can play online with other users with your PC, moving robots in championships and campaigns: all 24/7!
http://asrob-uc3m.github.io/workgroups/2017-05-28-robot-devastation.html
GNU Lesser General Public License v2.1
9 stars 4 forks source link

Refactor RobotLib with plugins, pull YARP network wrapper interfaces from new repo #122

Closed PeterBowman closed 6 years ago

PeterBowman commented 6 years ago

Former YARP device implementations of the IRobotManager class have been migrated to a new repository (asrob-uc3m/yarp-devices#1). This centralization efforts mean that we'll no longer want to maintain duplicates in src/libraries/RobotLib, namely:

Aditionally, YCM will take care of the build automatization. Specifically, that single header (for now!) would be pulled and configured by YCM if not found on the system (according to YCM standards, we'll need a BuildASROB_YARP_DEVICES.cmake). We can take advantage from some ideas laid out at roboticslab-uc3m/questions-and-answers/issues/44 (interface targets).

PeterBowman commented 6 years ago

Updated CMake configuration of device repo at asrob-uc3m/yarp-devices@19b5e12.

PeterBowman commented 6 years ago

I'll leave some lines for the automation of color-debug via YCM. The actual migration may/will happen at #123.

PeterBowman commented 6 years ago

Mixing YCM with interface targets (in order to propagate the path to IRobotManager.h from asrob-uc3m/yarp-devices) was quite messy. I summed it up and left some hopefully useful pointers at https://github.com/roboticslab-uc3m/developer-manual/issues/18#issuecomment-365926298.