-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
sketch\ServoController.cpp: In member function 'void ServoController::steer_forward(int, int, float)':
sketch\ServoController.cpp:69:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
move(output, output, throtpos, steerpos, "(Forward) Both servos: ", output, false);
^
sketch\ServoController.cpp: In member function 'void ServoController::steer_backward(int, int, float)':
sketch\ServoController.cpp:75:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
move(output, output, throtpos, steerpos, "(Reversing) Both servos: ", output, false);
^
sketch\ServoController.cpp: In member function 'void ServoController::steer_idle(int, int, bool)':
sketch\ServoController.cpp:80:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
move(outputcentre, outputcentre, throtpos, steerpos, "(Neutral) Both servos: ", outputcentre, false);
^
sketch\ServoController.cpp: In member function 'void ServoController::steer_forward_left(int, int, float, float)':
sketch\ServoController.cpp:93:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
move(regoutput, newoutput, throtpos, steerpos, "(Forward) Left channel servo: ", newoutput, steer_forward_swap);
^
sketch\ServoController.cpp: In member function 'void ServoController::steer_forward_right(int, int, float, float)':
sketch\ServoController.cpp:103:114: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
move(newoutput, regoutput, throtpos, steerpos, "(Forward) Right channel servo: ", newoutput, steer_forward_swap);
^
sketch\ServoController.cpp: In member function 'void ServoController::steer_backward_left(int, int, float, float)':
sketch\ServoController.cpp:113:112: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
move(regoutput, newoutput, throtpos, steerpos, "(Reversing) Left channel servo: ", newoutput, steer_back_swap);
^
sketch\ServoController.cpp: In member function 'void ServoController::steer_backward_right(int, int, float, float)':
sketch\ServoController.cpp:123:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
move(newoutput, regoutput, throtpos, steerpos, "(Reversing) Right channel servo: ", newoutput, steer_back_swap);
^Metadata
Metadata
Assignees
Labels
No labels