Fix some formatting in target_sender
Putting a newline on the end of the LOG broke everything, so just delete
it instead.
Change-Id: I6e4c0c24715183bb01cf8aad3264cc7580c6509b
diff --git a/y2019/vision/target_sender.cc b/y2019/vision/target_sender.cc
index 3a6fbfe..d6efd0b 100644
--- a/y2019/vision/target_sender.cc
+++ b/y2019/vision/target_sender.cc
@@ -103,7 +103,7 @@
::std::vector<Polygon> raw_polys;
for (const RangeImage &blob : imgs) {
// Convert blobs to contours in the corrected space.
- ContourNode* contour = finder_.GetContour(blob);
+ ContourNode *contour = finder_.GetContour(blob);
::std::vector<::Eigen::Vector2f> unwarped_contour =
finder_.UnWarpContour(contour);
const Polygon polygon =
@@ -149,8 +149,8 @@
frame.age = std::chrono::duration_cast<frc971::jevois::camera_duration>(
aos::monotonic_clock::now() - monotonic_now);
- // If we succeed in writing our delimiter, then write out the rest of the
- // frame. If not, no point in continuing.
+ // If we succeed in writing our delimiter, then write out the rest of
+ // the frame. If not, no point in continuing.
if (write(itsDev, "\0", 1) == 1) {
const auto serialized_frame = frc971::jevois::UartPackToTeensy(frame);
// We don't really care if this succeeds or not. If it fails for some
@@ -176,7 +176,6 @@
char data[kBufferSize];
ssize_t n = read(itsDev, &data[0], kBufferSize);
if (n >= 1) {
- LOG(INFO, "Serial bytes: %zd", n);
cobs.ParseData(gsl::span<const char>(&data[0], n));
auto packet = cobs.received_packet();
if (!packet.empty()) {