Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/config/debug.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
struct Sink { template<typename ...Args> Sink(Args const& ... ) {} };
#if DEBUG_TEST
#define VISENSOR_DEBUG(...) \
do { printf("[libvisensor]: "); printf(__VA_ARGS__); } while (0)
do { fprintf(stderr,"[libvisensor]: "); fprintf(stderr,__VA_ARGS__); } while (0)
#else
#define VISENSOR_DEBUG(...) Sink { __VA_ARGS__ }
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/stereo_homography.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void StereoHomography::getHomography(Eigen::Matrix3d& H0, Eigen::Matrix3d& H1, d
Eigen::Matrix4d T_rel = Eigen::Matrix4d::Zero();
T_rel = T1 * T0.inverse();

std::cout << "T_rel " << T_rel << std::endl;
std::cerr << "T_rel " << T_rel << std::endl;
Eigen::Matrix3d R = T_rel.block<3, 3>(0, 0);
Eigen::Vector3d T = T_rel.block<3, 1>(0, 3);

Expand Down
2 changes: 1 addition & 1 deletion src/visensor_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void ViSensorDriver::Impl::init(std::string hostname) {
setCameraCalibrationSlot(0);
}
catch (visensor::exceptions const &ex) {
// std::cout << ex.what() << "\n";
std::cerr << ex.what() << "\n";
}

//flip images if necessary
Expand Down