Problem including geometry_msgs::Twist in ROS2
Im trying to migrate a simple code from ROS to ROS2. I want to use a variable type geometry_msgs::msg::Twist, but the only hint i found was including this:
#include <geometry_msgs/msg/point_stamped.hpp>
and this doesnt work. I have declared the variable using geometry_msgs::msg::Twist vel_msg;
In ROS i used #include "geometry_msgs/Twist.h"
but in ROS2 i am unable to include it correctly.
Which library should i include and how should i refer to it to use it in the script.
Thanks in advance.