Advertisement
Guest User

Untitled

a guest
Dec 18th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.98 KB | None | 0 0
  1. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  2. from ./include/okapi/api.hpp:10,
  3. from ./include/main.h:38,
  4. from src/initialize.cpp:1:
  5. ./include/okapi/api/util/logging.hpp:27:31: error: 'std::string_view' has not been declared
  6. std::string_view filename,
  7. ^~~~~~~~~~~
  8. ./include/okapi/api/util/logging.hpp:53:19: error: 'std::string_view' has not been declared
  9. void debug(std::string_view message) const noexcept;
  10. ^~~~~~~~~~~
  11. ./include/okapi/api/util/logging.hpp:55:18: error: 'std::string_view' has not been declared
  12. void info(std::string_view message) const noexcept;
  13. ^~~~~~~~~~~
  14. ./include/okapi/api/util/logging.hpp:57:18: error: 'std::string_view' has not been declared
  15. void warn(std::string_view message) const noexcept;
  16. ^~~~~~~~~~~
  17. ./include/okapi/api/util/logging.hpp:59:19: error: 'std::string_view' has not been declared
  18. void error(std::string_view message) const noexcept;
  19. ^~~~~~~~~~~
  20. In file included from ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:14:0,
  21. from ./include/okapi/api.hpp:17,
  22. from ./include/main.h:38,
  23. from src/initialize.cpp:1:
  24. ./include/okapi/api/util/mathUtil.hpp: In function 'constexpr double okapi::deadband(double, double, double)':
  25. ./include/okapi/api/util/mathUtil.hpp:79:10: error: 'clamp' is not a member of 'std'
  26. return std::clamp(value, min, max) == value ? 0 : value;
  27. ^~~
  28. In file included from ./include/okapi/api.hpp:17:0,
  29. from ./include/main.h:38,
  30. from src/initialize.cpp:1:
  31. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::Motor&, const okapi::Motor&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  32. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  33. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  34. ^
  35. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  36. okapi_makeCreateIntImpl(tank, motorType, methodName); \
  37. ^~~~~~~~~~~~~~~~~~~~~~~
  38. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  39. okapi_makeCreateIntImpl2(motorType, create); \
  40. ^~~~~~~~~~~~~~~~~~~~~~~~
  41. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  42. okapi_makeCreateInt(motorType); \
  43. ^~~~~~~~~~~~~~~~~~~
  44. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
  45. okapi_makeCreateAll(Motor);
  46. ^~~~~~~~~~~~~~~~~~~
  47. In file included from ./include/okapi/api.hpp:10:0,
  48. from ./include/main.h:38,
  49. from src/initialize.cpp:1:
  50. ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:16:7: note: 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)' is implicitly deleted because the default definition would be ill-formed:
  51. class ChassisControllerIntegrated : public virtual ChassisController {
  52. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  53. ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:16:7: error: use of deleted function 'okapi::ChassisController::ChassisController(const okapi::ChassisController&)'
  54. In file included from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10:0,
  55. from ./include/okapi/api.hpp:10,
  56. from ./include/main.h:38,
  57. from src/initialize.cpp:1:
  58. ./include/okapi/api/chassis/controller/chassisController.hpp:19:7: note: 'okapi::ChassisController::ChassisController(const okapi::ChassisController&)' is implicitly deleted because the default definition would be ill-formed:
  59. class ChassisController : public ChassisModel {
  60. ^~~~~~~~~~~~~~~~~
  61. ./include/okapi/api/chassis/controller/chassisController.hpp:19:7: error: use of deleted function 'okapi::ChassisModel::ChassisModel(const okapi::ChassisModel&)'
  62. In file included from ./include/okapi/api/chassis/controller/chassisController.hpp:11:0,
  63. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10,
  64. from ./include/okapi/api.hpp:10,
  65. from ./include/main.h:38,
  66. from src/initialize.cpp:1:
  67. ./include/okapi/api/chassis/model/chassisModel.hpp:26:3: note: declared here
  68. ChassisModel(const ChassisModel &) = delete;
  69. ^~~~~~~~~~~~
  70. In file included from ./include/okapi/api.hpp:17:0,
  71. from ./include/main.h:38,
  72. from src/initialize.cpp:1:
  73. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::Motor&, const okapi::Motor&, const okapi::Motor&, const okapi::Motor&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  74. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  75. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  76. ^
  77. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  78. okapi_makeCreateIntImpl(xdrive, motorType, methodName)
  79. ^~~~~~~~~~~~~~~~~~~~~~~
  80. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  81. okapi_makeCreateIntImpl2(motorType, create); \
  82. ^~~~~~~~~~~~~~~~~~~~~~~~
  83. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  84. okapi_makeCreateInt(motorType); \
  85. ^~~~~~~~~~~~~~~~~~~
  86. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
  87. okapi_makeCreateAll(Motor);
  88. ^~~~~~~~~~~~~~~~~~~
  89. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::MotorGroup&, const okapi::MotorGroup&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  90. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  91. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  92. ^
  93. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  94. okapi_makeCreateIntImpl(tank, motorType, methodName); \
  95. ^~~~~~~~~~~~~~~~~~~~~~~
  96. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  97. okapi_makeCreateIntImpl2(motorType, create); \
  98. ^~~~~~~~~~~~~~~~~~~~~~~~
  99. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  100. okapi_makeCreateInt(motorType); \
  101. ^~~~~~~~~~~~~~~~~~~
  102. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
  103. okapi_makeCreateAll(MotorGroup);
  104. ^~~~~~~~~~~~~~~~~~~
  105. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::MotorGroup&, const okapi::MotorGroup&, const okapi::MotorGroup&, const okapi::MotorGroup&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  106. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  107. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  108. ^
  109. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  110. okapi_makeCreateIntImpl(xdrive, motorType, methodName)
  111. ^~~~~~~~~~~~~~~~~~~~~~~
  112. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  113. okapi_makeCreateIntImpl2(motorType, create); \
  114. ^~~~~~~~~~~~~~~~~~~~~~~~
  115. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  116. okapi_makeCreateInt(motorType); \
  117. ^~~~~~~~~~~~~~~~~~~
  118. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
  119. okapi_makeCreateAll(MotorGroup);
  120. ^~~~~~~~~~~~~~~~~~~
  121. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static okapi::ChassisControllerIntegrated okapi::ChassisControllerFactory::create(const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  122. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  123. iscales); \
  124. ^
  125. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:180:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
  126. okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseTank, SkidSteerModel); \
  127. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  128. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
  129. okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
  130. ^~~~~~~~~~~~~~~~~~~~~~~
  131. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static okapi::ChassisControllerIntegrated okapi::ChassisControllerFactory::create(const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  132. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  133. iscales); \
  134. ^
  135. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:181:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
  136. okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseXdrive, XDriveModel)
  137. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  138. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
  139. okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
  140. ^~~~~~~~~~~~~~~~~~~~~~~
  141. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  142. from ./include/okapi/api.hpp:23,
  143. from ./include/main.h:38,
  144. from src/initialize.cpp:1:
  145. ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::reset()':
  146. ./include/okapi/api/control/async/asyncWrapper.hpp:162:39: error: no matching function for call to 'okapi::Logger::info(const char [20])'
  147. logger->info("AsyncWrapper: Reset");
  148. ^
  149. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  150. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  151. from ./include/okapi/api.hpp:10,
  152. from ./include/main.h:38,
  153. from src/initialize.cpp:1:
  154. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  155. void info(std::string_view message) const noexcept;
  156. ^~~~
  157. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  158. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  159. from ./include/okapi/api.hpp:23,
  160. from ./include/main.h:38,
  161. from src/initialize.cpp:1:
  162. ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::flipDisable(bool)':
  163. ./include/okapi/api/control/async/asyncWrapper.hpp:184:76: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
  164. logger->info("AsyncWrapper: flipDisable " + std::to_string(iisDisabled));
  165. ^
  166. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  167. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  168. from ./include/okapi/api.hpp:10,
  169. from ./include/main.h:38,
  170. from src/initialize.cpp:1:
  171. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
  172. void info(std::string_view message) const noexcept;
  173. ^~~~
  174. ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
  175. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  176. from ./include/okapi/api.hpp:23,
  177. from ./include/main.h:38,
  178. from src/initialize.cpp:1:
  179. ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::waitUntilSettled()':
  180. ./include/okapi/api/control/async/asyncWrapper.hpp:203:51: error: no matching function for call to 'okapi::Logger::info(const char [32])'
  181. logger->info("AsyncWrapper: Waiting to settle");
  182. ^
  183. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  184. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  185. from ./include/okapi/api.hpp:10,
  186. from ./include/main.h:38,
  187. from src/initialize.cpp:1:
  188. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  189. void info(std::string_view message) const noexcept;
  190. ^~~~
  191. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  192. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  193. from ./include/okapi/api.hpp:23,
  194. from ./include/main.h:38,
  195. from src/initialize.cpp:1:
  196. ./include/okapi/api/control/async/asyncWrapper.hpp:209:56: error: no matching function for call to 'okapi::Logger::info(const char [37])'
  197. logger->info("AsyncWrapper: Done waiting to settle");
  198. ^
  199. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  200. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  201. from ./include/okapi/api.hpp:10,
  202. from ./include/main.h:38,
  203. from src/initialize.cpp:1:
  204. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  205. void info(std::string_view message) const noexcept;
  206. ^~~~
  207. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  208. In file included from ./include/okapi/api.hpp:32:0,
  209. from ./include/main.h:38,
  210. from src/initialize.cpp:1:
  211. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilSettled(Input, okapi::AsyncController<Input, Output>&)':
  212. ./include/okapi/api/control/util/controllerRunner.hpp:40:94: error: no matching function for call to 'okapi::Logger::info(const char [75])'
  213. logger->info("ControllerRunner: runUntilSettled(AsyncController): Done waiting to settle");
  214. ^
  215. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  216. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  217. from ./include/okapi/api.hpp:10,
  218. from ./include/main.h:38,
  219. from src/initialize.cpp:1:
  220. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  221. void info(std::string_view message) const noexcept;
  222. ^~~~
  223. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  224. In file included from ./include/okapi/api.hpp:32:0,
  225. from ./include/main.h:38,
  226. from src/initialize.cpp:1:
  227. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilSettled(Input, okapi::IterativeController<Input, Output>&, okapi::ControllerOutput<Output>&)':
  228. ./include/okapi/api/control/util/controllerRunner.hpp:64:98: error: no matching function for call to 'okapi::Logger::info(const char [79])'
  229. logger->info("ControllerRunner: runUntilSettled(IterativeController): Done waiting to settle");
  230. ^
  231. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  232. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  233. from ./include/okapi/api.hpp:10,
  234. from ./include/main.h:38,
  235. from src/initialize.cpp:1:
  236. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  237. void info(std::string_view message) const noexcept;
  238. ^~~~
  239. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  240. In file included from ./include/okapi/api.hpp:32:0,
  241. from ./include/main.h:38,
  242. from src/initialize.cpp:1:
  243. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilAtTarget(Input, okapi::AsyncController<Input, Output>&)':
  244. ./include/okapi/api/control/util/controllerRunner.hpp:89:95: error: no matching function for call to 'okapi::Logger::info(const char [76])'
  245. logger->info("ControllerRunner: runUntilAtTarget(AsyncController): Done waiting to settle");
  246. ^
  247. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  248. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  249. from ./include/okapi/api.hpp:10,
  250. from ./include/main.h:38,
  251. from src/initialize.cpp:1:
  252. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  253. void info(std::string_view message) const noexcept;
  254. ^~~~
  255. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  256. In file included from ./include/okapi/api.hpp:32:0,
  257. from ./include/main.h:38,
  258. from src/initialize.cpp:1:
  259. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilAtTarget(Input, okapi::IterativeController<Input, Output>&, okapi::ControllerOutput<Output>&)':
  260. ./include/okapi/api/control/util/controllerRunner.hpp:117:99: error: no matching function for call to 'okapi::Logger::info(const char [80])'
  261. logger->info("ControllerRunner: runUntilAtTarget(IterativeController): Done waiting to settle");
  262. ^
  263. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  264. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  265. from ./include/okapi/api.hpp:10,
  266. from ./include/main.h:38,
  267. from src/initialize.cpp:1:
  268. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  269. void info(std::string_view message) const noexcept;
  270. ^~~~
  271. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  272. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  273. from ./include/okapi/api.hpp:23,
  274. from ./include/main.h:38,
  275. from src/initialize.cpp:1:
  276. ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::setTarget(Input) [with Input = double; Output = double]':
  277. src/initialize.cpp:30:1: required from here
  278. ./include/okapi/api/control/async/asyncWrapper.hpp:69:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
  279. logger->info("AsyncWrapper: Set target to " + std::to_string(itarget));
  280. ^~~~~~
  281. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  282. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  283. from ./include/okapi/api.hpp:10,
  284. from ./include/main.h:38,
  285. from src/initialize.cpp:1:
  286. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
  287. void info(std::string_view message) const noexcept;
  288. ^~~~
  289. ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
  290. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  291. from ./include/okapi/api.hpp:23,
  292. from ./include/main.h:38,
  293. from src/initialize.cpp:1:
  294. ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::flipDisable() [with Input = double; Output = double]':
  295. src/initialize.cpp:30:1: required from here
  296. ./include/okapi/api/control/async/asyncWrapper.hpp:172:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
  297. logger->info("AsyncWrapper: flipDisable " + std::to_string(!controller->isDisabled()));
  298. ^~~~~~
  299. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  300. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  301. from ./include/okapi/api.hpp:10,
  302. from ./include/main.h:38,
  303. from src/initialize.cpp:1:
  304. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
  305. void info(std::string_view message) const noexcept;
  306. ^~~~
  307. ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
  308. Compiling src/motor.cpp [WARNINGS]
  309. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  310. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  311. from ./include/okapi/api.hpp:10,
  312. from ./include/main.h:38,
  313. from src/motor.cpp:1:
  314. ./include/okapi/api/util/logging.hpp:27:31: error: 'std::string_view' has not been declared
  315. std::string_view filename,
  316. ^~~~~~~~~~~
  317. ./include/okapi/api/util/logging.hpp:53:19: error: 'std::string_view' has not been declared
  318. void debug(std::string_view message) const noexcept;
  319. ^~~~~~~~~~~
  320. ./include/okapi/api/util/logging.hpp:55:18: error: 'std::string_view' has not been declared
  321. void info(std::string_view message) const noexcept;
  322. ^~~~~~~~~~~
  323. ./include/okapi/api/util/logging.hpp:57:18: error: 'std::string_view' has not been declared
  324. void warn(std::string_view message) const noexcept;
  325. ^~~~~~~~~~~
  326. ./include/okapi/api/util/logging.hpp:59:19: error: 'std::string_view' has not been declared
  327. void error(std::string_view message) const noexcept;
  328. ^~~~~~~~~~~
  329. In file included from ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:14:0,
  330. from ./include/okapi/api.hpp:17,
  331. from ./include/main.h:38,
  332. from src/motor.cpp:1:
  333. ./include/okapi/api/util/mathUtil.hpp: In function 'constexpr double okapi::deadband(double, double, double)':
  334. ./include/okapi/api/util/mathUtil.hpp:79:10: error: 'clamp' is not a member of 'std'
  335. return std::clamp(value, min, max) == value ? 0 : value;
  336. ^~~
  337. In file included from ./include/okapi/api.hpp:17:0,
  338. from ./include/main.h:38,
  339. from src/motor.cpp:1:
  340. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::Motor&, const okapi::Motor&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  341. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  342. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  343. ^
  344. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  345. okapi_makeCreateIntImpl(tank, motorType, methodName); \
  346. ^~~~~~~~~~~~~~~~~~~~~~~
  347. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  348. okapi_makeCreateIntImpl2(motorType, create); \
  349. ^~~~~~~~~~~~~~~~~~~~~~~~
  350. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  351. okapi_makeCreateInt(motorType); \
  352. ^~~~~~~~~~~~~~~~~~~
  353. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
  354. okapi_makeCreateAll(Motor);
  355. ^~~~~~~~~~~~~~~~~~~
  356. In file included from ./include/okapi/api.hpp:10:0,
  357. from ./include/main.h:38,
  358. from src/motor.cpp:1:
  359. ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:16:7: note: 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)' is implicitly deleted because the default definition would be ill-formed:
  360. class ChassisControllerIntegrated : public virtual ChassisController {
  361. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  362. ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:16:7: error: use of deleted function 'okapi::ChassisController::ChassisController(const okapi::ChassisController&)'
  363. In file included from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10:0,
  364. from ./include/okapi/api.hpp:10,
  365. from ./include/main.h:38,
  366. from src/motor.cpp:1:
  367. ./include/okapi/api/chassis/controller/chassisController.hpp:19:7: note: 'okapi::ChassisController::ChassisController(const okapi::ChassisController&)' is implicitly deleted because the default definition would be ill-formed:
  368. class ChassisController : public ChassisModel {
  369. ^~~~~~~~~~~~~~~~~
  370. ./include/okapi/api/chassis/controller/chassisController.hpp:19:7: error: use of deleted function 'okapi::ChassisModel::ChassisModel(const okapi::ChassisModel&)'
  371. In file included from ./include/okapi/api/chassis/controller/chassisController.hpp:11:0,
  372. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10,
  373. from ./include/okapi/api.hpp:10,
  374. from ./include/main.h:38,
  375. from src/motor.cpp:1:
  376. ./include/okapi/api/chassis/model/chassisModel.hpp:26:3: note: declared here
  377. ChassisModel(const ChassisModel &) = delete;
  378. ^~~~~~~~~~~~
  379. In file included from ./include/okapi/api.hpp:17:0,
  380. from ./include/main.h:38,
  381. from src/motor.cpp:1:
  382. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::Motor&, const okapi::Motor&, const okapi::Motor&, const okapi::Motor&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  383. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  384. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  385. ^
  386. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  387. okapi_makeCreateIntImpl(xdrive, motorType, methodName)
  388. ^~~~~~~~~~~~~~~~~~~~~~~
  389. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  390. okapi_makeCreateIntImpl2(motorType, create); \
  391. ^~~~~~~~~~~~~~~~~~~~~~~~
  392. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  393. okapi_makeCreateInt(motorType); \
  394. ^~~~~~~~~~~~~~~~~~~
  395. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
  396. okapi_makeCreateAll(Motor);
  397. ^~~~~~~~~~~~~~~~~~~
  398. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::MotorGroup&, const okapi::MotorGroup&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  399. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  400. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  401. ^
  402. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  403. okapi_makeCreateIntImpl(tank, motorType, methodName); \
  404. ^~~~~~~~~~~~~~~~~~~~~~~
  405. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  406. okapi_makeCreateIntImpl2(motorType, create); \
  407. ^~~~~~~~~~~~~~~~~~~~~~~~
  408. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  409. okapi_makeCreateInt(motorType); \
  410. ^~~~~~~~~~~~~~~~~~~
  411. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
  412. okapi_makeCreateAll(MotorGroup);
  413. ^~~~~~~~~~~~~~~~~~~
  414. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::MotorGroup&, const okapi::MotorGroup&, const okapi::MotorGroup&, const okapi::MotorGroup&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  415. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  416. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  417. ^
  418. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  419. okapi_makeCreateIntImpl(xdrive, motorType, methodName)
  420. ^~~~~~~~~~~~~~~~~~~~~~~
  421. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  422. okapi_makeCreateIntImpl2(motorType, create); \
  423. ^~~~~~~~~~~~~~~~~~~~~~~~
  424. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  425. okapi_makeCreateInt(motorType); \
  426. ^~~~~~~~~~~~~~~~~~~
  427. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
  428. okapi_makeCreateAll(MotorGroup);
  429. ^~~~~~~~~~~~~~~~~~~
  430. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static okapi::ChassisControllerIntegrated okapi::ChassisControllerFactory::create(const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  431. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  432. iscales); \
  433. ^
  434. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:180:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
  435. okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseTank, SkidSteerModel); \
  436. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  437. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
  438. okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
  439. ^~~~~~~~~~~~~~~~~~~~~~~
  440. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static okapi::ChassisControllerIntegrated okapi::ChassisControllerFactory::create(const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  441. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  442. iscales); \
  443. ^
  444. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:181:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
  445. okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseXdrive, XDriveModel)
  446. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  447. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
  448. okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
  449. ^~~~~~~~~~~~~~~~~~~~~~~
  450. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  451. from ./include/okapi/api.hpp:23,
  452. from ./include/main.h:38,
  453. from src/motor.cpp:1:
  454. ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::reset()':
  455. ./include/okapi/api/control/async/asyncWrapper.hpp:162:39: error: no matching function for call to 'okapi::Logger::info(const char [20])'
  456. logger->info("AsyncWrapper: Reset");
  457. ^
  458. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  459. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  460. from ./include/okapi/api.hpp:10,
  461. from ./include/main.h:38,
  462. from src/motor.cpp:1:
  463. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  464. void info(std::string_view message) const noexcept;
  465. ^~~~
  466. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  467. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  468. from ./include/okapi/api.hpp:23,
  469. from ./include/main.h:38,
  470. from src/motor.cpp:1:
  471. ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::flipDisable(bool)':
  472. ./include/okapi/api/control/async/asyncWrapper.hpp:184:76: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
  473. logger->info("AsyncWrapper: flipDisable " + std::to_string(iisDisabled));
  474. ^
  475. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  476. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  477. from ./include/okapi/api.hpp:10,
  478. from ./include/main.h:38,
  479. from src/motor.cpp:1:
  480. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
  481. void info(std::string_view message) const noexcept;
  482. ^~~~
  483. ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
  484. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  485. from ./include/okapi/api.hpp:23,
  486. from ./include/main.h:38,
  487. from src/motor.cpp:1:
  488. ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::waitUntilSettled()':
  489. ./include/okapi/api/control/async/asyncWrapper.hpp:203:51: error: no matching function for call to 'okapi::Logger::info(const char [32])'
  490. logger->info("AsyncWrapper: Waiting to settle");
  491. ^
  492. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  493. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  494. from ./include/okapi/api.hpp:10,
  495. from ./include/main.h:38,
  496. from src/motor.cpp:1:
  497. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  498. void info(std::string_view message) const noexcept;
  499. ^~~~
  500. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  501. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  502. from ./include/okapi/api.hpp:23,
  503. from ./include/main.h:38,
  504. from src/motor.cpp:1:
  505. ./include/okapi/api/control/async/asyncWrapper.hpp:209:56: error: no matching function for call to 'okapi::Logger::info(const char [37])'
  506. logger->info("AsyncWrapper: Done waiting to settle");
  507. ^
  508. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  509. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  510. from ./include/okapi/api.hpp:10,
  511. from ./include/main.h:38,
  512. from src/motor.cpp:1:
  513. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  514. void info(std::string_view message) const noexcept;
  515. ^~~~
  516. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  517. In file included from ./include/okapi/api.hpp:32:0,
  518. from ./include/main.h:38,
  519. from src/motor.cpp:1:
  520. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilSettled(Input, okapi::AsyncController<Input, Output>&)':
  521. ./include/okapi/api/control/util/controllerRunner.hpp:40:94: error: no matching function for call to 'okapi::Logger::info(const char [75])'
  522. logger->info("ControllerRunner: runUntilSettled(AsyncController): Done waiting to settle");
  523. ^
  524. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  525. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  526. from ./include/okapi/api.hpp:10,
  527. from ./include/main.h:38,
  528. from src/motor.cpp:1:
  529. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  530. void info(std::string_view message) const noexcept;
  531. ^~~~
  532. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  533. In file included from ./include/okapi/api.hpp:32:0,
  534. from ./include/main.h:38,
  535. from src/motor.cpp:1:
  536. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilSettled(Input, okapi::IterativeController<Input, Output>&, okapi::ControllerOutput<Output>&)':
  537. ./include/okapi/api/control/util/controllerRunner.hpp:64:98: error: no matching function for call to 'okapi::Logger::info(const char [79])'
  538. logger->info("ControllerRunner: runUntilSettled(IterativeController): Done waiting to settle");
  539. ^
  540. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  541. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  542. from ./include/okapi/api.hpp:10,
  543. from ./include/main.h:38,
  544. from src/motor.cpp:1:
  545. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  546. void info(std::string_view message) const noexcept;
  547. ^~~~
  548. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  549. In file included from ./include/okapi/api.hpp:32:0,
  550. from ./include/main.h:38,
  551. from src/motor.cpp:1:
  552. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilAtTarget(Input, okapi::AsyncController<Input, Output>&)':
  553. ./include/okapi/api/control/util/controllerRunner.hpp:89:95: error: no matching function for call to 'okapi::Logger::info(const char [76])'
  554. logger->info("ControllerRunner: runUntilAtTarget(AsyncController): Done waiting to settle");
  555. ^
  556. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  557. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  558. from ./include/okapi/api.hpp:10,
  559. from ./include/main.h:38,
  560. from src/motor.cpp:1:
  561. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  562. void info(std::string_view message) const noexcept;
  563. ^~~~
  564. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  565. In file included from ./include/okapi/api.hpp:32:0,
  566. from ./include/main.h:38,
  567. from src/motor.cpp:1:
  568. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilAtTarget(Input, okapi::IterativeController<Input, Output>&, okapi::ControllerOutput<Output>&)':
  569. ./include/okapi/api/control/util/controllerRunner.hpp:117:99: error: no matching function for call to 'okapi::Logger::info(const char [80])'
  570. logger->info("ControllerRunner: runUntilAtTarget(IterativeController): Done waiting to settle");
  571. ^
  572. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  573. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  574. from ./include/okapi/api.hpp:10,
  575. from ./include/main.h:38,
  576. from src/motor.cpp:1:
  577. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  578. void info(std::string_view message) const noexcept;
  579. ^~~~
  580. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  581. src/motor.cpp: At global scope:
  582. src/motor.cpp:24:1: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  583. );
  584. ^
  585. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  586. from ./include/okapi/api.hpp:23,
  587. from ./include/main.h:38,
  588. from src/motor.cpp:1:
  589. ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::setTarget(Input) [with Input = double; Output = double]':
  590. src/motor.cpp:85:1: required from here
  591. ./include/okapi/api/control/async/asyncWrapper.hpp:69:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
  592. logger->info("AsyncWrapper: Set target to " + std::to_string(itarget));
  593. ^~~~~~
  594. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  595. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  596. from ./include/okapi/api.hpp:10,
  597. from ./include/main.h:38,
  598. from src/motor.cpp:1:
  599. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
  600. void info(std::string_view message) const noexcept;
  601. ^~~~
  602. ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
  603. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  604. from ./include/okapi/api.hpp:23,
  605. from ./include/main.h:38,
  606. from src/motor.cpp:1:
  607. ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::flipDisable() [with Input = double; Output = double]':
  608. src/motor.cpp:85:1: required from here
  609. ./include/okapi/api/control/async/asyncWrapper.hpp:172:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
  610. logger->info("AsyncWrapper: flipDisable " + std::to_string(!controller->isDisabled()));
  611. ^~~~~~
  612. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  613. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  614. from ./include/okapi/api.hpp:10,
  615. from ./include/main.h:38,
  616. from src/motor.cpp:1:
  617. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
  618. void info(std::string_view message) const noexcept;
  619. ^~~~
  620. ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
  621. Compiling src/opcontrol.cpp [WARNINGS]
  622. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  623. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  624. from ./include/okapi/api.hpp:10,
  625. from ./include/main.h:38,
  626. from src/opcontrol.cpp:1:
  627. ./include/okapi/api/util/logging.hpp:27:31: error: 'std::string_view' has not been declared
  628. std::string_view filename,
  629. ^~~~~~~~~~~
  630. ./include/okapi/api/util/logging.hpp:53:19: error: 'std::string_view' has not been declared
  631. void debug(std::string_view message) const noexcept;
  632. ^~~~~~~~~~~
  633. ./include/okapi/api/util/logging.hpp:55:18: error: 'std::string_view' has not been declared
  634. void info(std::string_view message) const noexcept;
  635. ^~~~~~~~~~~
  636. ./include/okapi/api/util/logging.hpp:57:18: error: 'std::string_view' has not been declared
  637. void warn(std::string_view message) const noexcept;
  638. ^~~~~~~~~~~
  639. ./include/okapi/api/util/logging.hpp:59:19: error: 'std::string_view' has not been declared
  640. void error(std::string_view message) const noexcept;
  641. ^~~~~~~~~~~
  642. In file included from ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:14:0,
  643. from ./include/okapi/api.hpp:17,
  644. from ./include/main.h:38,
  645. from src/opcontrol.cpp:1:
  646. ./include/okapi/api/util/mathUtil.hpp: In function 'constexpr double okapi::deadband(double, double, double)':
  647. ./include/okapi/api/util/mathUtil.hpp:79:10: error: 'clamp' is not a member of 'std'
  648. return std::clamp(value, min, max) == value ? 0 : value;
  649. ^~~
  650. In file included from ./include/okapi/api.hpp:17:0,
  651. from ./include/main.h:38,
  652. from src/opcontrol.cpp:1:
  653. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::Motor&, const okapi::Motor&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  654. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  655. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  656. ^
  657. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  658. okapi_makeCreateIntImpl(tank, motorType, methodName); \
  659. ^~~~~~~~~~~~~~~~~~~~~~~
  660. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  661. okapi_makeCreateIntImpl2(motorType, create); \
  662. ^~~~~~~~~~~~~~~~~~~~~~~~
  663. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  664. okapi_makeCreateInt(motorType); \
  665. ^~~~~~~~~~~~~~~~~~~
  666. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
  667. okapi_makeCreateAll(Motor);
  668. ^~~~~~~~~~~~~~~~~~~
  669. In file included from ./include/okapi/api.hpp:10:0,
  670. from ./include/main.h:38,
  671. from src/opcontrol.cpp:1:
  672. ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:16:7: note: 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)' is implicitly deleted because the default definition would be ill-formed:
  673. class ChassisControllerIntegrated : public virtual ChassisController {
  674. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  675. ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:16:7: error: use of deleted function 'okapi::ChassisController::ChassisController(const okapi::ChassisController&)'
  676. In file included from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10:0,
  677. from ./include/okapi/api.hpp:10,
  678. from ./include/main.h:38,
  679. from src/opcontrol.cpp:1:
  680. ./include/okapi/api/chassis/controller/chassisController.hpp:19:7: note: 'okapi::ChassisController::ChassisController(const okapi::ChassisController&)' is implicitly deleted because the default definition would be ill-formed:
  681. class ChassisController : public ChassisModel {
  682. ^~~~~~~~~~~~~~~~~
  683. ./include/okapi/api/chassis/controller/chassisController.hpp:19:7: error: use of deleted function 'okapi::ChassisModel::ChassisModel(const okapi::ChassisModel&)'
  684. In file included from ./include/okapi/api/chassis/controller/chassisController.hpp:11:0,
  685. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10,
  686. from ./include/okapi/api.hpp:10,
  687. from ./include/main.h:38,
  688. from src/opcontrol.cpp:1:
  689. ./include/okapi/api/chassis/model/chassisModel.hpp:26:3: note: declared here
  690. ChassisModel(const ChassisModel &) = delete;
  691. ^~~~~~~~~~~~
  692. In file included from ./include/okapi/api.hpp:17:0,
  693. from ./include/main.h:38,
  694. from src/opcontrol.cpp:1:
  695. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::Motor&, const okapi::Motor&, const okapi::Motor&, const okapi::Motor&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  696. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  697. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  698. ^
  699. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  700. okapi_makeCreateIntImpl(xdrive, motorType, methodName)
  701. ^~~~~~~~~~~~~~~~~~~~~~~
  702. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  703. okapi_makeCreateIntImpl2(motorType, create); \
  704. ^~~~~~~~~~~~~~~~~~~~~~~~
  705. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  706. okapi_makeCreateInt(motorType); \
  707. ^~~~~~~~~~~~~~~~~~~
  708. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
  709. okapi_makeCreateAll(Motor);
  710. ^~~~~~~~~~~~~~~~~~~
  711. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::MotorGroup&, const okapi::MotorGroup&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  712. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  713. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  714. ^
  715. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  716. okapi_makeCreateIntImpl(tank, motorType, methodName); \
  717. ^~~~~~~~~~~~~~~~~~~~~~~
  718. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  719. okapi_makeCreateIntImpl2(motorType, create); \
  720. ^~~~~~~~~~~~~~~~~~~~~~~~
  721. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  722. okapi_makeCreateInt(motorType); \
  723. ^~~~~~~~~~~~~~~~~~~
  724. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
  725. okapi_makeCreateAll(MotorGroup);
  726. ^~~~~~~~~~~~~~~~~~~
  727. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static auto okapi::ChassisControllerFactory::create(const okapi::MotorGroup&, const okapi::MotorGroup&, const okapi::MotorGroup&, const okapi::MotorGroup&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  728. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  729. okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
  730. ^
  731. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
  732. okapi_makeCreateIntImpl(xdrive, motorType, methodName)
  733. ^~~~~~~~~~~~~~~~~~~~~~~
  734. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
  735. okapi_makeCreateIntImpl2(motorType, create); \
  736. ^~~~~~~~~~~~~~~~~~~~~~~~
  737. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
  738. okapi_makeCreateInt(motorType); \
  739. ^~~~~~~~~~~~~~~~~~~
  740. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
  741. okapi_makeCreateAll(MotorGroup);
  742. ^~~~~~~~~~~~~~~~~~~
  743. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static okapi::ChassisControllerIntegrated okapi::ChassisControllerFactory::create(const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  744. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  745. iscales); \
  746. ^
  747. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:180:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
  748. okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseTank, SkidSteerModel); \
  749. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  750. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
  751. okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
  752. ^~~~~~~~~~~~~~~~~~~~~~~
  753. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp: In static member function 'static okapi::ChassisControllerIntegrated okapi::ChassisControllerFactory::create(const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::AbstractMotor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, const std::shared_ptr<okapi::ContinuousRotarySensor>&, okapi::AbstractMotor::GearsetRatioPair, const okapi::ChassisScales&, const okapi::TimeUtil&)':
  754. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
  755. iscales); \
  756. ^
  757. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:181:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
  758. okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseXdrive, XDriveModel)
  759. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  760. ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
  761. okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
  762. ^~~~~~~~~~~~~~~~~~~~~~~
  763. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  764. from ./include/okapi/api.hpp:23,
  765. from ./include/main.h:38,
  766. from src/opcontrol.cpp:1:
  767. ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::reset()':
  768. ./include/okapi/api/control/async/asyncWrapper.hpp:162:39: error: no matching function for call to 'okapi::Logger::info(const char [20])'
  769. logger->info("AsyncWrapper: Reset");
  770. ^
  771. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  772. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  773. from ./include/okapi/api.hpp:10,
  774. from ./include/main.h:38,
  775. from src/opcontrol.cpp:1:
  776. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  777. void info(std::string_view message) const noexcept;
  778. ^~~~
  779. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  780. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  781. from ./include/okapi/api.hpp:23,
  782. from ./include/main.h:38,
  783. from src/opcontrol.cpp:1:
  784. ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::flipDisable(bool)':
  785. ./include/okapi/api/control/async/asyncWrapper.hpp:184:76: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
  786. logger->info("AsyncWrapper: flipDisable " + std::to_string(iisDisabled));
  787. ^
  788. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  789. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  790. from ./include/okapi/api.hpp:10,
  791. from ./include/main.h:38,
  792. from src/opcontrol.cpp:1:
  793. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
  794. void info(std::string_view message) const noexcept;
  795. ^~~~
  796. ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
  797. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  798. from ./include/okapi/api.hpp:23,
  799. from ./include/main.h:38,
  800. from src/opcontrol.cpp:1:
  801. ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::waitUntilSettled()':
  802. ./include/okapi/api/control/async/asyncWrapper.hpp:203:51: error: no matching function for call to 'okapi::Logger::info(const char [32])'
  803. logger->info("AsyncWrapper: Waiting to settle");
  804. ^
  805. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  806. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  807. from ./include/okapi/api.hpp:10,
  808. from ./include/main.h:38,
  809. from src/opcontrol.cpp:1:
  810. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  811. void info(std::string_view message) const noexcept;
  812. ^~~~
  813. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  814. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  815. from ./include/okapi/api.hpp:23,
  816. from ./include/main.h:38,
  817. from src/opcontrol.cpp:1:
  818. ./include/okapi/api/control/async/asyncWrapper.hpp:209:56: error: no matching function for call to 'okapi::Logger::info(const char [37])'
  819. logger->info("AsyncWrapper: Done waiting to settle");
  820. ^
  821. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  822. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  823. from ./include/okapi/api.hpp:10,
  824. from ./include/main.h:38,
  825. from src/opcontrol.cpp:1:
  826. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  827. void info(std::string_view message) const noexcept;
  828. ^~~~
  829. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  830. In file included from ./include/okapi/api.hpp:32:0,
  831. from ./include/main.h:38,
  832. from src/opcontrol.cpp:1:
  833. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilSettled(Input, okapi::AsyncController<Input, Output>&)':
  834. ./include/okapi/api/control/util/controllerRunner.hpp:40:94: error: no matching function for call to 'okapi::Logger::info(const char [75])'
  835. logger->info("ControllerRunner: runUntilSettled(AsyncController): Done waiting to settle");
  836. ^
  837. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  838. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  839. from ./include/okapi/api.hpp:10,
  840. from ./include/main.h:38,
  841. from src/opcontrol.cpp:1:
  842. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  843. void info(std::string_view message) const noexcept;
  844. ^~~~
  845. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  846. In file included from ./include/okapi/api.hpp:32:0,
  847. from ./include/main.h:38,
  848. from src/opcontrol.cpp:1:
  849. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilSettled(Input, okapi::IterativeController<Input, Output>&, okapi::ControllerOutput<Output>&)':
  850. ./include/okapi/api/control/util/controllerRunner.hpp:64:98: error: no matching function for call to 'okapi::Logger::info(const char [79])'
  851. logger->info("ControllerRunner: runUntilSettled(IterativeController): Done waiting to settle");
  852. ^
  853. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  854. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  855. from ./include/okapi/api.hpp:10,
  856. from ./include/main.h:38,
  857. from src/opcontrol.cpp:1:
  858. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  859. void info(std::string_view message) const noexcept;
  860. ^~~~
  861. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  862. In file included from ./include/okapi/api.hpp:32:0,
  863. from ./include/main.h:38,
  864. from src/opcontrol.cpp:1:
  865. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilAtTarget(Input, okapi::AsyncController<Input, Output>&)':
  866. ./include/okapi/api/control/util/controllerRunner.hpp:89:95: error: no matching function for call to 'okapi::Logger::info(const char [76])'
  867. logger->info("ControllerRunner: runUntilAtTarget(AsyncController): Done waiting to settle");
  868. ^
  869. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  870. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  871. from ./include/okapi/api.hpp:10,
  872. from ./include/main.h:38,
  873. from src/opcontrol.cpp:1:
  874. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  875. void info(std::string_view message) const noexcept;
  876. ^~~~
  877. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  878. In file included from ./include/okapi/api.hpp:32:0,
  879. from ./include/main.h:38,
  880. from src/opcontrol.cpp:1:
  881. ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilAtTarget(Input, okapi::IterativeController<Input, Output>&, okapi::ControllerOutput<Output>&)':
  882. ./include/okapi/api/control/util/controllerRunner.hpp:117:99: error: no matching function for call to 'okapi::Logger::info(const char [80])'
  883. logger->info("ControllerRunner: runUntilAtTarget(IterativeController): Done waiting to settle");
  884. ^
  885. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  886. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  887. from ./include/okapi/api.hpp:10,
  888. from ./include/main.h:38,
  889. from src/opcontrol.cpp:1:
  890. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
  891. void info(std::string_view message) const noexcept;
  892. ^~~~
  893. ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
  894. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  895. from ./include/okapi/api.hpp:23,
  896. from ./include/main.h:38,
  897. from src/opcontrol.cpp:1:
  898. ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::setTarget(Input) [with Input = double; Output = double]':
  899. src/opcontrol.cpp:31:1: required from here
  900. ./include/okapi/api/control/async/asyncWrapper.hpp:69:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
  901. logger->info("AsyncWrapper: Set target to " + std::to_string(itarget));
  902. ^~~~~~
  903. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  904. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  905. from ./include/okapi/api.hpp:10,
  906. from ./include/main.h:38,
  907. from src/opcontrol.cpp:1:
  908. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
  909. void info(std::string_view message) const noexcept;
  910. ^~~~
  911. ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
  912. In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
  913. from ./include/okapi/api.hpp:23,
  914. from ./include/main.h:38,
  915. from src/opcontrol.cpp:1:
  916. ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::flipDisable() [with Input = double; Output = double]':
  917. src/opcontrol.cpp:31:1: required from here
  918. ./include/okapi/api/control/async/asyncWrapper.hpp:172:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
  919. logger->info("AsyncWrapper: flipDisable " + std::to_string(!controller->isDisabled()));
  920. ^~~~~~
  921. In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
  922. from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
  923. from ./include/okapi/api.hpp:10,
  924. from ./include/main.h:38,
  925. from src/opcontrol.cpp:1:
  926. ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
  927. void info(std::string_view message) const noexcept;
  928. ^~~~
  929. ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
  930. Adding timestamp [OK]
  931. Linking project with okapilib,libpros [ERRORS]
  932. arm-none-eabi-g++.exe: error: bin/autonomous.cpp.o: No such file or directory
  933. arm-none-eabi-g++.exe: error: bin/initialize.cpp.o: No such file or directory
  934. arm-none-eabi-g++.exe: error: bin/motor.cpp.o: No such file or directory
  935. arm-none-eabi-g++.exe: error: bin/opcontrol.cpp.o: No such file or directory
  936. make: *** [Makefile:78: bin/output.elf] Error 1
  937. Capturing metadata for PROS Editor...
  938. Error: Failed to build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement