Releases: Lunar-Eclipse255/maelstrom
Releases · Lunar-Eclipse255/maelstrom
0.3.0
Features:
- Added the function void write_to_file(std::string message, log_file file, date_time_format date_time_enum) to write to either the data or error file, with a custom message
- A timestamp can also be added, or you can also have no timestamp added with the new enum E_NONE
Full Changelog: v0.2.0...v0.3.0
0.2.0
Featues:
- Added
void robot_coords_log()
andvoid set_robot_coords(double x, double y, double theta)
void set_robot_coords(double x, double y, double theta)
allows one to set the x position, y position and heading of the robotvoid robot_coords_log()
writes to the data_log_file, the x and y positions, as well as the heading- main.cpp was also modified to include example use cases of maelstrom functions
Full Changelog: v0.1.1...v0.2.0
0.1.1
Features:
- Simplified code to use a function call to a new function called
void motor_fault_log (int port_index, uint32_t motor_fault);
instead of calling multiple if else statements.
Full Changelog: v0.1.0...v0.1.1
0.1.0
Feature:
Logger:
- Added a logger that writes to an SD card
- Creates nested folders based off the date (Year, month, day), to hold the logger files
- Creates an error logger and a data logger
Error: Logger:
- Writes to the error log file when auton begins
- Writes to the error log file when opcontrol begins
- Writes to error log file when a drive motor disconnects, and reconnects (w/ timestamp)
- Writes to error log file when a drive motor has an overheats, and when it goes back to normal (w/ timestamp)
- Writes to error log file when a drive motor has an H-bridge fault, and when it goes back to normal (w/ timestamp)
- Writes to error log file when a drive motor goes over current, and when it goes back to normal (w/ timestamp)
- Writes to error log file when a drive motor H-Bridge goes over current, and when it goes back to normal (w/ timestamp)
- Writes to error log file when the battery goes below 50% (w/ timestamp)
- Has a function to check if a task was completed, and writes if it was or not to the error log file
- Has a function, to return, the real date and/or time, in different formats
Full Changelog: https://github.com/Lunar-Eclipse255/maelstrom/commits/v0.1.0