Skip to content

Commit

Permalink
Ac recorder (#54)
Browse files Browse the repository at this point in the history
* FIRST COMMIT

* FEATURE: Init log recorder

* FEATURE: SLAM pos logger

* Feat: Add Ttool & Log Recording

* WIP: ACIM Log, done init

* Feat: Done ACIM log

* Refactor: naming of function & improved the structure in util

* Refactor: rename MatrixUtils.h

* Feat: Add TTool Zenodo version, update ACIM trans matrix

* Feat: log filename & acim trans mat fix

* Feat: Done Log recorder

* Feat: bigger button, copy dep files, add legends

* WIP: Compress the folder, has bug now

* Fix: bug in zip file's path is resolved

* Refactor: update legend format

* Fix: change the ttool pose matrix

* Fix: TTool log bug & Add Pause

* Fix: ACIM transformation

* FIX: fixing the recorder from the Thea changes

* Fix: add 0 in GetCurrentDateTime()

---------

Co-authored-by: Andrea Settimi <[email protected]>
Co-authored-by: Andrea Settimi <[email protected]>
Co-authored-by: Andrea Settimi <>
  • Loading branch information
3 people authored May 31, 2024
1 parent dc36144 commit 85227ef
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deps/TSlam
Submodule TSlam updated 171 files
5 changes: 5 additions & 0 deletions imgui.ini
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@ Pos=0,0
Size=800,416
Collapsed=0

[Window][Log Recorder]
Pos=60,60
Size=189,133
Collapsed=0

[Table][0xD0F0C6E3,2]
Column 0 Weight=1.0000
Column 1 Weight=1.0000
Expand Down
14 changes: 7 additions & 7 deletions src/utils/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ inline std::string GetCurrentDateTime() {
std::tm* now = std::localtime(&t);

std::ostringstream ss;
ss << (now->tm_year + 1900) << '-'
<< (now->tm_mon + 1) << '-'
<< now->tm_mday << '-'
<< now->tm_hour << '-'
<< now->tm_min << '-'
<< now->tm_sec;
ss << (now->tm_year + 1900) << '-'
<< std::setw(2) << std::setfill('0') << (now->tm_mon + 1) << '-'
<< std::setw(2) << std::setfill('0') << now->tm_mday << '-'
<< std::setw(2) << std::setfill('0') << now->tm_hour << '-'
<< std::setw(2) << std::setfill('0') << now->tm_min << '-'
<< std::setw(2) << std::setfill('0') << now->tm_sec;

return ss.str();
}

Expand Down

0 comments on commit 85227ef

Please sign in to comment.