Skip to content

Commit

Permalink
Merge branch 'main' into chris.padwick/camsettings
Browse files Browse the repository at this point in the history
  • Loading branch information
maxspier authored Oct 31, 2024
2 parents 6c16def + a2313dd commit b484670
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ws_server.cu
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ class AprilTagHandler : public seasocks::WebSocket::Handler {
<< std::endl;

detector.ReinitializeDetections();
} else {
// no tag, so send empty data.
std::vector<double> networktables_pose_data = {};
tagSender_.sendValue(networktables_pose_data);
}
} catch (const std::exception& ex) {
std::cout << "Encounted exception " << ex.what() << std::endl;
Expand Down

0 comments on commit b484670

Please sign in to comment.