ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Your question seems to indicate you're only looking to use a single function from the angles package. If that's the case it's really simpler, and better design, to just implement the function yourself.
def from_degrees(degrees):
return degrees * M_PI / 180.0;
2 | No.2 Revision |
Your question seems to indicate you're only looking to use a single function from the angles package. If that's the case it's really simpler, and better design, to just implement the function yourself.
def from_degrees(degrees):
return degrees * M_PI math.pi / 180.0;