roboticslab-uc3m / openrave-yarp-plugins

OpenRAVE plugins to interface OpenRAVE with YARP.
https://robots.uc3m.es/openrave-yarp-plugins/
GNU Lesser General Public License v2.1
3 stars 1 forks source link

[OpenraveYarpPluginLoader] Enable file open with ResourceFinder #99

Closed jgvictores closed 4 years ago

jgvictores commented 5 years ago

OpenraveYarpPluginLoader: Enable file open with ResourceFinder

NOTE: Before closing, edit https://github.com/roboticslab-uc3m/teo-configuration-files/blob/develop/scripts/bash/teoSim (https://github.com/roboticslab-uc3m/teo-configuration-files/blob/1a5dcee7331898b08edf920c9d462301d8dbc2ca/scripts/bash/teoSim) to not use the long hard-coded paths.

jgvictores commented 4 years ago

Race condition makes this this task slight difficult (robot must be loaded before open calls):

jgvictores commented 4 years ago

Race condition makes this this task slight difficult (robot must be loaded before open calls):

Yes, there may be race conditions, so a mutex could be handy, but at least we are sure the CLI string open calls are called in order, because it's actually use who is parsing them at main().

jgvictores commented 4 years ago

OpenraveYarpPluginLoader: Enable file open with ResourceFinder

Implemented env at https://github.com/roboticslab-uc3m/openrave-yarp-plugins/commit/3078c0d28a0ea4f07e27603393b95519e6deeb10 and https://github.com/roboticslab-uc3m/openrave-yarp-plugins/commit/2e3916ee6496e21a658aeaa1858e4a81f0a9e452

jgvictores commented 4 years ago

NOTE: Before closing, edit https://github.com/roboticslab-uc3m/teo-configuration-files/blob/develop/scripts/bash/teoSim (https://github.com/roboticslab-uc3m/teo-configuration-files/blob/1a5dcee7331898b08edf920c9d462301d8dbc2ca/scripts/bash/teoSim) to not use the long hard-coded paths.

Done at https://github.com/roboticslab-uc3m/teo-configuration-files/commit/5a46cfd27f1d1c10915050d13251422f7c56b686