- Mastering ROS for Robotics Programming(Second Edition)
- Lentin Joseph Jonathan Cacace
- 44字
- 2025-02-17 19:11:05
Using the math expression
We can build mathematical expressions inside ${} using basic operations such as +, -, * , / , unary minus, and parenthesis. Exponentiation and modulus are not supported yet. The following is a simple math expression used inside the code:
<cylinder length="${pan_link_length}"
radius="${pan_link_radius+0.02}"/>