-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having trouble #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello there!
I'm running the lib on a Mac.
First I had a problem with WiFiUDP.h which I had to change the name to WiFiUdp.h.
After fixing that I ran the example file and had a lot of errors that I don`t know how to fix:
In file included from /Users/shoio/Documents/Arduino/tello_example/tello_example.ino:1:
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::up(int)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:98:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
98 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::down(int)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:106:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
106 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::left(int)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:114:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
114 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::right(int)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:122:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
122 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::forward(int)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:130:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
130 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::back(int)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:138:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
138 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::rotate_clockwise(int)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:146:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
146 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::rotate_anticlockwise(int)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:154:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
154 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::setSpeed(int)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:190:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
190 | return false;
| ^~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:193:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
193 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::changeWifi(std::string, std::string)':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:200:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
200 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::getSpeed()':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:207:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
207 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::getTime()':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:215:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
215 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::getHeight()':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:222:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
222 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::getAcceleration()':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:229:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
229 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h: In member function 'void Tello::getWifiSnr()':
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:236:15: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string'} to 'String'
236 | sendMessage(command);
| ^~~~~~~
| |
| std::string {aka std::__cxx11::basic_string}
/Users/shoio/Library/Arduino15/libraries/tello/Tello.h:25:27: note: initializing argument 1 of 'void Tello::sendMessage(String)'
25 | void sendMessage(String command) {
| ~~~~~~~^~~~~~~
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered: