You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.
If you load a robot model with 0 free joints the joint state publisher crashes:
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/joint_state_publisher/joint_state_publisher", line 413, in <module>
jsp = JointStatePublisher()
File "/opt/ros/kinetic/lib/joint_state_publisher/joint_state_publisher", line 127, in __init__
self.gui = JointStatePublisherGui("Joint State Publisher", self, num_rows)
File "/opt/ros/kinetic/lib/joint_state_publisher/joint_state_publisher", line 304, in __init__
self.positions = self.generate_grid_positions(len(sliders), self.num_rows)
File "/opt/ros/kinetic/lib/joint_state_publisher/joint_state_publisher", line 383, in generate_grid_positions
positions = [(y, x) for x in range(int((math.ceil(float(num_items) / num_rows)))) for y in range(num_rows)]
ZeroDivisionError: float division by zero
If you load a robot model with 0 free joints the joint state publisher crashes:
#150
Divison by zero here:
The text was updated successfully, but these errors were encountered: