rw_simulation module

class rw_simulation.FrameGrabber(*args, **kwargs)

Bases: object

getHeight() → int
getImage() → Image &
getWidth() → int
grab(frame: Frame, state: State) → void
resize(*args) → void
class rw_simulation.FrameGrabber25D(*args, **kwargs)

Bases: object

getFieldOfViewY() → double
getHeight() → size_t
getImage() → PointCloud &
getMaxDepth() → double
getMinDepth() → double
getWidth() → size_t
grab(frame: Frame, state: State) → void
resize(width: size_t, height: size_t) → void
class rw_simulation.FrameGrabber25DPtr(*args)

Bases: object

get() → FrameGrabber25D *
getFieldOfViewY() → double
getHeight() → size_t
getImage() → PointCloud &
getMaxDepth() → double
getMinDepth() → double
getWidth() → size_t
grab(frame: Frame, state: State) → void
isNull() → bool
isShared() → bool
resize(width: size_t, height: size_t) → void
class rw_simulation.FrameGrabberPtr(*args)

Bases: object

get() → FrameGrabber *
getHeight() → int
getImage() → Image &
getWidth() → int
grab(frame: Frame, state: State) → void
isNull() → bool
isShared() → bool
resize(*args) → void
class rw_simulation.GLFrameGrabber(width: int, height: int, fov: double, near: double = 0.1, far: double = 10.0)

Bases: rw_simulation.FrameGrabber

grab(frame: Frame, state: State) → void
init(drawer: SceneViewerPtr) → bool
resize(*args) → void
class rw_simulation.GLFrameGrabber25D(width: int, height: int, fov: double, mindepth: double = 0.1, maxdepth: double = 10.0)

Bases: rw_simulation.FrameGrabber25D

getFieldOfViewY() → double
getMaxDepth() → double
getMinDepth() → double
grab(frame: Frame, state: State) → void
init(drawer: SceneViewerPtr) → bool
setMaxDepth(depth: double) → void
setMinDepth(depth: double) → void
class rw_simulation.GLFrameGrabber25DPtr(*args)

Bases: object

asFrameGrabber25DPtr() → rw::common::Ptr< FrameGrabber25D >
get() → GLFrameGrabber25D *
getFieldOfViewY() → double
getHeight() → size_t
getImage() → PointCloud &
getMaxDepth() → double
getMinDepth() → double
getWidth() → size_t
grab(frame: Frame, state: State) → void
init(drawer: SceneViewerPtr) → bool
isNull() → bool
isShared() → bool
resize(width: size_t, height: size_t) → void
setMaxDepth(depth: double) → void
setMinDepth(depth: double) → void
class rw_simulation.GLFrameGrabberPtr(*args)

Bases: object

asFrameGrabberPtr() → rw::common::Ptr< FrameGrabber >
get() → GLFrameGrabber *
getHeight() → int
getImage() → Image &
getWidth() → int
grab(frame: Frame, state: State) → void
init(drawer: SceneViewerPtr) → bool
isNull() → bool
isShared() → bool
resize(*args) → void
class rw_simulation.SimulatedCamera(*args)

Bases: rw_simulation.SimulatedSensor

acquire() → void
getCameraSensor() → rw::common::Ptr< Camera >
getFrameRate() → double
getHeight() → unsigned int
getImage() → Image const *
getSensor() → rw::common::Ptr< Sensor >
getWidth() → unsigned int
initialize() → bool
isImageReady() → bool
reset(state: State) → void
setFrameRate(framerate: double) → void
start() → bool
stop() → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedCameraPtr(*args)

Bases: object

acquire() → void
get() → SimulatedCamera *
getCameraSensor() → rw::common::Ptr< Camera >
getFrame() → Frame *
getFrameRate() → double
getHeight() → unsigned int
getImage() → Image const *
getName() → std::string const &
getSensor() → rw::common::Ptr< Sensor >
getSensorHandle(sim: SimulatorPtr) → rw::common::Ptr< Sensor >
getSensorModel() → rw::common::Ptr< SensorModel >
getWidth() → unsigned int
initialize() → bool
isImageReady() → bool
isNull() → bool
isShared() → bool
reset(state: State) → void
setFrameRate(framerate: double) → void
start() → bool
stop() → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedController(*args, **kwargs)

