diff --git a/source/Tutorials/Intermediate/Tf2/Quaternion-Fundamentals.rst b/source/Tutorials/Intermediate/Tf2/Quaternion-Fundamentals.rst index f623da52459..6e62f49e4c8 100644 --- a/source/Tutorials/Intermediate/Tf2/Quaternion-Fundamentals.rst +++ b/source/Tutorials/Intermediate/Tf2/Quaternion-Fundamentals.rst @@ -45,7 +45,7 @@ The commonly-used unit quaternion that yields no rotation about the x/y/z axes i .. code-block:: C++ - #include + #include ... tf2::Quaternion q; diff --git a/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Broadcaster-Cpp.rst b/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Broadcaster-Cpp.rst index 830ca15bef5..c0dc13ec6be 100644 --- a/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Broadcaster-Cpp.rst +++ b/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Broadcaster-Cpp.rst @@ -78,7 +78,7 @@ Open the file using your preferred text editor. #include "geometry_msgs/msg/transform_stamped.hpp" #include "rclcpp/rclcpp.hpp" - #include "tf2/LinearMath/Quaternion.h" + #include "tf2/LinearMath/Quaternion.hpp" #include "tf2_ros/transform_broadcaster.h" #include "turtlesim_msgs/msg/pose.hpp" diff --git a/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Listener-Cpp.rst b/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Listener-Cpp.rst index ea3b3998000..198e851a3c7 100644 --- a/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Listener-Cpp.rst +++ b/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Listener-Cpp.rst @@ -78,7 +78,7 @@ Open the file using your preferred text editor. #include "geometry_msgs/msg/transform_stamped.hpp" #include "geometry_msgs/msg/twist.hpp" #include "rclcpp/rclcpp.hpp" - #include "tf2/exceptions.h" + #include "tf2/exceptions.hpp" #include "tf2_ros/transform_listener.h" #include "tf2_ros/buffer.h" #include "turtlesim_msgs/srv/spawn.hpp" diff --git a/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Static-Broadcaster-Cpp.rst b/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Static-Broadcaster-Cpp.rst index db71cf84dc1..e36f88ba29a 100644 --- a/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Static-Broadcaster-Cpp.rst +++ b/source/Tutorials/Intermediate/Tf2/Writing-A-Tf2-Static-Broadcaster-Cpp.rst @@ -94,7 +94,7 @@ Open the file using your preferred text editor. #include "geometry_msgs/msg/transform_stamped.hpp" #include "rclcpp/rclcpp.hpp" - #include "tf2/LinearMath/Quaternion.h" + #include "tf2/LinearMath/Quaternion.hpp" #include "tf2_ros/static_transform_broadcaster.h" class StaticFramePublisher : public rclcpp::Node @@ -186,7 +186,7 @@ We also include ``tf2_ros/static_transform_broadcaster.h`` to use the ``StaticTr .. code-block:: C++ - #include "tf2/LinearMath/Quaternion.h" + #include "tf2/LinearMath/Quaternion.hpp" #include "tf2_ros/static_transform_broadcaster.h" The ``StaticFramePublisher`` class constructor initializes the node with the name ``static_turtle_tf2_broadcaster``.