ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

What are the units for the Husky turn rate? [husky_plugin.cpp]

asked 2014-10-22 13:07:30 -0500

dnrohr gravatar image

I have modified the husky_plugin.cpp code such that it publishes its velocities to odom.twist.twist, for example:

odom.twist.twist.angular.x = odom_vel_[2];

When I command max turn rate, the odom topic reads 2.5, this is verified by the common.launch file for the husky:

param name="capped_turn_rate" value="2.5"

However, when I measure the turn rate of the vehicle in Gazebo at full speed, this "2.5" maps to roughly 10 rotations per every ~36-37 seconds. My guess was it is in units of degrees per update (40 Hz), however this does not change with update rate. What unit is this angular velocity cap in?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-22 13:52:29 -0500

ahendrix gravatar image

This is almost certainly radians per second. (2.5 radians per second is about 23 RPM)

REP-103 defines metric units and radians as the standard units for ROS.

edit flag offensive delete link more

Comments

I agree, however, where does the discrepancy between reported and measured coming from? Gazebo reports that it is running at full speed, in which case I would expect ~14 rotations in the same amount of time.

dnrohr gravatar image dnrohr  ( 2014-10-22 14:10:49 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-10-22 13:07:30 -0500

Seen: 356 times

Last updated: Oct 22 '14