Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:27:31: error: 'std::string_view' has not been declared
- std::string_view filename,
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:53:19: error: 'std::string_view' has not been declared
- void debug(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:55:18: error: 'std::string_view' has not been declared
- void info(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:57:18: error: 'std::string_view' has not been declared
- void warn(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:59:19: error: 'std::string_view' has not been declared
- void error(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- In file included from ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:14:0,
- from ./include/okapi/api.hpp:17,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/mathUtil.hpp: In function 'constexpr double okapi::deadband(double, double, double)':
- ./include/okapi/api/util/mathUtil.hpp:79:10: error: 'clamp' is not a member of 'std'
- return std::clamp(value, min, max) == value ? 0 : value;
- ^~~
- In file included from ./include/okapi/api.hpp:17:0,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(tank, motorType, methodName); \
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(Motor);
- ^~~~~~~~~~~~~~~~~~~
- In file included from ./include/okapi/api.hpp:10:0,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./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:
- class ChassisControllerIntegrated : public virtual ChassisController {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:16:7: error: use of deleted function 'okapi::ChassisController::ChassisController(const okapi::ChassisController&)'
- In file included from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10:0,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./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:
- class ChassisController : public ChassisModel {
- ^~~~~~~~~~~~~~~~~
- ./include/okapi/api/chassis/controller/chassisController.hpp:19:7: error: use of deleted function 'okapi::ChassisModel::ChassisModel(const okapi::ChassisModel&)'
- In file included from ./include/okapi/api/chassis/controller/chassisController.hpp:11:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/chassis/model/chassisModel.hpp:26:3: note: declared here
- ChassisModel(const ChassisModel &) = delete;
- ^~~~~~~~~~~~
- In file included from ./include/okapi/api.hpp:17:0,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(xdrive, motorType, methodName)
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(Motor);
- ^~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(tank, motorType, methodName); \
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(MotorGroup);
- ^~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(xdrive, motorType, methodName)
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(MotorGroup);
- ^~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- iscales); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:180:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
- okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseTank, SkidSteerModel); \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
- okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- iscales); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:181:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
- okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseXdrive, XDriveModel)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
- okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::reset()':
- ./include/okapi/api/control/async/asyncWrapper.hpp:162:39: error: no matching function for call to 'okapi::Logger::info(const char [20])'
- logger->info("AsyncWrapper: Reset");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::flipDisable(bool)':
- ./include/okapi/api/control/async/asyncWrapper.hpp:184:76: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
- logger->info("AsyncWrapper: flipDisable " + std::to_string(iisDisabled));
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::waitUntilSettled()':
- ./include/okapi/api/control/async/asyncWrapper.hpp:203:51: error: no matching function for call to 'okapi::Logger::info(const char [32])'
- logger->info("AsyncWrapper: Waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp:209:56: error: no matching function for call to 'okapi::Logger::info(const char [37])'
- logger->info("AsyncWrapper: Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilSettled(Input, okapi::AsyncController<Input, Output>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:40:94: error: no matching function for call to 'okapi::Logger::info(const char [75])'
- logger->info("ControllerRunner: runUntilSettled(AsyncController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./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>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:64:98: error: no matching function for call to 'okapi::Logger::info(const char [79])'
- logger->info("ControllerRunner: runUntilSettled(IterativeController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilAtTarget(Input, okapi::AsyncController<Input, Output>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:89:95: error: no matching function for call to 'okapi::Logger::info(const char [76])'
- logger->info("ControllerRunner: runUntilAtTarget(AsyncController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./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>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:117:99: error: no matching function for call to 'okapi::Logger::info(const char [80])'
- logger->info("ControllerRunner: runUntilAtTarget(IterativeController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::setTarget(Input) [with Input = double; Output = double]':
- src/initialize.cpp:30:1: required from here
- ./include/okapi/api/control/async/asyncWrapper.hpp:69:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
- logger->info("AsyncWrapper: Set target to " + std::to_string(itarget));
- ^~~~~~
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::flipDisable() [with Input = double; Output = double]':
- src/initialize.cpp:30:1: required from here
- ./include/okapi/api/control/async/asyncWrapper.hpp:172:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
- logger->info("AsyncWrapper: flipDisable " + std::to_string(!controller->isDisabled()));
- ^~~~~~
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/initialize.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
- Compiling src/motor.cpp [WARNINGS]
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:27:31: error: 'std::string_view' has not been declared
- std::string_view filename,
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:53:19: error: 'std::string_view' has not been declared
- void debug(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:55:18: error: 'std::string_view' has not been declared
- void info(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:57:18: error: 'std::string_view' has not been declared
- void warn(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:59:19: error: 'std::string_view' has not been declared
- void error(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- In file included from ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:14:0,
- from ./include/okapi/api.hpp:17,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/mathUtil.hpp: In function 'constexpr double okapi::deadband(double, double, double)':
- ./include/okapi/api/util/mathUtil.hpp:79:10: error: 'clamp' is not a member of 'std'
- return std::clamp(value, min, max) == value ? 0 : value;
- ^~~
- In file included from ./include/okapi/api.hpp:17:0,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(tank, motorType, methodName); \
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(Motor);
- ^~~~~~~~~~~~~~~~~~~
- In file included from ./include/okapi/api.hpp:10:0,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./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:
- class ChassisControllerIntegrated : public virtual ChassisController {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:16:7: error: use of deleted function 'okapi::ChassisController::ChassisController(const okapi::ChassisController&)'
- In file included from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10:0,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./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:
- class ChassisController : public ChassisModel {
- ^~~~~~~~~~~~~~~~~
- ./include/okapi/api/chassis/controller/chassisController.hpp:19:7: error: use of deleted function 'okapi::ChassisModel::ChassisModel(const okapi::ChassisModel&)'
- In file included from ./include/okapi/api/chassis/controller/chassisController.hpp:11:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/chassis/model/chassisModel.hpp:26:3: note: declared here
- ChassisModel(const ChassisModel &) = delete;
- ^~~~~~~~~~~~
- In file included from ./include/okapi/api.hpp:17:0,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(xdrive, motorType, methodName)
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(Motor);
- ^~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(tank, motorType, methodName); \
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(MotorGroup);
- ^~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(xdrive, motorType, methodName)
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(MotorGroup);
- ^~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- iscales); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:180:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
- okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseTank, SkidSteerModel); \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
- okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- iscales); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:181:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
- okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseXdrive, XDriveModel)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
- okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::reset()':
- ./include/okapi/api/control/async/asyncWrapper.hpp:162:39: error: no matching function for call to 'okapi::Logger::info(const char [20])'
- logger->info("AsyncWrapper: Reset");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::flipDisable(bool)':
- ./include/okapi/api/control/async/asyncWrapper.hpp:184:76: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
- logger->info("AsyncWrapper: flipDisable " + std::to_string(iisDisabled));
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::waitUntilSettled()':
- ./include/okapi/api/control/async/asyncWrapper.hpp:203:51: error: no matching function for call to 'okapi::Logger::info(const char [32])'
- logger->info("AsyncWrapper: Waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp:209:56: error: no matching function for call to 'okapi::Logger::info(const char [37])'
- logger->info("AsyncWrapper: Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilSettled(Input, okapi::AsyncController<Input, Output>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:40:94: error: no matching function for call to 'okapi::Logger::info(const char [75])'
- logger->info("ControllerRunner: runUntilSettled(AsyncController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./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>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:64:98: error: no matching function for call to 'okapi::Logger::info(const char [79])'
- logger->info("ControllerRunner: runUntilSettled(IterativeController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilAtTarget(Input, okapi::AsyncController<Input, Output>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:89:95: error: no matching function for call to 'okapi::Logger::info(const char [76])'
- logger->info("ControllerRunner: runUntilAtTarget(AsyncController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./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>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:117:99: error: no matching function for call to 'okapi::Logger::info(const char [80])'
- logger->info("ControllerRunner: runUntilAtTarget(IterativeController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- src/motor.cpp: At global scope:
- src/motor.cpp:24:1: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- );
- ^
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::setTarget(Input) [with Input = double; Output = double]':
- src/motor.cpp:85:1: required from here
- ./include/okapi/api/control/async/asyncWrapper.hpp:69:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
- logger->info("AsyncWrapper: Set target to " + std::to_string(itarget));
- ^~~~~~
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::flipDisable() [with Input = double; Output = double]':
- src/motor.cpp:85:1: required from here
- ./include/okapi/api/control/async/asyncWrapper.hpp:172:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
- logger->info("AsyncWrapper: flipDisable " + std::to_string(!controller->isDisabled()));
- ^~~~~~
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/motor.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
- Compiling src/opcontrol.cpp [WARNINGS]
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:27:31: error: 'std::string_view' has not been declared
- std::string_view filename,
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:53:19: error: 'std::string_view' has not been declared
- void debug(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:55:18: error: 'std::string_view' has not been declared
- void info(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:57:18: error: 'std::string_view' has not been declared
- void warn(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- ./include/okapi/api/util/logging.hpp:59:19: error: 'std::string_view' has not been declared
- void error(std::string_view message) const noexcept;
- ^~~~~~~~~~~
- In file included from ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:14:0,
- from ./include/okapi/api.hpp:17,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/mathUtil.hpp: In function 'constexpr double okapi::deadband(double, double, double)':
- ./include/okapi/api/util/mathUtil.hpp:79:10: error: 'clamp' is not a member of 'std'
- return std::clamp(value, min, max) == value ? 0 : value;
- ^~~
- In file included from ./include/okapi/api.hpp:17:0,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(tank, motorType, methodName); \
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(Motor);
- ^~~~~~~~~~~~~~~~~~~
- In file included from ./include/okapi/api.hpp:10:0,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./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:
- class ChassisControllerIntegrated : public virtual ChassisController {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:16:7: error: use of deleted function 'okapi::ChassisController::ChassisController(const okapi::ChassisController&)'
- In file included from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10:0,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./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:
- class ChassisController : public ChassisModel {
- ^~~~~~~~~~~~~~~~~
- ./include/okapi/api/chassis/controller/chassisController.hpp:19:7: error: use of deleted function 'okapi::ChassisModel::ChassisModel(const okapi::ChassisModel&)'
- In file included from ./include/okapi/api/chassis/controller/chassisController.hpp:11:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:10,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/chassis/model/chassisModel.hpp:26:3: note: declared here
- ChassisModel(const ChassisModel &) = delete;
- ^~~~~~~~~~~~
- In file included from ./include/okapi/api.hpp:17:0,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(xdrive, motorType, methodName)
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:222:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(Motor);
- ^~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:52:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(tank, motorType, methodName); \
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(MotorGroup);
- ^~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:48:97: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- okapi_##driveType##Body(motorType), okapi_##driveType##SensorBody, okapi_makeCreateEndBody); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:53:3: note: in expansion of macro 'okapi_makeCreateIntImpl'
- okapi_makeCreateIntImpl(xdrive, motorType, methodName)
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:56:3: note: in expansion of macro 'okapi_makeCreateIntImpl2'
- okapi_makeCreateIntImpl2(motorType, create); \
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:134:3: note: in expansion of macro 'okapi_makeCreateInt'
- okapi_makeCreateInt(motorType); \
- ^~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:223:3: note: in expansion of macro 'okapi_makeCreateAll'
- okapi_makeCreateAll(MotorGroup);
- ^~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- iscales); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:180:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
- okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseTank, SkidSteerModel); \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
- okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
- ^~~~~~~~~~~~~~~~~~~~~~~
- ./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&)':
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:176:14: error: use of deleted function 'okapi::ChassisControllerIntegrated::ChassisControllerIntegrated(okapi::ChassisControllerIntegrated&&)'
- iscales); \
- ^
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:181:3: note: in expansion of macro 'okapi_makeCreateBaseIntImpl'
- okapi_makeCreateBaseIntImpl(returnType, allocateExpr, methodName, baseXdrive, XDriveModel)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/okapi/impl/chassis/controller/chassisControllerFactory.hpp:225:3: note: in expansion of macro 'okapi_makeCreateBaseInt'
- okapi_makeCreateBaseInt(ChassisControllerIntegrated, ChassisControllerIntegrated, create);
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::reset()':
- ./include/okapi/api/control/async/asyncWrapper.hpp:162:39: error: no matching function for call to 'okapi::Logger::info(const char [20])'
- logger->info("AsyncWrapper: Reset");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::flipDisable(bool)':
- ./include/okapi/api/control/async/asyncWrapper.hpp:184:76: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
- logger->info("AsyncWrapper: flipDisable " + std::to_string(iisDisabled));
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In member function 'void okapi::AsyncWrapper<Input, Output>::waitUntilSettled()':
- ./include/okapi/api/control/async/asyncWrapper.hpp:203:51: error: no matching function for call to 'okapi::Logger::info(const char [32])'
- logger->info("AsyncWrapper: Waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp:209:56: error: no matching function for call to 'okapi::Logger::info(const char [37])'
- logger->info("AsyncWrapper: Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilSettled(Input, okapi::AsyncController<Input, Output>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:40:94: error: no matching function for call to 'okapi::Logger::info(const char [75])'
- logger->info("ControllerRunner: runUntilSettled(AsyncController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./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>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:64:98: error: no matching function for call to 'okapi::Logger::info(const char [79])'
- logger->info("ControllerRunner: runUntilSettled(IterativeController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/control/util/controllerRunner.hpp: In member function 'virtual Output okapi::ControllerRunner<Input, Output>::runUntilAtTarget(Input, okapi::AsyncController<Input, Output>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:89:95: error: no matching function for call to 'okapi::Logger::info(const char [76])'
- logger->info("ControllerRunner: runUntilAtTarget(AsyncController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api.hpp:32:0,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./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>&)':
- ./include/okapi/api/control/util/controllerRunner.hpp:117:99: error: no matching function for call to 'okapi::Logger::info(const char [80])'
- logger->info("ControllerRunner: runUntilAtTarget(IterativeController): Done waiting to settle");
- ^
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const <near match>
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: conversion of argument 1 would be ill-formed:
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::setTarget(Input) [with Input = double; Output = double]':
- src/opcontrol.cpp:31:1: required from here
- ./include/okapi/api/control/async/asyncWrapper.hpp:69:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
- logger->info("AsyncWrapper: Set target to " + std::to_string(itarget));
- ^~~~~~
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
- In file included from ./include/okapi/api/control/async/asyncPosPidController.hpp:11:0,
- from ./include/okapi/api.hpp:23,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/control/async/asyncWrapper.hpp: In instantiation of 'void okapi::AsyncWrapper<Input, Output>::flipDisable() [with Input = double; Output = double]':
- src/opcontrol.cpp:31:1: required from here
- ./include/okapi/api/control/async/asyncWrapper.hpp:172:5: error: no matching function for call to 'okapi::Logger::info(std::__cxx11::basic_string<char>)'
- logger->info("AsyncWrapper: flipDisable " + std::to_string(!controller->isDisabled()));
- ^~~~~~
- In file included from ./include/okapi/api/control/async/asyncPosIntegratedController.hpp:12:0,
- from ./include/okapi/api/chassis/controller/chassisControllerIntegrated.hpp:11,
- from ./include/okapi/api.hpp:10,
- from ./include/main.h:38,
- from src/opcontrol.cpp:1:
- ./include/okapi/api/util/logging.hpp:55:8: note: candidate: void okapi::Logger::info(int) const
- void info(std::string_view message) const noexcept;
- ^~~~
- ./include/okapi/api/util/logging.hpp:55:8: note: no known conversion for argument 1 from 'std::__cxx11::basic_string<char>' to 'int'
- Adding timestamp [OK]
- Linking project with okapilib,libpros [ERRORS]
- arm-none-eabi-g++.exe: error: bin/autonomous.cpp.o: No such file or directory
- arm-none-eabi-g++.exe: error: bin/initialize.cpp.o: No such file or directory
- arm-none-eabi-g++.exe: error: bin/motor.cpp.o: No such file or directory
- arm-none-eabi-g++.exe: error: bin/opcontrol.cpp.o: No such file or directory
- make: *** [Makefile:78: bin/output.elf] Error 1
- Capturing metadata for PROS Editor...
- Error: Failed to build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement