abhijitmajumdar / ViveTracker

A ROS package to use HTC VIVE Trackers and Lighthouse(s) for localization using libsurvive
11 stars 3 forks source link

Error running "roslaunch vive_tracker_ros_package vive_tracker_ros.launch". The error "Can't solve for position with just 0 measurements" #3

Open ortasa opened 6 years ago

ortasa commented 6 years ago

Hello,

I'm trying to run "roslaunch vive_tracker_ros_package vive_tracker_ros.launch".

When I run it I get "OOTX Decoder: Bad sync bit" . The same error message I get when I try to do calibration using libsurvive https://github.com/cnlohr/libsurvive/issues/137 . And was solved by adding the flags : disambiguator and ootx to the commend: ./calibrate --disambiguator StateBased --ootx-ignore-sync-error. The commend output in the attached file: commend out - Bad sync bit.txt

I made another attempt and past the config.json file that was created after the calibration using libsurvive. And get the following error: "nfo: Can't solve for position with just 0 measurements Info: 0.390124 original reproj error for 12 meas" The commend output in the attached file: roslaunch vive_tracker_ros_package vive_tracker_ros.launch log.txt

Thank you so much for all your help so far. i appreciate it a lot. Ortal

abhijitmajumdar commented 5 years ago

@ortasa I used to get the bad sync bit error when the sensors were not in clear sight of the lighthouse. Since it is complaining about "0 measurements," I assume that is the issue and its not able to read any sensor data