14#include <opencv2/opencv.hpp>
15#include <opencv2/cudaarithm.hpp>
17#include "ui/worldmodel.h"
43 QList<QPoint>
makeGridPoints(
int nRows=1,
int nCols=1,
int dx=10,
int dy=10, QPoint origin=QPoint(0,0));
52 QList<QPoint>
makeStarPoints(
int nArms=5,
int nLayers=10,
int d=10, QPoint origin=QPoint(0,0));
55 int listInd = 0, nList = 500;
58 QTimer _timer, _timerNoise;
61 cv::Mat heatMap, heatMapOnFrame, circTemp;
void connect_disconnect_add_noise(bool connect_bool)
Connects or disconnects the timer for adding noise to the environment.
Definition envbrain.cpp:139
void updateNoiseProps(int time_interval)
Updates the noise timer interval based on a slider/time parameter.
Definition envbrain.cpp:124
void update_centroid()
Updates centroid of robot distribution. (Empty or placeholder)
Definition envbrain.cpp:154
QList< QPoint > makeStarPoints(int nArms=5, int nLayers=10, int d=10, QPoint origin=QPoint(0, 0))
Generates star-shaped point arrangements centered at a given origin.
Definition envbrain.cpp:88
void update_objects_to_draw()
Updates arena objects (e.g. ball, robots) to be drawn.
Definition envbrain.cpp:164
void refresh()
Periodically refreshes environment state and visualization.
Definition envbrain.cpp:261
EnvBrain(WorldModel *wm=nullptr)
Constructs the EnvBrain object.
Definition envbrain.cpp:19
void resetHeatMap()
Resets the heatmap to its initial state.
Definition envbrain.cpp:108
QList< QPoint > makeGridPoints(int nRows=1, int nCols=1, int dx=10, int dy=10, QPoint origin=QPoint(0, 0))
Generates a grid of points within the arena.
Definition envbrain.cpp:65
void addNoise()
Adds spatial noise to the arena image and updates the visualization.
Definition envbrain.cpp:371
Definition worldmodel.h:41