|
bitsim
Model, simulate, estimate and control robots in C++
|
The camera's mounting and image. More...
#include <downward_camera.h>
Public Member Functions | |
| void | read (const nlohmann::json &j) |
| Read the values that the json gives. | |
Public Attributes | |
| real_t | offset {0.35} |
| How far ahead of the reference point the centre of the view is [m]. | |
| real_t | view_length {0.3} |
| The length of the floor the camera sees along the robot's heading [m]. | |
| real_t | view_width {0.4} |
| The width of the floor the camera sees across the robot [m]. | |
| uint_t | image_width {160} |
| The size of the camera's image [pixels]. | |
| uint_t | image_height {120} |
| real_t | update_rate {20.0} |
| How many images the camera takes per second [1/s]. | |
The camera's mounting and image.
| void bitsim::sensors::DownwardCamera::Config::read | ( | const nlohmann::json & | j | ) |
Read the values that the json gives.
The size of the camera's image [pixels].
How far ahead of the reference point the centre of the view is [m].
How many images the camera takes per second [1/s].
The length of the floor the camera sees along the robot's heading [m].
The width of the floor the camera sees across the robot [m].