Skip to content

Commit

Permalink
cspell. fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: amc-nu <[email protected]>
  • Loading branch information
amc-nu committed Sep 11, 2023
1 parent 32c0ef2 commit 1b2cd9d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ HesaiHwInterface::~HesaiHwInterface()
if(tcp_driver_)
{
#ifdef WITH_DEBUG_STDOUT_HESAI_HW_INTERFACE
std::cout << ".......................tcp_driver_ is avaiable" << std::endl;
std::cout << ".......................tcp_driver_ is available" << std::endl;
#endif
if(tcp_driver_ && tcp_driver_->isOpen())
{
Expand All @@ -48,7 +48,7 @@ HesaiHwInterface::~HesaiHwInterface()
if(tcp_driver_s_)
{
#ifdef WITH_DEBUG_STDOUT_HESAI_HW_INTERFACE
std::cout << ".......................tcp_driver_s_ is avaiable" << std::endl;
std::cout << ".......................tcp_driver_s_ is available" << std::endl;
#endif
if(tcp_driver_s_->isOpen())
{
Expand Down Expand Up @@ -3303,8 +3303,8 @@ bool HesaiHwInterface::CheckLock(
// std::chrono::time_point start_time = std::chrono::steady_clock::now();
std::chrono::system_clock::time_point start_time = std::chrono::system_clock::now();
std::time_t stt = std::chrono::system_clock::to_time_t(start_time);
const std::tm* stlt = std::localtime(&stt);
std::cout << "try_lock_for: start at " << std::put_time(stlt, "%c") << std::endl;
const std::tm* system_local_time = std::localtime(&stt);
std::cout << "try_lock_for: start at " << std::put_time(system_local_time, "%c") << std::endl;
/*
std::chrono::system_clock::time_point test_time = std::chrono::system_clock::now();
std::time_t tst = std::chrono::system_clock::to_time_t(test_time);
Expand Down

0 comments on commit 1b2cd9d

Please sign in to comment.