add positionChanged singal to allow drawing trajectory