![]() |
fastcat 0.13.15
C++ EtherCAT Device Command & Control Library
|
Class implementing force-torque sensor through fastcat. More...
#include "fts.h"


Public Member Functions | |
| Fts () | |
| Fts constructor. | |
| bool | ConfigFromYaml (const YAML::Node &node) override |
| Parses input yaml file to set sensor parameters. | |
| bool | Read () override |
| Calculates wrench (forces and torques) from input signals. | |
| FaultType | Process () override |
| Checks if forces and torques have exceeded acceptable maxima. | |
| bool | Write (DeviceCmd &cmd) override |
| Commands device. Only FtsTareCmd is accepted currently. | |
Public Member Functions inherited from fastcat::DeviceBase | |
| virtual | ~DeviceBase () |
| virtual void | Fault () |
| virtual void | Reset () |
| virtual void | SetInitializationTime (double time_sec, double monotonic_time_sec) |
| void | RegisterCmdQueue (std::shared_ptr< ThreadSafeQueue< DeviceCmd > > cmd_queue) |
| std::string | GetName () |
| std::shared_ptr< DeviceState > | GetState () |
| void | SetTime (double time, double monotonic_time) |
| void | SetLoopPeriod (double loop_period) |
Protected Attributes | |
| std::vector< std::vector< double > > | calibration_ |
| Calibration matrix of doubles for wrench calculation. | |
| double | wrench_ [FC_FTS_N_DIMS] |
| Array where wrench values are stored. | |
| double | sig_offset_ [FC_FTS_N_DIMS] |
| Double array for storing tare offsets. | |
| bool | enable_fts_guard_fault_ = true |
| double | max_force_ [3] |
| these values, the entire fastcat system will fault. | |
| double | max_torque_ [3] |
Protected Attributes inherited from fastcat::DeviceBase | |
| std::string | name_ |
| unique device name | |
| double | last_monotonic_time_ = 0.0 |
| double | loop_period_ = 0.0 |
| only some devices need | |
| double | initialization_time_sec_ = -1 |
| only some devices need | |
| double | monotonic_initialization_time_sec_ = -1 |
| only some devices need | |
| bool | device_fault_active_ = false |
| device-level fault, manager also has fault status flag | |
| std::shared_ptr< DeviceState > | state_ |
| Fastcat state data. | |
| std::shared_ptr< ThreadSafeQueue< DeviceCmd > > | cmd_queue_ |
| for intra-device commands | |
Additional Inherited Members | |
Public Attributes inherited from fastcat::DeviceBase | |
| std::vector< Signal > | signals_ |
Class implementing force-torque sensor through fastcat.
| fastcat::Fts::Fts | ( | ) |
Fts constructor.
|
overridevirtual |
Parses input yaml file to set sensor parameters.
| node | The portion of the yaml file corresponding to this FTS device. |
Implements fastcat::DeviceBase.
Reimplemented in fastcat::VirtualFts.

|
overridevirtual |
Checks if forces and torques have exceeded acceptable maxima.
Reimplemented from fastcat::DeviceBase.
|
overridevirtual |
Calculates wrench (forces and torques) from input signals.
Implements fastcat::DeviceBase.
Reimplemented in fastcat::VirtualFts.

|
overridevirtual |
Commands device. Only FtsTareCmd is accepted currently.
| cmd | Command provided to FTS device, of a type that is a subclass of DeviceCmd. |
Reimplemented from fastcat::DeviceBase.
|
protected |
Calibration matrix of doubles for wrench calculation.
|
protected |
|
protected |
these values, the entire fastcat system will fault.
If x,y,z axis of force components exceeds
|
protected |
If x,y,z axis of torque components exceeds these values, the entire fastcat system will fault.
|
protected |
Double array for storing tare offsets.
|
protected |
Array where wrench values are stored.