Skip to content
Open
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
22 changes: 4 additions & 18 deletions homework_04/src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
#include <cmath>
#include <iostream>
#include <fstream>
#include <iomanip>

int main(int argc, char** argv) {
if (argc != 2) {
std::cerr << "usage: ugv_odometry <input_path>\n";
return 1;
}

// TODO: implement wheel odometry for a 4-wheel differential-drive UGV.
//
// Parameters:
// ticks_per_revolution = 1024
// wheel_radius_m = 0.3
// wheelbase_m = 1.0
//
// Input: text file with 5 whitespace-separated numbers per line:
// timestamp_ms fl_ticks fr_ticks bl_ticks br_ticks
// Output: same tabular format on stdout, starting from the second sample:
// timestamp_ms x y theta

return 0;
return 0
}
Loading