mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-18 16:37:29 +01:00
Add ostream for ArucoTag
This commit is contained in:
@@ -87,3 +87,8 @@ void ArucoTag::find() {
|
||||
int ArucoTag::getNbFind() const {
|
||||
return nbFind;
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const ArucoTag& tag) {
|
||||
os << "ArucoTag{id=" << tag.id() << ", name=" << tag.name() << ", pos=[" << tag.pos()[0] << ", " << tag.pos()[1] << "], rot=[" << tag.rot()[0] << ", " << tag.rot()[1] << ", " << tag.rot()[2] << "]}";
|
||||
return os;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user