mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
ae6bdc9d25
commit
2109161534
@@ -8,7 +8,7 @@
|
||||
|
||||
void wpi::math::to_json(wpi::util::json& json, const Pose3d& pose) {
|
||||
json = wpi::util::json{{"translation", pose.Translation()},
|
||||
{"rotation", pose.Rotation()}};
|
||||
{"rotation", pose.Rotation()}};
|
||||
}
|
||||
|
||||
void wpi::math::from_json(const wpi::util::json& json, Pose3d& pose) {
|
||||
|
||||
Reference in New Issue
Block a user