]> rtime.felk.cvut.cz Git - hubacji1/bcar.git/blobdiff - incl/bcar.hh
Add set pose method
[hubacji1/bcar.git] / incl / bcar.hh
index 9f7a3697d06efb2b5756f59c7c500234af7158aa..9f5017ecc8e8b97eeac4d9de792f2426f04c5d06 100644 (file)
@@ -127,6 +127,9 @@ public:
        /*! Set heading in radians. It's recomputed to [-pi, +pi]. */
        void h(double h);
 
+       /*! Set pose (`x`, `y`, and `h`.) */
+       void set_pose(Pose const& p);
+
        /*! \brief Rotate self around the point.
 
        \param c Rotation center `Point`.