#include <vector>
#include <cmath>
#include <set>
#include <queue>
#include <chrono>
#include <SDL2/SDL.h>
#include <box2d/box2d.h>
#include "utils.h"
#include "render.h"
#include "colormaps.h"
#include "spogobot.h"
#include "objects.h"
Go to the source code of this file.
◆ ShapeType
Enumeration to select the shape type of the robot's body.
| Enumerator |
|---|
| Circle | Use a circular shape.
|
| Ellipse | Use an elliptical shape (approximated by a polygon).
|
| Polygon | Use an arbitrary polygon shape defined by vertices.
|
◆ get_current_time_microseconds()
| uint64_t get_current_time_microseconds |
( |
| ) |
|
Retrieves the current time in microseconds.
Computes and returns the current simulation time in microseconds.
- Returns
- uint64_t Current time in microseconds.
◆ log_current_robot()
| std::string log_current_robot |
( |
| ) |
|
Returns a log string for the current robot.
This function gathers and returns a string containing relevant log information for the currently active robot.
- Returns
- std::string A string representing the current robot's log.
◆ msg_success_rate_factory()
◆ current_robot
◆ mydata
◆ sim_starting_time_microseconds
| uint64_t sim_starting_time_microseconds |
|
extern |
◆ UserdataSize