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,349 times
Last updated: Mar 26 '12
How to send Cartesian velocity and Cartesian position Kinova Jaco 2
Limit linear velocity [closed]
Navigation can't reach max speed
Redundant locations in URDF for joint position/effort/velocity limits
quaternions orientation representation
How to get hector_quadrotor to fly autonomously
catkin can't find geometry_msgs even though it's on CMAKE_PREFIX_PATH
velocity smoother does not work... plz help!! [closed]
dynamic obstacle tracking and detection in 2D env in RViz ROS