RobWorkProject  23.9.11-
Signals | Public Member Functions | List of all members
CartesianDeviceTab Class Reference

Widget for moving devices in Cartesian space. For inverse kinematics, the rw::invkin::JacobianIKSolver is used. More...

#include <SliderTab.hpp>

Inherits QWidget, and QWidget.

Signals

void stateChanged (const rw::kinematics::State &state)
 Emitted when the transform is changed. More...
 
void stateChanged (const rw::kinematics::State &state)
 

Public Member Functions

 CartesianDeviceTab (const std::pair< rw::math::Q, rw::math::Q > &bounds, rw::core::Ptr< rw::models::Device > device, rw::models::WorkCell *workcell, const rw::kinematics::State &state)
 Construct a new tab for a device that can be moved in Cartesian space. More...
 
void setUnits (const std::vector< double > &converters, const std::vector< std::string > &descriptions)
 Set the units. More...
 
void updateValues (const rw::kinematics::State &state)
 Change the transform. More...
 
 CartesianDeviceTab (const std::pair< rw::math::Q, rw::math::Q > &bounds, rw::models::Device::Ptr device, rw::models::WorkCell *workcell, const rw::kinematics::State &state)
 
void setUnits (const std::vector< double > &converters, const std::vector< std::string > &descriptions)
 
void updateValues (const rw::kinematics::State &state)
 

Detailed Description

Widget for moving devices in Cartesian space. For inverse kinematics, the rw::invkin::JacobianIKSolver is used.

Constructor & Destructor Documentation

◆ CartesianDeviceTab()

CartesianDeviceTab ( const std::pair< rw::math::Q, rw::math::Q > &  bounds,
rw::core::Ptr< rw::models::Device device,
rw::models::WorkCell workcell,
const rw::kinematics::State state 
)

Construct a new tab for a device that can be moved in Cartesian space.

Parameters
bounds[in] the lower and upper bounds - 6 elements of each corresponding to x,y,z,R,P and Y.
device[in] the device to move.
workcell[in] the workcell.
state[in] the initial state.

Member Function Documentation

◆ setUnits()

void setUnits ( const std::vector< double > &  converters,
const std::vector< std::string > &  descriptions 
)

Set the units.

Parameters
converters[in] the factor used to convert to units.
descriptions[in] a description of the chosen units.

◆ stateChanged

void stateChanged ( const rw::kinematics::State state)
signal

Emitted when the transform is changed.

Parameters
state[in] the new state.

◆ updateValues()

void updateValues ( const rw::kinematics::State state)

Change the transform.

Parameters
state[in] the state with the new configuration.

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