An Orientation Factor for Object-Oriented SLAM