Skip to content

Commit

Permalink
Merge pull request #12 from jaiveersinghNV/main
Browse files Browse the repository at this point in the history
Correct initialization assertion
  • Loading branch information
hemalshahNV authored May 21, 2021
2 parents 3fb864f + 36ad046 commit cd6206c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AprilTagNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ struct AprilTagNode::AprilTagsImpl {
const uint32_t height, const size_t image_buffer_size,
const size_t pitch_bytes,
const sensor_msgs::msg::CameraInfo::ConstSharedPtr &msg_ci) {
assert(april_tags_handle != nullptr), "Already initialized.";
assert(april_tags_handle == nullptr && "Already initialized.");

// Get camera intrinsics
const double *k = msg_ci->k.data();
Expand Down

0 comments on commit cd6206c

Please sign in to comment.