Skip to content

Euler Angles example #18

@Zakhar02

Description

@Zakhar02

Arduino: 1.8.19 (Linux), Board: "ESP32 Dev Module, Disabled, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None, Disabled, Disabled"

/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/examples/EulerAngles/EulerAngles.ino: In function 'void setup()':
EulerAngles:36:12: error: no match for 'operator<<' (operand types are 'HardwareSerial' and 'Geometry::Rotation')
36 | Serial << euler.to_rotation_matrix() << "\n";
| ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| Geometry::Rotation
In file included from /home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/examples/EulerAngles/EulerAngles.ino:1:
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Pose&)'
130 | Print& operator<<(Print& strm, const Pose& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:44: note: no known conversion for argument 2 from 'Geometry::Rotation' to 'const Geometry::Pose&'
130 | Print& operator<<(Print& strm, const Pose& T);
| ~~~~~~~~~~~~^
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Twist&)'
131 | Print& operator<<(Print& strm, const Twist& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:45: note: no known conversion for argument 2 from 'Geometry::Rotation' to 'const Geometry::Twist&'
131 | Print& operator<<(Print& strm, const Twist& T);
| ~~~~~~~~~~~~~^
EulerAngles:51:12: error: no match for 'operator<<' (operand types are 'HardwareSerial' and 'Geometry::Rotation')
51 | Serial << also_euler.to_rotation_matrix() << "\n";
| ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| Geometry::Rotation
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Pose&)'
130 | Print& operator<<(Print& strm, const Pose& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:44: note: no known conversion for argument 2 from 'Geometry::Rotation' to 'const Geometry::Pose&'
130 | Print& operator<<(Print& strm, const Pose& T);
| ~~~~~~~~~~~~^
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Twist&)'
131 | Print& operator<<(Print& strm, const Twist& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:45: note: no known conversion for argument 2 from 'Geometry::Rotation' to 'const Geometry::Twist&'
131 | Print& operator<<(Print& strm, const Twist& T);
| ~~~~~~~~~~~~~^
EulerAngles:67:12: error: no match for 'operator<<' (operand types are 'HardwareSerial' and 'const char [16]')
67 | Serial << "Gimbal locked: " << gimbal_locked.to_rotation_matrix() << "\n";
| ^~ ~~~~~~~~~~~~~~~~~
| |
| const char [16]
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Pose&)'
130 | Print& operator<<(Print& strm, const Pose& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:44: note: no known conversion for argument 2 from 'const char [16]' to 'const Geometry::Pose&'
130 | Print& operator<<(Print& strm, const Pose& T);
| ~~~~~~~~~~~~^
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Twist&)'
131 | Print& operator<<(Print& strm, const Twist& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:45: note: no known conversion for argument 2 from 'const char [16]' to 'const Geometry::Twist&'
131 | Print& operator<<(Print& strm, const Twist& T);
| ~~~~~~~~~~~~~^
EulerAngles:73:12: error: no match for 'operator<<' (operand types are 'HardwareSerial' and 'const char [22]')
73 | Serial << "Still gimbal locked: " << still_gimbal_locked.to_rotation_matrix() << "\n";
| ^~ ~~~~~~~~~~~~~~~~~~~~~~~
| |
| const char [22]
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Pose&)'
130 | Print& operator<<(Print& strm, const Pose& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:44: note: no known conversion for argument 2 from 'const char [22]' to 'const Geometry::Pose&'
130 | Print& operator<<(Print& strm, const Pose& T);
| ~~~~~~~~~~~~^
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Twist&)'
131 | Print& operator<<(Print& strm, const Twist& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:45: note: no known conversion for argument 2 from 'const char [22]' to 'const Geometry::Twist&'
131 | Print& operator<<(Print& strm, const Twist& T);
| ~~~~~~~~~~~~~^
EulerAngles:83:12: error: no match for 'operator<<' (operand types are 'HardwareSerial' and 'const char [32]')
83 | Serial << "Tricky rotation in euler angles" << tricky_rotation_in_euler_angles;
| ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const char [32]
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Pose&)'
130 | Print& operator<<(Print& strm, const Pose& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:130:44: note: no known conversion for argument 2 from 'const char [32]' to 'const Geometry::Pose&'
130 | Print& operator<<(Print& strm, const Pose& T);
| ~~~~~~~~~~~~^
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:8: note: candidate: 'Print& Geometry::operator<<(Print&, const Twist&)'
131 | Print& operator<<(Print& strm, const Twist& T);
| ^~~~~~~~
/home/zakhar/snap/arduino/current/Arduino/libraries/Geometry/Geometry.h:131:45: note: no known conversion for argument 2 from 'const char [32]' to 'const Geometry::Twist&'
131 | Print& operator<<(Print& strm, const Twist& T);
| ~~~~~~~~~~~~~^
exit status 1
no match for 'operator<<' (operand types are 'HardwareSerial' and 'Geometry::Rotation')

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions