How to place several objects to certain distance and certain compass direction

Hello everybody! I cant find method to place objects to certain compass direction and distance( as example 100m on heading 248 with ARkit). When i am using compass colibration ( 0 angle is camera direction.y - compass heading ) my objects are shaking and sometimes placing with big angle error.Need a stable tracking for this objects. Already set gravityAndHeading alignment but it has no visible effect


Device : iPhone 6s


Any solutions?