Reading Radian Joint Angles as Machine Degrees
A robot cell speaks two dialects at once. The controller publishes joint positions as radians — that is what the ROS convention mandates, and what kinematics solvers, URDF joint limits and motion planners all carry internally. The teach pendant beside it, the fixture drawing on the bench and the rotary axis on the machine tool next door are all marked in degrees. Anyone reading a log, checking a joint limit against a drawing, or lining a robot up with a fourth-axis part is translating between the two all day.
Where the Two Dialects Meet
Joint state topics and logs
Rotary axes on the machine
URDF and model files
Calibration and alignment reports
From a Logged Value to a Number You Can Command
The sequence is the same whether the radian figure came from a controller log, a planner's output or a joint limit in a description file.
Paste the radian figure in full
Drop the whole value into the left field — 1.5707963, −0.7853982, 2.0943951 — rather than rounding it first. Spaces inside the number are ignored and a comma is accepted as the decimal mark, so a value copied from a European-locale log still parses.
Compare the degree result against the drawing
The right field updates live as you type, so you can walk a series of logged positions through one after another and watch where a joint approaches the mechanical limit marked on the assembly drawing.
Swap to prepare a radian-side value
Setting a joint limit from a drawing runs the other way. The swap button (↔) turns the pair into ° → rad so a 135° hard stop becomes the 2.35619449 the description file needs.
Switch the target to milliradians for alignment work
Both dropdowns are searchable and list every angle unit in the app, so a squareness figure can be read as milliradians for the metrology report and as degrees for the shop tolerance without retyping it.
Joint and Rotary-Axis Angles Side by Side
Values that recur in robot logs and machine setup sheets, with the degree figure a pendant or an axis word would carry. The last column is a rough sense of what that angle costs at the tool: an arc length at a 500 mm reach, which is where a small radian error stops being abstract.
| Radians in the log | Degrees | Typical meaning | Arc at 500 mm reach |
|---|---|---|---|
| 0.001 | 0.057296° | One milliradian — an alignment or squareness figure | 0.5 mm |
| 0.01 | 0.572958° | A jog increment for fine teaching | 5 mm |
| 0.1 | 5.729578° | A coarse jog step | 50 mm |
| 0.5 | 28.647890° | A mid-range wrist position | 250 mm |
| 1 | 57.295780° | One radian — the arc equals the reach itself | 500 mm |
| 1.5707963 | 90.000000° | A quarter turn; the commonest URDF joint limit | 785 mm |
| 2.3561945 | 135.000000° | An indexing position on a rotary table | 1 178 mm |
| 3.1415927 | 180.000000° | The wrap point where a continuous joint flips sign | 1 571 mm |
| 6.2831853 | 360.000000° | A full revolution of a continuous axis | 3 142 mm |
What Helps When You Are Chasing a Joint Value
Walk through a log without re-entering units
Both fields recalculate on every keystroke, so a run of logged positions can be checked one after another by overtyping the number and reading the degree column.
Set a joint limit from a shop drawing
Swapping the pair runs the conversion the other way, which is the direction you need when the tolerance was written in degrees and the description file wants radians.
Milliradians and degrees from one entry
Because the unit lists are complete on both sides, an alignment result reads as mrad for the metrology sheet and as decimal degrees for the machine offset without a second calculation.
Clean numbers for a setup sheet
Copy puts the plain value on the clipboard with no unit and no thousands spacing, which is what a controller variable or a spreadsheet cell will accept.
Questions from the Robot Cell and the Shop Floor
Why does the controller log radians when the pendant shows degrees?
They serve different audiences. The ROS standard on units and conventions fixes radians for all angular quantities and radians per second for angular rates, so that planners, transform trees and controllers can be mixed without a unit negotiation at every boundary. The pendant exists for an operator standing at the cell, and degrees are what that person can picture. Both are looking at the same joint; only the presentation layer differs.
Can a rotary axis be commanded in radians instead?
In practice, no. Rotary axis words in a part program carry degrees, and the feedrate that goes with them is degrees per minute — there is no modal setting for angular units the way there is for millimetres and inches. Some controls will accept an angle typed as degrees, minutes and seconds and reduce it internally, but the underlying unit is still the degree. Any radian value coming out of a planner has to be scaled before it reaches the program.
My joint reads −3.1 rad one moment and +3.1 the next. What happened?
The value wrapped. A continuous joint is normally reported in the interval −π to +π, so crossing 180° makes the sign jump even though the physical motion was a fraction of a degree. Converted, −3.1 rad is −177.62° and +3.1 rad is +177.62° — the arm moved 4.76°, not 355°. Anything that differentiates the signal, such as a velocity estimate or a naive move-to-target, has to unwrap first by adding or subtracting 2π (360°) before the subtraction.
How many decimal places of a radian value should I keep?
Match the machine's resolution rather than picking a habit. Three decimals of a radian is a granularity of 0.0573° — coarser than most rotary tables, which index to 0.001°. Four decimals gives 0.0057°, five gives 0.00057°, which is finer than a 17-bit joint encoder resolves at 0.00275° per count. As a rule, keep at least five decimals for anything that will be commanded, and only round for a report a human reads.
Where do milliradians show up in machine and robot work?
Wherever a small angle is more useful as a slope than as a fraction of a circle. Laser interferometer and autocollimator reports quote pitch, yaw and squareness in milliradians or arc seconds; beam-steering and optical mounting specifications do the same. One milliradian is 0.0572958°, and its appeal is that it converts to length almost directly — a milliradian over a metre is a millimetre, which is why alignment technicians reach for it. The dropdown carries mrad alongside degrees and radians, so the same entry serves the report and the machine offset.
No comments yet. Be the first to comment!