|
bitsim
Model, simulate, estimate and control robots in C++
|
Pieces of an Irrlicht window for a robot simulation: a texture on the floor, a path drawn behind a robot, the view of a camera on the robot in a corner of the window, and a recorder that writes the window to numbered pictures. Needs bitsim built with Chrono and Irrlicht. More...
#include "bitsim/bitsim_config.h"#include "bitsim/bitsim_types.h"#include <chrono/physics/ChBody.h>#include <chrono_irrlicht/ChVisualSystemIrrlicht.h>#include <string>#include <vector>

Go to the source code of this file.
Classes | |
| class | bitsim::utils::render::Trail |
| A path drawn as a line: in the plane, just above the floor, where a robot has been or where it thinks it has been; or in space, where something has flown. More... | |
| class | bitsim::utils::render::InsetCamera |
| A camera on a robot whose view is drawn in the top left corner of the window. It only shows the scene; mouse and keyboard still move the main camera. More... | |
| class | bitsim::utils::render::FrameRecorder |
| Writes the window to dir/frame_00000.png, frame_00001.png, ..., rate times a second of simulation, to be put together into a movie. With an empty dir it writes nothing. More... | |
Namespaces | |
| namespace | bitsim |
| namespace | bitsim::utils |
| namespace | bitsim::utils::render |
Functions | |
| void | bitsim::utils::render::add_floor_texture (chrono::ChBody &ground, real_t width, real_t height, real_t z, const std::string &texture) |
| Put a picture on the ground: a rectangle of width x height [m] centred on the origin of the world, at height z, with the texture on it. The top left corner of the picture is the corner with the smallest x and the largest y, as for sensors::FloorImage. | |
| void | bitsim::utils::render::draw_status_bar (chrono::irrlicht::ChVisualSystemIrrlicht &vis, const std::string &text) |
| Write text on a light bar along the bottom of the window. Call this between Render() and EndScene(). | |
Pieces of an Irrlicht window for a robot simulation: a texture on the floor, a path drawn behind a robot, the view of a camera on the robot in a corner of the window, and a recorder that writes the window to numbered pictures. Needs bitsim built with Chrono and Irrlicht.