Skip to content

Instantly share code, notes, and snippets.

@astraw
Created September 15, 2010 17:57
Show Gist options
  • Save astraw/581147 to your computer and use it in GitHub Desktop.
Save astraw/581147 to your computer and use it in GitHub Desktop.
File "/home/astraw/ros/ros/core/rospy/src/rospy/impl/tcpros_service.py", line 600, in _handle_request
response = convert_return_to_response(self.handler(request), self.response_class)
File "/home/astraw/ros/Flyatar/Flyatar/ros/actuation/stage/nodes/StageCommunicator.py", line 59, in set_stage_position
return_state = self.dev.update_position(x_pos_list,y_pos_list,vel_mag_list)
File "/home/astraw/ros/Flyatar/Flyatar/ros/actuation/stage/nodes/StageDevice.py", line 131, in update_position
x_vel_list,y_vel_list = self._find_velocity_from_position(x_pos_list,y_pos_list,vel_mag_list,x0,y0)
File "/home/astraw/ros/Flyatar/Flyatar/ros/actuation/stage/nodes/StageDevice.py", line 154, in _find_velocity_from_position
alpha = math.sqrt((vel_mag_list[point_n]**2)/(delta_x**2 + delta_y**2))
ZeroDivisionError: float division
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment