lagadic / vision_visp

ViSP stack for ROS
http://wiki.ros.org/vision_visp
GNU General Public License v2.0
181 stars 88 forks source link

object_position not published #80

Open ank95 opened 6 years ago

ank95 commented 6 years ago

Hi I am trying to estimate the pose of an object using visp_tracker. When i run the tutorial.launch and echo the object_position topic can see the estimated pose. But when i try to do the same using my own webcam, i don't see anything being published on the topic. tf only the transform between the camera and base_link.

I am running the vision_visp compiled from ROS package and i'm using Ubuntu 16.04 with ROS Kinetic.

`ros@ros-e7470:~$ roslaunch visp_tracker tutorial-test.launch ... logging to /home/ros/.ros/log/98874c36-3bf6-11e8-87cf-34f39aca2f65/roslaunch-ros-e7470-15997.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ros-e7470:40513/

SUMMARY

PARAMETERS

NODES / base_link_to_camera (tf/static_transform_publisher) tf_localization (visp_tracker/tf_localization.py) tracker_mbt (visp_tracker/tracker) tracker_mbt_client (visp_tracker/visp_tracker_client) tracker_mbt_viewer (visp_tracker/visp_tracker_viewer)

ROS_MASTER_URI=http://localhost:11311

process[tracker_mbt-1]: started with pid [16017] process[tracker_mbt_client-2]: started with pid [16018] process[tracker_mbt_viewer-3]: started with pid [16019] process[base_link_to_camera-4]: started with pid [16020] process[tf_localization-5]: started with pid [16032] Cannot get the number of circles. Defaulting to zero. `

ank95 commented 6 years ago

[ERROR] [1523280012.286931481]: Failed to create the temporary model file: "/tmp/tmp5wVl3o" terminate called after throwing an instance of 'std::runtime_error' what(): failed to load the model from the parameter server Cannot get the number of circles. Defaulting to zero. [tracker_mbt_viewer-3] process has died [pid 18212, exit code -6, cmd /opt/ros/kinetic/lib/visp_tracker/visp_tracker_viewer __name:=tracker_mbt_viewer __log:=/home/ros/.ros/log/98874c36-3bf6-11e8-87cf-34f39aca2f65/tracker_mbt_viewer-3.log]. log file: /home/ros/.ros/log/98874c36-3bf6-11e8-87cf-34f39aca2f65/tracker_mbt_viewer-3*.log