strands-project / mongodb_store

MongoDB tools for storing and analysing runs of ROS systems.
BSD 3-Clause "New" or "Revised" License
49 stars 72 forks source link

[mongodb_log] Optparse fails to parse arguments when provided via roslaunch #114

Closed nilsbore closed 9 years ago

nilsbore commented 9 years ago

mongodb_log.py Is unable to parse the input args when provided via roslaunch:

<node pkg="mongodb_log" type="mongodb_log.py" name="mongodb_image_logger" args="--nodename-prefix=mongodb_image_logger $(arg compressed_rgb)/theora"/>

It seems to think the topic to save is one of the extra arguments provided by roslaunch.

WARNING: topic [__log:=/home/nbore/.ros/log/60fe2c8a-6e45-11e4-beb9-3c970e64e955/mongodb_image_logger-2.log] does not appear to be published yet

However, runnning mongodb_log.py with topic argument in the terminal via rosrun works fine.

nilsbore commented 9 years ago

Fixed by https://github.com/strands-project/mongodb_store/issues/115.