Bases: object

getControllerHandle(sim: SimulatorPtr) → rw::common::Ptr< Controller >
getControllerName() → std::string
isEnabled() → bool
reset(state: State) → void
setEnabled(enabled: bool) → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedControllerPtr(*args)

Bases: object

get() → SimulatedController *
getControllerHandle(sim: SimulatorPtr) → rw::common::Ptr< Controller >
getControllerName() → std::string
isEnabled() → bool
isNull() → bool
isShared() → bool
reset(state: State) → void
setEnabled(enabled: bool) → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedControllerPtrVector(*args)

Bases: object

append(x: SimulatedControllerPtr) → void
assign(n: std::vector< rw::common::Ptr< SimulatedController > >::size_type, x: SimulatedControllerPtr) → void
back() → std::vector< rw::common::Ptr< SimulatedController > >::value_type const &
begin() → std::vector< rw::common::Ptr< SimulatedController > >::iterator
capacity() → std::vector< rw::common::Ptr< SimulatedController > >::size_type
clear() → void
empty() → bool
end() → std::vector< rw::common::Ptr< SimulatedController > >::iterator
erase(*args) → std::vector< rw::common::Ptr< SimulatedController > >::iterator
front() → std::vector< rw::common::Ptr< SimulatedController > >::value_type const &
get_allocator() → std::vector< rw::common::Ptr< SimulatedController > >::allocator_type
insert(*args) → void
iterator() → swig::SwigPyIterator *
pop() → std::vector< rw::common::Ptr< SimulatedController > >::value_type
pop_back() → void
push_back(x: SimulatedControllerPtr) → void
rbegin() → std::vector< rw::common::Ptr< SimulatedController > >::reverse_iterator
rend() → std::vector< rw::common::Ptr< SimulatedController > >::reverse_iterator
reserve(n: std::vector< rw::common::Ptr< SimulatedController > >::size_type) → void
resize(*args) → void
size() → std::vector< rw::common::Ptr< SimulatedController > >::size_type
swap(v: SimulatedControllerPtrVector) → void
class rw_simulation.SimulatedScanner25D(*args)

Bases: rw_simulation.SimulatedSensor

acquire() → void
close() → void
getFrameRate() → double
getScan() → PointCloud const &
getScanner25DSensor(instance: SimulatorPtr) → rw::common::Ptr< Scanner25D >
getSensorHandle(instance: SimulatorPtr) → rw::common::Ptr< Sensor >
isOpen() → bool
isScanReady() → bool
open() → void
reset(state: State) → void
setFrameRate(rate: double) → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedScanner25DPtr(*args)

Bases: object

acquire() → void
close() → void
get() → SimulatedScanner25D *
getFrame() → Frame *
getFrameRate() → double
getName() → std::string const &
getScan() → PointCloud const &
getScanner25DSensor(instance: SimulatorPtr) → rw::common::Ptr< Scanner25D >
getSensorHandle(instance: SimulatorPtr) → rw::common::Ptr< Sensor >
getSensorModel() → rw::common::Ptr< SensorModel >
isNull() → bool
isOpen() → bool
isScanReady() → bool
isShared() → bool
open() → void
reset(state: State) → void
setFrameRate(rate: double) → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedScanner2D(*args)

Bases: rw_simulation.SimulatedSensor

acquire() → void
close() → void
getAngularRange() → double
getFrameRate() → double
getMeasurementCount() → size_t
getScan() → PointCloud const &
getScanner2DSensor(instance: Simulator) → rw::common::Ptr< Scanner2D >
isOpen() → bool
isScanReady() → bool
open() → void
reset(state: State) → void
setFrameRate(rate: double) → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedScanner2DPtr(*args)

Bases: object

