mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
Fix roborio duplicate .so's on deploy (#1571)
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <units/angle.h>
|
||||
#include <wpi/print.h>
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "photon/dataflow/structures/Packet.h"
|
||||
@@ -141,7 +142,7 @@ TEST(PacketTest, PhotonPipelineResult) {
|
||||
auto t3 = std::chrono::steady_clock::now();
|
||||
EXPECT_EQ(result2, b2);
|
||||
|
||||
fmt::println(
|
||||
wpi::println(
|
||||
"Pack {} unpack {} packet length {}",
|
||||
std::chrono::duration_cast<std::chrono::nanoseconds>(t2 - t1).count(),
|
||||
std::chrono::duration_cast<std::chrono::nanoseconds>(t3 - t2).count(),
|
||||
|
||||
@@ -33,7 +33,7 @@ TEST(TimeSyncProtocolTest, Smoketest) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
std::this_thread::sleep_for(100ms);
|
||||
TimeSyncClient::Metadata m = client.GetMetadata();
|
||||
fmt::println("Offset={} rtt={}", m.offset, m.rtt2);
|
||||
wpi::println("Offset={} rtt={}", m.offset, m.rtt2);
|
||||
}
|
||||
|
||||
server.Stop();
|
||||
|
||||
Reference in New Issue
Block a user