ahundt / grl

Robotics tools in C++11. Implements soft real time arm drivers for Kuka LBR iiwa plus V-REP, ROS, Constrained Optimization based planning, Hand Eye Calibration and Inverse Kinematics integration.
https://ahundt.github.io/grl/
BSD 2-Clause "Simplified" License
154 stars 72 forks source link

Bug for simExtAtracsysFusionTrackAddObject #171

Open Chunting opened 6 years ago

Chunting commented 6 years ago

In robone.lua, there is a bug in function simExtAtracsysFusionTrackAddObject. This function serves to visulize the object in real-time based on tracker data.

The second function won't work, it seems that the parameter ObjectBeingMeasured, e.g. (Fiducial#22) can only appear once. This is a bug to fix.

simExtAtracsysFusionTrackAddObject('OpticalTrackerBase#0',  -- ObjectToMove
     'Fiducial#22',               -- FrameInWhichToMoveObject
        'Fiducial#22',               -- ObjectBeingMeasured
     '22'                             -- GeometryID
    )       

simExtAtracsysFusionTrackAddObject('Marker22',             -- ObjectToMove
    'OpticalTrackerBase#0',   -- FrameInWhichToMoveObject
     'Fiducial#22',            -- ObjectBeingMeasured
      '22'                      -- GeometryID
 )