how to publish linear velocity and angular velocity rosserial arduino?
how to publish linear velocity and angular velocity rosserial arduino with Twist.h ?
I tried
geometry_msgs::TransformStamped t;
t.transform.translation.x = x; t.transform.translation.y = y; t.transform.translation.z = 0;
t.transform.rotation = tf::createQuaternionFromYaw(th); t.Twist.Twist.linear.x=dx/dt; t.Twist.Twist.linear.z=dth/dt;
but last two lines error
I need your help plz thank you.