Mujoco KDL Wrapper  0.2.2
MuJoCo + KDL bridge for robot kinematics and dynamics
Loading...
Searching...
No Matches
mj_kdl::CameraSpec Struct Reference

#include <mj_kdl_wrapper.hpp>

Public Attributes

std::string name
double pos [3]
double euler [3] = { 0.0, 0.0, 0.0 }
double fovy

Detailed Description

A named fixed camera to add to the world body of the scene. After build_scene() the camera is accessible by name via get_camera_names() and can be activated on a Viewer or VideoRecorder with use_camera().

pos and fovy have no defaults: there is no neutral camera position or field of view, so the caller must specify both. euler defaults to identity.

Definition at line 220 of file mj_kdl_wrapper.hpp.

Member Data Documentation

◆ euler

double mj_kdl::CameraSpec::euler[3] = { 0.0, 0.0, 0.0 }

Definition at line 224 of file mj_kdl_wrapper.hpp.

◆ fovy

double mj_kdl::CameraSpec::fovy

Definition at line 225 of file mj_kdl_wrapper.hpp.

◆ name

std::string mj_kdl::CameraSpec::name

Definition at line 222 of file mj_kdl_wrapper.hpp.

◆ pos

double mj_kdl::CameraSpec::pos[3]

Definition at line 223 of file mj_kdl_wrapper.hpp.


The documentation for this struct was generated from the following file: