Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Vindicus999
2025-08-03 11:13:42 +00:00
32 changed files with 1572 additions and 110 deletions
+8 -2
View File
@@ -498,7 +498,9 @@ static std::ostream & operator<<(std::ostream & out, const xrt_space_relation_cs
}
}
out << "x,y,z,";
out << "qw,qx,qy,qz";
out << "qw,qx,qy,qz,";
out << "vx,vy,vz,";
out << "avx,avy,avz";
return out;
}
@@ -506,13 +508,17 @@ static std::ostream & operator<<(std::ostream & out, const xrt_space_relation &
{
const auto & pos = rel.pose.position;
const auto & o = rel.pose.orientation;
const auto & v = rel.linear_velocity;
const auto & av = rel.angular_velocity;
for (const auto & [value, name]: magic_enum::enum_entries<xrt_space_relation_flags>())
{
if (value and value != XRT_SPACE_RELATION_BITMASK_ALL)
out << bool(rel.relation_flags & value) << ',';
}
out << pos.x << ',' << pos.y << ',' << pos.z << ',';
out << o.w << ',' << o.x << ',' << o.y << ',' << o.z;
out << o.w << ',' << o.x << ',' << o.y << ',' << o.z << ',';
out << v.x << ',' << v.y << ',' << v.z << ',';
out << av.x << ',' << av.y << ',' << av.z;
return out;
}
+2 -1
View File
@@ -739,7 +739,8 @@ void wivrn_session::operator()(from_headset::get_application_list && request)
response.applications.emplace_back(
std::move(id),
// FIXME: use locale
app.name.at(""));
app.name.at(""),
app.image);
}
send_control(std::move(response));
}