FlexBE / flexbe_app

The classic user interface (editor + runtime control) for the FlexBE behavior engine. See the flexbe_webui for latest
BSD 3-Clause "New" or "Revised" License
48 stars 49 forks source link

implementing ROS.getPackagePythonPath #23

Closed dustingooding closed 6 years ago

dustingooding commented 6 years ago

ROS.getPackagePythonPath wasn't implemented, so errors were thrown when attempting to save a behavior. I basically copied the private method in IO.PackageParser named getPythonPath. The return value is the last element of the python search path, which works out to the install path (in install space mode) and the src path (in devel space mode).

pschillinger commented 6 years ago

That method got lost during previous merge, thanks for spotting and fixing!