acquire() → void
close() → void
get() → SimulatedScanner2D *
getAngularRange() → double
getFrame() → Frame *
getFrameRate() → double
getMeasurementCount() → size_t
getName() → std::string const &
getScan() → PointCloud const &
getScanner2DSensor(instance: Simulator) → rw::common::Ptr< Scanner2D >
getSensorHandle(sim: SimulatorPtr) → rw::common::Ptr< Sensor >
getSensorModel() → rw::common::Ptr< SensorModel >
isNull() → bool
isOpen() → bool
isScanReady() → bool
isShared() → bool
open() → void
reset(state: State) → void
setFrameRate(rate: double) → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedSensor(*args, **kwargs)

Bases: object

getFrame() → Frame *
getName() → std::string const &
getSensorHandle(sim: SimulatorPtr) → rw::common::Ptr< Sensor >
getSensorModel() → rw::common::Ptr< SensorModel >
reset(state: State) → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedSensorPtr(*args)

Bases: object

get() → SimulatedSensor *
getFrame() → Frame *
getName() → std::string const &
getSensorHandle(sim: SimulatorPtr) → rw::common::Ptr< Sensor >
getSensorModel() → rw::common::Ptr< SensorModel >
isNull() → bool
isShared() → bool
reset(state: State) → void
update(info: UpdateInfo, state: State) → void
class rw_simulation.SimulatedSensorPtrVector(*args)

Bases: object

append(x: SimulatedSensorPtr) → void
assign(n: std::vector< rw::common::Ptr< SimulatedSensor > >::size_type, x: SimulatedSensorPtr) → void
back() → std::vector< rw::common::Ptr< SimulatedSensor > >::value_type const &
begin() → std::vector< rw::common::Ptr< SimulatedSensor > >::iterator
capacity() → std::vector< rw::common::Ptr< SimulatedSensor > >::size_type
clear() → void
empty() → bool
end() → std::vector< rw::common::Ptr< SimulatedSensor > >::iterator
erase(*args) → std::vector< rw::common::Ptr< SimulatedSensor > >::iterator
front() → std::vector< rw::common::Ptr< SimulatedSensor > >::value_type const &
get_allocator() → std::vector< rw::common::Ptr< SimulatedSensor > >::allocator_type
insert(*args) → void
iterator() → swig::SwigPyIterator *
pop() → std::vector< rw::common::Ptr< SimulatedSensor > >::value_type
pop_back() → void
push_back(x: SimulatedSensorPtr) → void
rbegin() → std::vector< rw::common::Ptr< SimulatedSensor > >::reverse_iterator
rend() → std::vector< rw::common::Ptr< SimulatedSensor > >::reverse_iterator
reserve(n: std::vector< rw::common::Ptr< SimulatedSensor > >::size_type) → void
resize(*args) → void
size() → std::vector< rw::common::Ptr< SimulatedSensor > >::size_type
swap(v: SimulatedSensorPtrVector) → void
class rw_simulation.Simulator(*args, **kwargs)

Bases: object

getPropertyMap() → PropertyMap &
getState() → State &
getTime() → double
init(state: State) → void
reset(state: State) → void
setEnabled(frame: Frame, enabled: bool) → void
step(dt: double) → void
class rw_simulation.SimulatorPtr(*args)

Bases: object

get() → Simulator *
getPropertyMap() → PropertyMap &
getState() → State &
getTime() → double
init(state: State) → void
isNull() → bool
isShared() → bool
reset(state: State) → void
setEnabled(frame: Frame, enabled: bool) → void
step(dt: double) → void
class rw_simulation.SwigPyIterator(*args, **kwargs)

Bases: object

advance(n: ptrdiff_t) → swig::SwigPyIterator *
copy() → swig::SwigPyIterator *
decr(n: size_t = 1) → swig::SwigPyIterator *
distance(x: SwigPyIterator) → ptrdiff_t
equal(x: rw_simulation.SwigPyIterator) → bool
incr(n: size_t = 1) → swig::SwigPyIterator *
next() → PyObject *
previous() → PyObject *
value() → PyObject *
class rw_simulation.UpdateInfo(*args)

Bases: object

property dt
property dt_prev
property rollback
property time
rw_simulation.ownedPtr(*args) → rw::common::Ptr< SimulatedScanner25D >