Widget for moving devices in Cartesian space. For inverse kinematics, the rw::invkin::JacobianIKSolver is used.
More...
#include <SliderTab.hpp>
Inherits QWidget, and QWidget.
|
| 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) |
|
Widget for moving devices in Cartesian space. For inverse kinematics, the rw::invkin::JacobianIKSolver is used.
◆ CartesianDeviceTab()
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. |
◆ 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
Emitted when the transform is changed.
- Parameters
-
◆ updateValues()
Change the transform.
- Parameters
-
state | [in] the state with the new configuration. |
The documentation for this class was generated from the following file:
- RobWorkStudio/src/rwslibs/jog/SliderTab.hpp