Class trifinger_cameras::PyBulletTriCameraDriver

class PyBulletTriCameraDriver : public robot_interfaces::SensorDriver<TriCameraObservation, TriCameraInfo>, public robot_interfaces::SensorDriver<TriCameraObservation, TriCameraInfo>

Driver to get rendered camera images from pyBullet.

Public Functions

PyBulletTriCameraDriver(robot_interfaces::TriFingerTypes::BaseDataPtr robot_data, bool render_images = true, Settings settings = Settings())
TriCameraInfo get_sensor_info() override

Get the camera parameters (image size and calibration coefficients).

Important: The calibration coefficients are only set if the driver is initialized with rendering enabled. Otherwise, they will be all zero.

trifinger_cameras::TriCameraObservation get_observation() override

Get the latest observation from the three cameras.

Returns:

TricameraObservation

PyBulletTriCameraDriver(robot_interfaces::TriFingerTypes::BaseDataPtr robot_data, bool render_images = true, Settings settings = Settings())
TriCameraInfo get_sensor_info() override

Get the camera parameters (image size and calibration coefficients).

Important: The calibration coefficients are only set if the driver is initialized with rendering enabled. Otherwise, they will be all zero.

trifinger_cameras::TriCameraObservation get_observation() override

Get the latest observation from the three cameras.

Returns:

TricameraObservation