MikePiTop

Untitled

Nov 12th, 2021
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.86 KB | None | 0 0
  1. pitop/robotics/configurations.py:16: error: Call to untyped function "__load_json" in typed context
  2. pitop/robotics/configurations.py:18: error: Call to untyped function "__load_json" in typed context
  3. pitop/robotics/configurations.py:22: error: Function is missing a type annotation
  4. pitop/robotics/configurations.py:27: error: Function is missing a type annotation
  5. pitop/robotics/configurations.py:30: error: Call to untyped function "from_config" of "Componentable" in typed context
  6. pitop/robotics/configurations.py:34: error: Function is missing a type annotation
  7. pitop/robotics/configurations.py:36: error: "AlexRobot" has no attribute "drive"
  8. pitop/robotics/configurations.py:38: error: Function is missing a type annotation
  9. pitop/robotics/configurations.py:40: error: "AlexRobot" has no attribute "drive"
  10. pitop/robotics/configurations.py:42: error: Function is missing a type annotation
  11. pitop/robotics/configurations.py:44: error: "AlexRobot" has no attribute "drive"
  12. pitop/robotics/configurations.py:46: error: Function is missing a type annotation
  13. pitop/robotics/configurations.py:48: error: "AlexRobot" has no attribute "drive"
  14. pitop/robotics/configurations.py:50: error: Function is missing a type annotation
  15. pitop/robotics/configurations.py:52: error: "AlexRobot" has no attribute "drive"
  16. pitop/robotics/configurations.py:54: error: Function is missing a type annotation
  17. pitop/robotics/configurations.py:56: error: "AlexRobot" has no attribute "drive"
  18. pitop/robotics/configurations.py:58: error: Function is missing a type annotation
  19. pitop/robotics/configurations.py:5: error: Function is missing a type annotation
  20. pitop/robotics/configurations.py:60: error: "AlexRobot" has no attribute "drive"
  21. pitop/robotics/configurations.py:62: error: Function is missing a type annotation
  22. pitop/robotics/configurations.py:64: error: "AlexRobot" has no attribute "drive"
  23. pitop/robotics/configurations.py:66: error: Function is missing a type annotation
  24. pitop/robotics/configurations.py:68: error: "AlexRobot" has no attribute "pan_tilt"
  25. pitop/robotics/configurations.py:71: error: Function is missing a return type annotation
  26. pitop/robotics/configurations.py:73: error: "AlexRobot" has no attribute "pan_tilt"
  27. pitop/robotics/configurations.py:76: error: Function is missing a return type annotation
  28. pitop/robotics/configurations.py:78: error: "AlexRobot" has no attribute "pan_tilt"
  29. pitop/robotics/drive_controller.py:101: error: Call to untyped function "set_target_speed" in typed context
  30. pitop/robotics/drive_controller.py:102: error: Call to untyped function "set_target_speed" in typed context
  31. pitop/robotics/drive_controller.py:103: error: Call to untyped function "_start_synchronous_motor_movement" in typed context
  32. pitop/robotics/drive_controller.py:105: error: Function is missing a type annotation
  33. pitop/robotics/drive_controller.py:119: error: Call to untyped function "robot_move" in typed context
  34. pitop/robotics/drive_controller.py:121: error: Function is missing a type annotation
  35. pitop/robotics/drive_controller.py:130: error: Call to untyped function "forward" in typed context
  36. pitop/robotics/drive_controller.py:132: error: Function is missing a type annotation
  37. pitop/robotics/drive_controller.py:142: error: Call to untyped function "robot_move" in typed context
  38. pitop/robotics/drive_controller.py:148: error: Function is missing a type annotation
  39. pitop/robotics/drive_controller.py:158: error: Call to untyped function "left" in typed context
  40. pitop/robotics/drive_controller.py:160: error: Function is missing a type annotation
  41. pitop/robotics/drive_controller.py:164: error: Call to untyped function "robot_move" in typed context
  42. pitop/robotics/drive_controller.py:166: error: Function is missing a type annotation
  43. pitop/robotics/drive_controller.py:16: error: Function is missing a type annotation
  44. pitop/robotics/drive_controller.py:176: error: Call to untyped function "_calculate_motor_speeds" in typed context
  45. pitop/robotics/drive_controller.py:180: error: Call to untyped function "set_target_speed" in typed context
  46. pitop/robotics/drive_controller.py:183: error: Call to untyped function "set_target_speed" in typed context
  47. pitop/robotics/drive_controller.py:188: error: Function is missing a return type annotation
  48. pitop/robotics/drive_controller.py:188: note: Use "-> None" if function does not return a value
  49. pitop/robotics/drive_controller.py:191: error: Call to untyped function "robot_move" in typed context
  50. pitop/robotics/drive_controller.py:193: error: Function is missing a return type annotation
  51. pitop/robotics/drive_controller.py:193: note: Use "-> None" if function does not return a value
  52. pitop/robotics/drive_controller.py:202: error: Call to untyped function "robot_move" in typed context
  53. pitop/robotics/drive_controller.py:22: error: Call to untyped function "EncoderMotor" in typed context
  54. pitop/robotics/drive_controller.py:25: error: Call to untyped function "EncoderMotor" in typed context
  55. pitop/robotics/drive_controller.py:44: error: Call to untyped function "PID" in typed context
  56. pitop/robotics/drive_controller.py:53: error: Call to untyped function "PlateInterface" in typed context
  57. pitop/robotics/drive_controller.py:53: error: Call to untyped function "get_device_mcu" in typed context
  58. pitop/robotics/drive_controller.py:54: error: Call to untyped function "_set_synchronous_motor_movement_mode" in typed context
  59. pitop/robotics/drive_controller.py:56: error: Call to untyped function "__init__" in typed context
  60. pitop/robotics/drive_controller.py:57: error: Call to untyped function "__init__" in typed context
  61. pitop/robotics/drive_controller.py:66: error: Function is missing a return type annotation
  62. pitop/robotics/drive_controller.py:66: note: Use "-> None" if function does not return a value
  63. pitop/robotics/drive_controller.py:73: error: Function is missing a return type annotation
  64. pitop/robotics/drive_controller.py:73: note: Use "-> None" if function does not return a value
  65. pitop/robotics/drive_controller.py:76: error: Function is missing a type annotation
  66. pitop/robotics/drive_controller.py:95: error: Function is missing a type annotation
  67. pitop/robotics/drive_controller.py:98: error: Call to untyped function "_calculate_motor_speeds" in typed context
  68. pitop/robotics/filterpy/common.py:20: error: Function is missing a type annotation
  69. pitop/robotics/filterpy/common.py:33: error: Call to untyped function "is_col" in typed context
  70. pitop/robotics/filterpy/common.py:48: error: Function is missing a type annotation
  71. pitop/robotics/filterpy/common.py:4: error: Function is missing a type annotation
  72. pitop/robotics/filterpy/kalman.py:188: error: Function is missing a type annotation
  73. pitop/robotics/filterpy/kalman.py:237: error: Function is missing a type annotation
  74. pitop/robotics/filterpy/kalman.py:278: error: Function is missing a type annotation
  75. pitop/robotics/filterpy/kalman.py:299: error: Incompatible types in assignment (expression has type "None", variable has type "float")
  76. pitop/robotics/filterpy/kalman.py:300: error: Incompatible types in assignment (expression has type "None", variable has type "float")
  77. pitop/robotics/filterpy/kalman.py:316: error: Call to untyped function "reshape_z" in typed context
  78. pitop/robotics/filterpy/kalman.py:351: error: Function is missing a type annotation
  79. pitop/robotics/filterpy/kalman.py:380: error: Function is missing a type annotation
  80. pitop/robotics/filterpy/kalman.py:417: error: Incompatible types in assignment (expression has type "None", variable has type "float")
  81. pitop/robotics/filterpy/kalman.py:418: error: Incompatible types in assignment (expression has type "None", variable has type "float")
  82. pitop/robotics/filterpy/kalman.py:428: error: Call to untyped function "reshape_z" in typed context
  83. pitop/robotics/filterpy/kalman.py:443: error: Incompatible types in assignment (expression has type "None", variable has type "float")
  84. pitop/robotics/filterpy/kalman.py:444: error: Incompatible types in assignment (expression has type "None", variable has type "float")
  85. pitop/robotics/filterpy/kalman.py:447: error: Function is missing a type annotation
  86. pitop/robotics/filterpy/kalman.py:471: error: Incompatible types in assignment (expression has type "None", variable has type "float")
  87. pitop/robotics/filterpy/kalman.py:472: error: Incompatible types in assignment (expression has type "None", variable has type "float")
  88. pitop/robotics/filterpy/kalman.py:489: error: Call to untyped function "reshape_z" in typed context
  89. pitop/robotics/filterpy/kalman.py:524: error: Function is missing a type annotation
  90. pitop/robotics/filterpy/kalman.py:643: error: Call to untyped function "update" in typed context
  91. pitop/robotics/filterpy/kalman.py:647: error: Call to untyped function "predict" in typed context
  92. pitop/robotics/filterpy/kalman.py:656: error: Call to untyped function "predict" in typed context
  93. pitop/robotics/filterpy/kalman.py:660: error: Call to untyped function "update" in typed context
  94. pitop/robotics/filterpy/kalman.py:669: error: Function is missing a type annotation
  95. pitop/robotics/filterpy/kalman.py:733: error: Function is missing a type annotation
  96. pitop/robotics/filterpy/kalman.py:776: error: Function is missing a type annotation
  97. pitop/robotics/filterpy/kalman.py:793: error: Call to untyped function "reshape_z" in typed context
  98. pitop/robotics/filterpy/kalman.py:821: error: Function is missing a type annotation
  99. pitop/robotics/filterpy/kalman.py:826: error: Call to untyped function "reshape_z" in typed context
  100. pitop/robotics/filterpy/kalman.py:829: error: Function is missing a type annotation
  101. pitop/robotics/filterpy/kalman.py:846: error: Function is missing a return type annotation
  102. pitop/robotics/filterpy/kalman.py:853: error: Function is missing a return type annotation
  103. pitop/robotics/filterpy/kalman.py:868: error: Function is missing a return type annotation
  104. pitop/robotics/filterpy/kalman.py:881: error: Function is missing a return type annotation
  105. pitop/robotics/filterpy/kalman.py:891: error: Function is missing a type annotation
  106. pitop/robotics/filterpy/kalman.py:900: error: Call to untyped function "logpdf" in typed context
  107. pitop/robotics/filterpy/kalman.py:902: error: "Callable[[KalmanFilter], Any]" has no attribute "setter"
  108. pitop/robotics/filterpy/kalman.py:902: error: Name "alpha" already defined on line 880
  109. pitop/robotics/filterpy/kalman.py:903: error: Function is missing a type annotation
  110. pitop/robotics/filterpy/kalman.py:909: error: Function is missing a return type annotation
  111. pitop/robotics/filterpy/kalman.py:913: error: Call to untyped function "pretty_str" in typed context
  112. pitop/robotics/filterpy/kalman.py:914: error: Call to untyped function "pretty_str" in typed context
  113. pitop/robotics/filterpy/kalman.py:915: error: Call to untyped function "pretty_str" in typed context
  114. pitop/robotics/filterpy/kalman.py:916: error: Call to untyped function "pretty_str" in typed context
  115. pitop/robotics/filterpy/kalman.py:917: error: Call to untyped function "pretty_str" in typed context
  116. pitop/robotics/filterpy/kalman.py:918: error: Call to untyped function "pretty_str" in typed context
  117. pitop/robotics/filterpy/kalman.py:919: error: Call to untyped function "pretty_str" in typed context
  118. pitop/robotics/filterpy/kalman.py:920: error: Call to untyped function "pretty_str" in typed context
  119. pitop/robotics/filterpy/kalman.py:921: error: Call to untyped function "pretty_str" in typed context
  120. pitop/robotics/filterpy/kalman.py:922: error: Call to untyped function "pretty_str" in typed context
  121. pitop/robotics/filterpy/kalman.py:923: error: Call to untyped function "pretty_str" in typed context
  122. pitop/robotics/filterpy/kalman.py:924: error: Call to untyped function "pretty_str" in typed context
  123. pitop/robotics/filterpy/kalman.py:925: error: Call to untyped function "pretty_str" in typed context
  124. pitop/robotics/filterpy/kalman.py:926: error: Call to untyped function "pretty_str" in typed context
  125. pitop/robotics/filterpy/kalman.py:927: error: Call to untyped function "pretty_str" in typed context
  126. pitop/robotics/filterpy/kalman.py:928: error: Call to untyped function "pretty_str" in typed context
  127. pitop/robotics/filterpy/kalman.py:929: error: Call to untyped function "pretty_str" in typed context
  128. pitop/robotics/filterpy/kalman.py:930: error: Call to untyped function "pretty_str" in typed context
  129. pitop/robotics/filterpy/kalman.py:931: error: Call to untyped function "pretty_str" in typed context
  130. pitop/robotics/filterpy/kalman.py:932: error: Call to untyped function "pretty_str" in typed context
  131. pitop/robotics/filterpy/kalman.py:933: error: Call to untyped function "pretty_str" in typed context
  132. pitop/robotics/filterpy/kalman.py:934: error: Call to untyped function "pretty_str" in typed context
  133. pitop/robotics/filterpy/kalman.py:935: error: Call to untyped function "pretty_str" in typed context
  134. pitop/robotics/filterpy/kalman.py:936: error: Call to untyped function "pretty_str" in typed context
  135. pitop/robotics/filterpy/kalman.py:937: error: Call to untyped function "pretty_str" in typed context
  136. pitop/robotics/filterpy/kalman.py:941: error: Function is missing a type annotation
  137. pitop/robotics/filterpy/stats.py:22: error: Function is missing a type annotation
  138. pitop/robotics/navigation/core/driving_manager.py:11: error: Call to untyped function "PID" in typed context
  139. pitop/robotics/navigation/core/driving_manager.py:18: error: Call to untyped function "PID" in typed context
  140. pitop/robotics/navigation/core/driving_manager.py:26: error: Function is missing a return type annotation
  141. pitop/robotics/navigation/core/driving_manager.py:26: note: Use "-> None" if function does not return a value
  142. pitop/robotics/navigation/core/driving_manager.py:27: error: Call to untyped function "reset" in typed context
  143. pitop/robotics/navigation/core/driving_manager.py:28: error: Call to untyped function "reset" in typed context
  144. pitop/robotics/navigation/core/driving_manager.py:30: error: Function is missing a type annotation
  145. pitop/robotics/navigation/core/driving_manager.py:33: error: Function is missing a type annotation
  146. pitop/robotics/navigation/core/driving_manager.py:37: error: Function is missing a type annotation
  147. pitop/robotics/navigation/core/driving_manager.py:55: error: Call to untyped function "PIDManager" in typed context
  148. pitop/robotics/navigation/core/driving_manager.py:57: error: Function is missing a type annotation
  149. pitop/robotics/navigation/core/driving_manager.py:63: error: Call to untyped function "distance_update" in typed context
  150. pitop/robotics/navigation/core/driving_manager.py:65: error: Function is missing a type annotation
  151. pitop/robotics/navigation/core/driving_manager.py:71: error: Call to untyped function "heading_update" in typed context
  152. pitop/robotics/navigation/core/driving_manager.py:73: error: Function is missing a type annotation
  153. pitop/robotics/navigation/core/driving_manager.py:76: error: Function is missing a type annotation
  154. pitop/robotics/navigation/core/driving_manager.py:8: error: Function is missing a return type annotation
  155. pitop/robotics/navigation/core/driving_manager.py:8: note: Use "-> None" if function does not return a value
  156. pitop/robotics/navigation/core/goal_criteria.py:17: error: Function is missing a type annotation
  157. pitop/robotics/navigation/core/goal_criteria.py:31: error: Function is missing a type annotation
  158. pitop/robotics/navigation/core/goal_criteria.py:41: error: Function is missing a type annotation
  159. pitop/robotics/navigation/core/goal_criteria.py:44: error: Function is missing a type annotation
  160. pitop/robotics/navigation/core/measurement_scheduler.py:23: error: Function is missing a return type annotation
  161. pitop/robotics/navigation/core/measurement_scheduler.py:23: note: Use "-> None" if function does not return a value
  162. pitop/robotics/navigation/core/measurement_scheduler.py:26: error: Function is missing a return type annotation
  163. pitop/robotics/navigation/core/measurement_scheduler.py:26: note: Use "-> None" if function does not return a value
  164. pitop/robotics/navigation/core/measurement_scheduler.py:37: error: Function is missing a type annotation
  165. pitop/robotics/navigation/core/measurement_scheduler.py:7: error: Function is missing a type annotation
  166. pitop/robotics/navigation/core/robot_state.py:107: error: Function is missing a type annotation
  167. pitop/robotics/navigation/core/robot_state.py:109: error: Call to untyped function "__kalman_predict" in typed context
  168. pitop/robotics/navigation/core/robot_state.py:110: error: Call to untyped function "__kalman_update" in typed context
  169. pitop/robotics/navigation/core/robot_state.py:112: error: Call to untyped function "normalize_angle" in typed context
  170. pitop/robotics/navigation/core/robot_state.py:114: error: Function is missing a type annotation
  171. pitop/robotics/navigation/core/robot_state.py:142: error: Call to untyped function "predict" in typed context
  172. pitop/robotics/navigation/core/robot_state.py:144: error: Function is missing a type annotation
  173. pitop/robotics/navigation/core/robot_state.py:146: error: Call to untyped function "update" in typed context
  174. pitop/robotics/navigation/core/robot_state.py:152: error: Call to untyped function "update" in typed context
  175. pitop/robotics/navigation/core/robot_state.py:155: error: Function is missing a return type annotation
  176. pitop/robotics/navigation/core/robot_state.py:162: error: Function is missing a type annotation
  177. pitop/robotics/navigation/core/robot_state.py:166: error: Function is missing a return type annotation
  178. pitop/robotics/navigation/core/robot_state.py:176: error: Function is missing a return type annotation
  179. pitop/robotics/navigation/core/robot_state.py:183: error: Function is missing a type annotation
  180. pitop/robotics/navigation/core/robot_state.py:187: error: Function is missing a return type annotation
  181. pitop/robotics/navigation/core/robot_state.py:197: error: Function is missing a return type annotation
  182. pitop/robotics/navigation/core/robot_state.py:204: error: Function is missing a type annotation
  183. pitop/robotics/navigation/core/robot_state.py:208: error: Function is missing a return type annotation
  184. pitop/robotics/navigation/core/robot_state.py:218: error: Function is missing a return type annotation
  185. pitop/robotics/navigation/core/robot_state.py:222: error: Function is missing a type annotation
  186. pitop/robotics/navigation/core/robot_state.py:226: error: Function is missing a return type annotation
  187. pitop/robotics/navigation/core/robot_state.py:236: error: Function is missing a return type annotation
  188. pitop/robotics/navigation/core/robot_state.py:243: error: Function is missing a return type annotation
  189. pitop/robotics/navigation/core/robot_state.py:247: error: Function is missing a return type annotation
  190. pitop/robotics/navigation/core/robot_state.py:254: error: Function is missing a return type annotation
  191. pitop/robotics/navigation/core/robot_state.py:258: error: Function is missing a return type annotation
  192. pitop/robotics/navigation/core/robot_state.py:265: error: Function is missing a return type annotation
  193. pitop/robotics/navigation/core/robot_state.py:265: error: Missing type parameters for generic type "tuple"
  194. pitop/robotics/navigation/core/robot_state.py:268: error: Function is missing a return type annotation
  195. pitop/robotics/navigation/core/robot_state.py:268: note: Use "-> None" if function does not return a value
  196. pitop/robotics/navigation/core/robot_state.py:37: error: Function is missing a type annotation
  197. pitop/robotics/navigation/core/robot_state.py:38: error: Call to untyped function "KalmanFilter" in typed context
  198. pitop/robotics/navigation/core/robot_state.py:39: error: Need type annotation for "_velocities"
  199. pitop/robotics/navigation/core/robot_state.py:84: error: Call to untyped function "__init__" in typed context
  200. pitop/robotics/navigation/core/robot_state.py:86: error: Function is missing a return type annotation
  201. pitop/robotics/navigation/core/robot_state.py:98: error: Function is missing a return type annotation
  202. pitop/robotics/navigation/core/utils.py:14: error: Function is missing a type annotation
  203. pitop/robotics/navigation/core/utils.py:4: error: Function is missing a type annotation
  204. pitop/robotics/navigation/navigation_controller.py:117: error: Call to untyped function "verify_callback" in typed context
  205. pitop/robotics/navigation/navigation_controller.py:132: error: Function is missing a type annotation
  206. pitop/robotics/navigation/navigation_controller.py:133: error: Call to untyped function "__navigation_started" in typed context
  207. pitop/robotics/navigation/navigation_controller.py:136: error: Call to untyped function "navigate" in typed context
  208. pitop/robotics/navigation/navigation_controller.py:137: error: Call to untyped function "robot_move" in typed context
  209. pitop/robotics/navigation/navigation_controller.py:142: error: Call to untyped function "__navigation_finished" in typed context
  210. pitop/robotics/navigation/navigation_controller.py:144: error: Function is missing a return type annotation
  211. pitop/robotics/navigation/navigation_controller.py:150: error: Function is missing a return type annotation
  212. pitop/robotics/navigation/navigation_controller.py:151: error: Call to untyped function "wait_for_measurement" in typed context
  213. pitop/robotics/navigation/navigation_controller.py:155: error: Function is missing a return type annotation
  214. pitop/robotics/navigation/navigation_controller.py:166: error: Function is missing a return type annotation
  215. pitop/robotics/navigation/navigation_controller.py:16: error: Function is missing a type annotation for one or more arguments
  216. pitop/robotics/navigation/navigation_controller.py:173: error: Function is missing a return type annotation
  217. pitop/robotics/navigation/navigation_controller.py:185: error: Function is missing a return type annotation
  218. pitop/robotics/navigation/navigation_controller.py:192: error: Function is missing a type annotation
  219. pitop/robotics/navigation/navigation_controller.py:203: error: Function is missing a return type annotation
  220. pitop/robotics/navigation/navigation_controller.py:203: note: Use "-> None" if function does not return a value
  221. pitop/robotics/navigation/navigation_controller.py:205: error: Call to untyped function "reset_pose" in typed context
  222. pitop/robotics/navigation/navigation_controller.py:207: error: Function is missing a return type annotation
  223. pitop/robotics/navigation/navigation_controller.py:207: note: Use "-> None" if function does not return a value
  224. pitop/robotics/navigation/navigation_controller.py:215: error: Call to untyped function "stop_navigation" in typed context
  225. pitop/robotics/navigation/navigation_controller.py:216: error: Call to untyped function "stop_movement" in typed context
  226. pitop/robotics/navigation/navigation_controller.py:218: error: Function is missing a return type annotation
  227. pitop/robotics/navigation/navigation_controller.py:218: note: Use "-> None" if function does not return a value
  228. pitop/robotics/navigation/navigation_controller.py:221: error: "Navigator" has no attribute "stop_triggered"; maybe "_stop_triggered"?
  229. pitop/robotics/navigation/navigation_controller.py:223: error: Item "None" of "Optional[Any]" has no attribute "join"
  230. pitop/robotics/navigation/navigation_controller.py:226: error: Call to untyped function "__navigation_finished" in typed context
  231. pitop/robotics/navigation/navigation_controller.py:228: error: Function is missing a return type annotation
  232. pitop/robotics/navigation/navigation_controller.py:228: note: Use "-> None" if function does not return a value
  233. pitop/robotics/navigation/navigation_controller.py:229: error: Call to untyped function "stop" in typed context
  234. pitop/robotics/navigation/navigation_controller.py:231: error: Function is missing a return type annotation
  235. pitop/robotics/navigation/navigation_controller.py:231: note: Use "-> None" if function does not return a value
  236. pitop/robotics/navigation/navigation_controller.py:233: error: "Navigator" has no attribute "stop_triggered"; maybe "_stop_triggered"?
  237. pitop/robotics/navigation/navigation_controller.py:235: error: Function is missing a return type annotation
  238. pitop/robotics/navigation/navigation_controller.py:235: note: Use "-> None" if function does not return a value
  239. pitop/robotics/navigation/navigation_controller.py:30: error: Call to untyped function "__init__" in typed context
  240. pitop/robotics/navigation/navigation_controller.py:47: error: Call to untyped function "StateFilter" in typed context
  241. pitop/robotics/navigation/navigation_controller.py:59: error: Call to untyped function "MeasurementScheduler" in typed context
  242. pitop/robotics/navigation/navigation_controller.py:69: error: Function is missing a return type annotation
  243. pitop/robotics/navigation/navigation_controller.py:75: error: Function is missing a return type annotation
  244. pitop/robotics/navigation/navigation_controller.py:75: error: Function is missing a type annotation for one or more arguments
  245. pitop/robotics/navigation/navigation_controller.py:77: error: Missing type parameters for generic type "tuple"
  246. pitop/robotics/navigation/navigator.py:104: error: Call to untyped function "get_errors" in typed context
  247. pitop/robotics/navigation/navigator.py:106: error: Call to untyped function "angle" in typed context
  248. pitop/robotics/navigation/navigator.py:106: error: Call to untyped function "reached_position" in typed context
  249. pitop/robotics/navigation/navigator.py:108: error: Call to untyped function "reset" in typed context
  250. pitop/robotics/navigation/navigator.py:114: error: Call to untyped function "get_motor_input" in typed context
  251. pitop/robotics/navigation/navigator.py:116: error: Function is missing a type annotation
  252. pitop/robotics/navigation/navigator.py:120: error: Call to untyped function "get_errors" in typed context
  253. pitop/robotics/navigation/navigator.py:124: error: Call to untyped function "distance" in typed context
  254. pitop/robotics/navigation/navigator.py:130: error: Call to untyped function "get_motor_input" in typed context
  255. pitop/robotics/navigation/navigator.py:134: error: Function is missing a type annotation
  256. pitop/robotics/navigation/navigator.py:141: error: Call to untyped function "get_errors" in typed context
  257. pitop/robotics/navigation/navigator.py:143: error: Call to untyped function "angle" in typed context
  258. pitop/robotics/navigation/navigator.py:145: error: Call to untyped function "reset" in typed context
  259. pitop/robotics/navigation/navigator.py:151: error: Call to untyped function "get_motor_input" in typed context
  260. pitop/robotics/navigation/navigator.py:153: error: Function is missing a type annotation
  261. pitop/robotics/navigation/navigator.py:154: error: Call to untyped function "normalize_angle" in typed context
  262. pitop/robotics/navigation/navigator.py:156: error: Function is missing a type annotation
  263. pitop/robotics/navigation/navigator.py:161: error: Function is missing a type annotation
  264. pitop/robotics/navigation/navigator.py:168: error: Function is missing a return type annotation
  265. pitop/robotics/navigation/navigator.py:16: error: Function is missing a type annotation for one or more arguments
  266. pitop/robotics/navigation/navigator.py:172: error: Function is missing a type annotation
  267. pitop/robotics/navigation/navigator.py:175: error: Call to untyped function "update_angular_speed" in typed context
  268. pitop/robotics/navigation/navigator.py:176: error: Call to untyped function "update_angular_speed" in typed context
  269. pitop/robotics/navigation/navigator.py:179: error: Function is missing a return type annotation
  270. pitop/robotics/navigation/navigator.py:183: error: Function is missing a return type annotation
  271. pitop/robotics/navigation/navigator.py:186: error: Call to untyped function "update_linear_speed" in typed context
  272. pitop/robotics/navigation/navigator.py:187: error: Call to untyped function "update_linear_speed" in typed context
  273. pitop/robotics/navigation/navigator.py:29: error: Call to untyped function "DrivingManager" in typed context
  274. pitop/robotics/navigation/navigator.py:34: error: Function is missing a type annotation
  275. pitop/robotics/navigation/navigator.py:37: error: Call to untyped function "set_course_heading" in typed context
  276. pitop/robotics/navigation/navigator.py:38: error: Call to untyped function "drive_to_position_goal" in typed context
  277. pitop/robotics/navigation/navigator.py:40: error: Call to untyped function "rotate_to_angle_goal" in typed context
  278. pitop/robotics/navigation/navigator.py:46: error: Call to untyped function "reset" in typed context
  279. pitop/robotics/navigation/navigator.py:48: error: Function is missing a type annotation
  280. pitop/robotics/navigation/navigator.py:51: error: Call to untyped function "__get_position_error" in typed context
  281. pitop/robotics/navigation/navigator.py:56: error: Call to untyped function "__get_angle_error" in typed context
  282. pitop/robotics/navigation/navigator.py:59: error: Call to untyped function "distance" in typed context
  283. pitop/robotics/navigation/navigator.py:60: error: Call to untyped function "__get_distance_error" in typed context
  284. pitop/robotics/navigation/navigator.py:64: error: Function is missing a type annotation
  285. pitop/robotics/navigation/navigator.py:73: error: Call to untyped function "__get_position_error" in typed context
  286. pitop/robotics/navigation/navigator.py:76: error: Call to untyped function "__get_distance_error" in typed context
  287. pitop/robotics/navigation/navigator.py:80: error: Call to untyped function "__get_angle_error" in typed context
  288. pitop/robotics/navigation/navigator.py:86: error: Function is missing a type annotation
  289. pitop/robotics/navigation/navigator.py:90: error: Call to untyped function "get_new_linear_speed" in typed context
  290. pitop/robotics/navigation/navigator.py:94: error: Call to untyped function "get_new_angular_speed" in typed context
  291. pitop/robotics/navigation/navigator.py:99: error: Function is missing a type annotation
  292. pitop/robotics/pan_tilt_controller.py:13: error: Function is missing a type annotation
  293. pitop/robotics/pan_tilt_controller.py:15: error: Call to untyped function "ServoMotor" in typed context
  294. pitop/robotics/pan_tilt_controller.py:16: error: Call to untyped function "ServoMotor" in typed context
  295. pitop/robotics/pan_tilt_controller.py:18: error: Call to untyped function "PanTiltObjectTracker" in typed context
  296. pitop/robotics/pan_tilt_controller.py:22: error: Call to untyped function "__init__" in typed context
  297. pitop/robotics/pan_tilt_controller.py:23: error: Call to untyped function "__init__" in typed context
  298. pitop/robotics/pan_tilt_controller.py:33: error: Function is missing a return type annotation
  299. pitop/robotics/pan_tilt_controller.py:37: error: Function is missing a return type annotation
  300. pitop/robotics/pan_tilt_controller.py:44: error: Function is missing a type annotation
  301. pitop/robotics/pan_tilt_controller.py:58: error: Call to untyped function "TwoServoAssemblyCalibrator" in typed context
  302. pitop/robotics/pan_tilt_controller.py:66: error: Call to untyped function "calibrate" in typed context
  303. pitop/robotics/pan_tilt_object_tracker.py:16: error: Function is missing a type annotation
  304. pitop/robotics/pan_tilt_object_tracker.py:20: error: Call to untyped function "PID" in typed context
  305. pitop/robotics/pan_tilt_object_tracker.py:27: error: Call to untyped function "PID" in typed context
  306. pitop/robotics/pan_tilt_object_tracker.py:34: error: Call to untyped function "__set_pid_tunings" in typed context
  307. pitop/robotics/pan_tilt_object_tracker.py:36: error: Function is missing a type annotation
  308. pitop/robotics/pan_tilt_object_tracker.py:44: error: Call to untyped function "__set_pid_tunings" in typed context
  309. pitop/robotics/pan_tilt_object_tracker.py:50: error: Call to untyped function "reset" in typed context
  310. pitop/robotics/pan_tilt_object_tracker.py:57: error: Call to untyped function "reset" in typed context
  311. pitop/robotics/pan_tilt_object_tracker.py:62: error: Function is missing a type annotation
  312. pitop/robotics/pan_tilt_object_tracker.py:66: error: Function is missing a return type annotation
  313. pitop/robotics/pan_tilt_object_tracker.py:66: note: Use "-> None" if function does not return a value
  314. pitop/robotics/pan_tilt_object_tracker.py:67: error: Call to untyped function "reset" in typed context
  315. pitop/robotics/pan_tilt_object_tracker.py:68: error: Call to untyped function "reset" in typed context
  316. pitop/robotics/pan_tilt_object_tracker.py:70: error: Function is missing a return type annotation
  317. pitop/robotics/pan_tilt_object_tracker.py:70: note: Use "-> None" if function does not return a value
  318. pitop/robotics/pan_tilt_object_tracker.py:73: error: Call to untyped function "reset" in typed context
  319. pitop/robotics/pincer_controller.py:14: error: Function is missing a type annotation
  320. pitop/robotics/pincer_controller.py:16: error: Call to untyped function "ServoMotor" in typed context
  321. pitop/robotics/pincer_controller.py:17: error: Call to untyped function "ServoMotor" in typed context
  322. pitop/robotics/pincer_controller.py:21: error: Call to untyped function "__init__" in typed context
  323. pitop/robotics/pincer_controller.py:22: error: Call to untyped function "__init__" in typed context
  324. pitop/robotics/pincer_controller.py:31: error: Function is missing a return type annotation
  325. pitop/robotics/pincer_controller.py:38: error: Call to untyped function "pincer_move" in typed context
  326. pitop/robotics/pincer_controller.py:43: error: Function is missing a return type annotation
  327. pitop/robotics/pincer_controller.py:50: error: Call to untyped function "pincer_move" in typed context
  328. pitop/robotics/pincer_controller.py:55: error: Function is missing a type annotation
  329. pitop/robotics/pincer_controller.py:56: error: Item "None" of "Optional[ServoMotor]" has no attribute "setting"
  330. pitop/robotics/pincer_controller.py:57: error: Item "None" of "Optional[ServoMotor]" has no attribute "setting"
  331. pitop/robotics/pincer_controller.py:59: error: Function is missing a type annotation
  332. pitop/robotics/pincer_controller.py:72: error: Call to untyped function "TwoServoAssemblyCalibrator" in typed context
  333. pitop/robotics/pincer_controller.py:80: error: Call to untyped function "calibrate" in typed context
  334. pitop/robotics/simple_pid/PID.py:131: error: Call to untyped function "_clamp" in typed context
  335. pitop/robotics/simple_pid/PID.py:139: error: Call to untyped function "_clamp" in typed context
  336. pitop/robotics/simple_pid/PID.py:148: error: Function is missing a return type annotation
  337. pitop/robotics/simple_pid/PID.py:160: error: Function is missing a return type annotation
  338. pitop/robotics/simple_pid/PID.py:170: error: Function is missing a return type annotation
  339. pitop/robotics/simple_pid/PID.py:175: error: Function is missing a type annotation
  340. pitop/robotics/simple_pid/PID.py:180: error: Function is missing a return type annotation
  341. pitop/robotics/simple_pid/PID.py:186: error: Function is missing a type annotation
  342. pitop/robotics/simple_pid/PID.py:188: error: Call to untyped function "set_auto_mode" in typed context
  343. pitop/robotics/simple_pid/PID.py:190: error: Function is missing a type annotation
  344. pitop/robotics/simple_pid/PID.py:206: error: Call to untyped function "reset" in typed context
  345. pitop/robotics/simple_pid/PID.py:209: error: Call to untyped function "_clamp" in typed context
  346. pitop/robotics/simple_pid/PID.py:214: error: Function is missing a return type annotation
  347. pitop/robotics/simple_pid/PID.py:222: error: Function is missing a type annotation
  348. pitop/robotics/simple_pid/PID.py:236: error: Call to untyped function "_clamp" in typed context
  349. pitop/robotics/simple_pid/PID.py:237: error: Call to untyped function "_clamp" in typed context
  350. pitop/robotics/simple_pid/PID.py:239: error: Function is missing a return type annotation
  351. pitop/robotics/simple_pid/PID.py:239: note: Use "-> None" if function does not return a value
  352. pitop/robotics/simple_pid/PID.py:249: error: Call to untyped function "_clamp" in typed context
  353. pitop/robotics/simple_pid/PID.py:30: error: Function is missing a type annotation
  354. pitop/robotics/simple_pid/PID.py:5: error: Function is missing a type annotation
  355. pitop/robotics/simple_pid/PID.py:82: error: Call to untyped function "reset" in typed context
  356. pitop/robotics/simple_pid/PID.py:84: error: Function is missing a type annotation
  357. pitop/robotics/simple_pid/PID.py:99: error: Unsupported operand types for - ("float" and "None")
  358. pitop/robotics/simple_pid/PID.py:99: note: Right operand is of type "Optional[Any]"
  359. pitop/robotics/tilt_roll_head_controller.py:102: error: Argument "servo" to "OscillateRequest" has incompatible type "Optional[ServoMotor]"; expected "ServoMotor"
  360. pitop/robotics/tilt_roll_head_controller.py:109: error: Function is missing a return type annotation
  361. pitop/robotics/tilt_roll_head_controller.py:136: error: Function is missing a return type annotation
  362. pitop/robotics/tilt_roll_head_controller.py:136: note: Use "-> None" if function does not return a value
  363. pitop/robotics/tilt_roll_head_controller.py:151: error: Call to untyped function "reset_servo_state" in typed context
  364. pitop/robotics/tilt_roll_head_controller.py:165: error: Call to untyped function "reset_servo_state" in typed context
  365. pitop/robotics/tilt_roll_head_controller.py:167: error: Function is missing a return type annotation
  366. pitop/robotics/tilt_roll_head_controller.py:173: error: Function is missing a return type annotation
  367. pitop/robotics/tilt_roll_head_controller.py:175: error: Call to untyped function "stop" in typed context
  368. pitop/robotics/tilt_roll_head_controller.py:176: error: Item "None" of "Optional[ThreadControl]" has no attribute "cancel"
  369. pitop/robotics/tilt_roll_head_controller.py:186: error: Call to untyped function "cancelled" in typed context
  370. pitop/robotics/tilt_roll_head_controller.py:190: error: Call to untyped function "cancelled" in typed context
  371. pitop/robotics/tilt_roll_head_controller.py:194: error: Function is missing a type annotation for one or more arguments
  372. pitop/robotics/tilt_roll_head_controller.py:200: error: Call to untyped function "sweep" in typed context
  373. pitop/robotics/tilt_roll_head_controller.py:203: error: Call to untyped function "sweep" in typed context
  374. pitop/robotics/tilt_roll_head_controller.py:219: error: Call to untyped function "TwoServoAssemblyCalibrator" in typed context
  375. pitop/robotics/tilt_roll_head_controller.py:227: error: Call to untyped function "calibrate" in typed context
  376. pitop/robotics/tilt_roll_head_controller.py:24: error: Function is missing a return type annotation
  377. pitop/robotics/tilt_roll_head_controller.py:24: note: Use "-> None" if function does not return a value
  378. pitop/robotics/tilt_roll_head_controller.py:34: error: Function is missing a type annotation
  379. pitop/robotics/tilt_roll_head_controller.py:36: error: Call to untyped function "ServoMotor" in typed context
  380. pitop/robotics/tilt_roll_head_controller.py:37: error: Call to untyped function "ServoMotor" in typed context
  381. pitop/robotics/tilt_roll_head_controller.py:39: error: Call to untyped function "PID" in typed context
  382. pitop/robotics/tilt_roll_head_controller.py:44: error: Call to untyped function "ThreadControl" in typed context
  383. pitop/robotics/tilt_roll_head_controller.py:45: error: Call to untyped function "ThreadControl" in typed context
  384. pitop/robotics/tilt_roll_head_controller.py:47: error: Call to untyped function "__init__" in typed context
  385. pitop/robotics/tilt_roll_head_controller.py:48: error: Call to untyped function "__init__" in typed context
  386. pitop/robotics/tilt_roll_head_controller.py:59: error: Incompatible return value type (got "Optional[ServoMotor]", expected "ServoMotor")
  387. pitop/robotics/tilt_roll_head_controller.py:63: error: Incompatible return value type (got "Optional[ServoMotor]", expected "ServoMotor")
  388. pitop/robotics/tilt_roll_head_controller.py:66: error: Call to untyped function "sweep" in typed context
  389. pitop/robotics/tilt_roll_head_controller.py:67: error: Call to untyped function "sweep" in typed context
  390. pitop/robotics/tilt_roll_head_controller.py:82: error: Argument "servo" to "OscillateRequest" has incompatible type "Optional[ServoMotor]"; expected "ServoMotor"
  391. pitop/robotics/two_servo_assembly_calibrator.py:17: error: Function is missing a type annotation
  392. pitop/robotics/two_servo_assembly_calibrator.py:31: error: Call to untyped function "__load_calibration" in typed context
  393. pitop/robotics/two_servo_assembly_calibrator.py:35: error: Call to untyped function "__calibrate_servo" in typed context
  394. pitop/robotics/two_servo_assembly_calibrator.py:37: error: Call to untyped function "__save_calibration" in typed context
  395. pitop/robotics/two_servo_assembly_calibrator.py:43: error: Function is missing a type annotation
  396. pitop/robotics/two_servo_assembly_calibrator.py:51: error: Incompatible types in assignment (expression has type "int", variable has type "str")
  397. pitop/robotics/two_servo_assembly_calibrator.py:52: error: Unsupported operand types for < ("str" and "int")
  398. pitop/robotics/two_servo_assembly_calibrator.py:54: error: Unsupported operand types for > ("str" and "int")
  399. pitop/robotics/two_servo_assembly_calibrator.py:76: error: Function is missing a return type annotation
  400. pitop/robotics/two_servo_assembly_calibrator.py:76: note: Use "-> None" if function does not return a value
  401. pitop/robotics/two_servo_assembly_calibrator.py:87: error: Function is missing a type annotation
  402. pitop/robotics/two_servo_assembly_calibrator.py:88: error: Function is missing a return type annotation
  403. pitop/robotics/two_servo_assembly_calibrator.py:88: note: Use "-> None" if function does not return a value
  404. pitop/robotics/two_servo_assembly_calibrator.py:96: error: Call to untyped function "create_config_file" in typed context
  405. pitop/robotics/two_servo_assembly_calibrator.py:9: error: Function is missing a type annotation
Advertisement
Add Comment
Please, Sign In to add comment