Position and Velocity
Is there a standard-ish message that represents an object's 3d position and 3d velocity?
[insert Heisenberg joke here]
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there a standard-ish message that represents an object's 3d position and 3d velocity?
[insert Heisenberg joke here]
geometry_msgs/Twist is for velocities, geometry_msgs/Pose is for position and orientation.
nav_msgs/Odometry contains both together with covariances (whereas designed for other purpose).
If you just need Twist and Pose together, you can easily design your own message.
There is a message called JointMessage under common_msgs/sensor_msgs. It is defined as follows:
Header header
string[] name
float64[] position
float64[] velocity
float64[] effort
I'm unclear as to what name means but the other parameters are defined as:
# The state of each joint (revolute or prismatic) is defined by:
# * the position of the joint (rad or m),
# * the velocity of the joint (rad/s or m/s) and
# * the effort that is applied in the joint (Nm or N).
Since these parameters are arrays they should suffice for your needs.
Asked: 2012-03-25 15:42:53 -0500
Seen: 4,350 times
Last updated: Mar 26 '12
CANopen - Maxon MCD Epos Error 6061sub0
Math functions for geometry_msgs?
ekf position exploding with linear_accel
Move a certain distance (geometry_msg:Twist)
how plot x , y , z position using rqt_plot /joint_states/position[3] ??
How to get hector_quadrotor to fly autonomously
Problems with converting pose to tf
move_base start position is off the global costmap