class Feedback
August 13, 2019 ยท View on GitHub
Member values
| Member name | Data type | Description |
|---|---|---|
| feedback_id | MessageId | MessageId |
| status_flags | uint32 | Status flags |
| jitter_comm | uint32 | Jitter from the communication (in microseconds) |
| imu_acceleration_x | float32 | IMU Measured acceleration (X-Axis) of the interface module (in meters per second ^ squared) |
| imu_acceleration_y | float32 | IMU Measured acceleration (Y-Axis) of the interface module (in meters per second ^ squared) |
| imu_acceleration_z | float32 | IMU Measured acceleration (Z-Axis) of the interface module (in meters per second ^ squared) |
| imu_angular_velocity_x | float32 | IMU Measured angular velocity (X-Axis) of the interface module (in degrees per second) |
| imu_angular_velocity_y | float32 | IMU Measured angular velocity (Y-Axis) of the interface module (in degrees per second) |
| imu_angular_velocity_z | float32 | IMU Measured angular velocity (Z-Axis) of the interface module (in degrees per second) |
| voltage | float32 | Voltage of the main board (in Volt) |
| temperature_core | float32 | Microcontroller temperature (in degrees Celsius) |
| fault_bank_a | uint32 | Fault bank A (see InterconnectConfig.SafetyIdentifier) |
| fault_bank_b | uint32 | Fault bank B (see InterconnectConfig.SafetyIdentifier) |
| warning_bank_a | uint32 | Warning bank A (see InterconnectConfig.SafetyIdentifier) |
| warning_bank_b | uint32 | Warning bank B (see InterconnectConfig.SafetyIdentifier) |
| gripper_feedback | oneof:tool_feedback Feedback | Gripper model tool feedback |
Member functions
| Function name | Return type | Input type | Description |
|---|---|---|---|
| has_feedback_id() const | bool | void | Returns true if feedback_id is set. |
| feedback_id() | const MessageId& | void | Returns the current value of feedback_id. If feedback_id is not set, returns a MessageId with none of its fields set (possibly feedback_id::default_instance()). |
| mutable_feedback_id() | MessageId * | void | Returns a pointer to the mutable MessageId object that stores the field's value. If the field was not set prior to the call, then the returned MessageId will have none of its fields set (i.e. it will be identical to a newly-allocated MessageId). After calling this, has_feedback_id() will return true and feedback_id() will return a reference to the same instance of MessageId. |
| clear_feedback_id() | void | void | Clears the value of the field. After calling this, has_feedback_id() will return false and feedback_id() will return the default value. |
| set_allocated_feedback_id() | void | MessageId * | Sets the MessageId object to the field and frees the previous field value if it exists. If the MessageId pointer is not NULL, the message takes ownership of the allocated MessageId object and has_ MessageId() will return true. Otherwise, if the feedback_id is NULL, the behavior is the same as calling clear_feedback_id(). |
| release_feedback_id() | MessageId * | void | Releases the ownership of the field and returns the pointer of the MessageId object. After calling this, caller takes the ownership of the allocated MessageId object, has_feedback_id() will return false, and feedback_id() will return the default value. |
| status_flags() | uint32 | void | Returns the current value of status_flags. If the status_flags is not set, returns 0. |
| set_status_flags() | void | uint32 | Sets the value of status_flags. After calling this, status_flags() will return value. |
| clear_status_flags() | void | void | Clears the value of status_flags. After calling this, status_flags() will return 0. |
| jitter_comm() | uint32 | void | Returns the current value of jitter_comm. If the jitter_comm is not set, returns 0. |
| set_jitter_comm() | void | uint32 | Sets the value of jitter_comm. After calling this, jitter_comm() will return value. |
| clear_jitter_comm() | void | void | Clears the value of jitter_comm. After calling this, jitter_comm() will return 0. |
| imu_acceleration_x() | float32 | void | Returns the current value of imu_acceleration_x. If the imu_acceleration_x is not set, returns 0. |
| set_imu_acceleration_x() | void | float32 | Sets the value of imu_acceleration_x. After calling this, imu_acceleration_x() will return value. |
| clear_imu_acceleration_x() | void | void | Clears the value of imu_acceleration_x. After calling this, imu_acceleration_x() will return 0. |
| imu_acceleration_y() | float32 | void | Returns the current value of imu_acceleration_y. If the imu_acceleration_y is not set, returns 0. |
| set_imu_acceleration_y() | void | float32 | Sets the value of imu_acceleration_y. After calling this, imu_acceleration_y() will return value. |
| clear_imu_acceleration_y() | void | void | Clears the value of imu_acceleration_y. After calling this, imu_acceleration_y() will return 0. |
| imu_acceleration_z() | float32 | void | Returns the current value of imu_acceleration_z. If the imu_acceleration_z is not set, returns 0. |
| set_imu_acceleration_z() | void | float32 | Sets the value of imu_acceleration_z. After calling this, imu_acceleration_z() will return value. |
| clear_imu_acceleration_z() | void | void | Clears the value of imu_acceleration_z. After calling this, imu_acceleration_z() will return 0. |
| imu_angular_velocity_x() | float32 | void | Returns the current value of imu_angular_velocity_x. If the imu_angular_velocity_x is not set, returns 0. |
| set_imu_angular_velocity_x() | void | float32 | Sets the value of imu_angular_velocity_x. After calling this, imu_angular_velocity_x() will return value. |
| clear_imu_angular_velocity_x() | void | void | Clears the value of imu_angular_velocity_x. After calling this, imu_angular_velocity_x() will return 0. |
| imu_angular_velocity_y() | float32 | void | Returns the current value of imu_angular_velocity_y. If the imu_angular_velocity_y is not set, returns 0. |
| set_imu_angular_velocity_y() | void | float32 | Sets the value of imu_angular_velocity_y. After calling this, imu_angular_velocity_y() will return value. |
| clear_imu_angular_velocity_y() | void | void | Clears the value of imu_angular_velocity_y. After calling this, imu_angular_velocity_y() will return 0. |
| imu_angular_velocity_z() | float32 | void | Returns the current value of imu_angular_velocity_z. If the imu_angular_velocity_z is not set, returns 0. |
| set_imu_angular_velocity_z() | void | float32 | Sets the value of imu_angular_velocity_z. After calling this, imu_angular_velocity_z() will return value. |
| clear_imu_angular_velocity_z() | void | void | Clears the value of imu_angular_velocity_z. After calling this, imu_angular_velocity_z() will return 0. |
| voltage() | float32 | void | Returns the current value of voltage. If the voltage is not set, returns 0. |
| set_voltage() | void | float32 | Sets the value of voltage. After calling this, voltage() will return value. |
| clear_voltage() | void | void | Clears the value of voltage. After calling this, voltage() will return 0. |
| temperature_core() | float32 | void | Returns the current value of temperature_core. If the temperature_core is not set, returns 0. |
| set_temperature_core() | void | float32 | Sets the value of temperature_core. After calling this, temperature_core() will return value. |
| clear_temperature_core() | void | void | Clears the value of temperature_core. After calling this, temperature_core() will return 0. |
| fault_bank_a() | uint32 | void | Returns the current value of fault_bank_a. If the fault_bank_a is not set, returns 0. |
| set_fault_bank_a() | void | uint32 | Sets the value of fault_bank_a. After calling this, fault_bank_a() will return value. |
| clear_fault_bank_a() | void | void | Clears the value of fault_bank_a. After calling this, fault_bank_a() will return 0. |
| fault_bank_b() | uint32 | void | Returns the current value of fault_bank_b. If the fault_bank_b is not set, returns 0. |
| set_fault_bank_b() | void | uint32 | Sets the value of fault_bank_b. After calling this, fault_bank_b() will return value. |
| clear_fault_bank_b() | void | void | Clears the value of fault_bank_b. After calling this, fault_bank_b() will return 0. |
| warning_bank_a() | uint32 | void | Returns the current value of warning_bank_a. If the warning_bank_a is not set, returns 0. |
| set_warning_bank_a() | void | uint32 | Sets the value of warning_bank_a. After calling this, warning_bank_a() will return value. |
| clear_warning_bank_a() | void | void | Clears the value of warning_bank_a. After calling this, warning_bank_a() will return 0. |
| warning_bank_b() | uint32 | void | Returns the current value of warning_bank_b. If the warning_bank_b is not set, returns 0. |
| set_warning_bank_b() | void | uint32 | Sets the value of warning_bank_b. After calling this, warning_bank_b() will return value. |
| clear_warning_bank_b() | void | void | Clears the value of warning_bank_b. After calling this, warning_bank_b() will return 0. |
| has_gripper_feedback() const | void | void | Returns the current value of the field if oneof case is kGripper_feedback. Otherwise, returns oneof:tool_feedback Feedback::default_instance() |
| gripper_feedback() const | const oneof:tool_feedback Feedback& | void | Returns the current value of the field if oneof case is kGripper_feedback |
| mutable_gripper_feedback() | oneof:tool_feedback Feedback* | void | If any other oneof field in the same oneof is set, calls clear_tool_feedback(). Sets the oneof case to kGripper_feedback and returns a pointer to the mutable oneof:tool_feedback Feedback object that stores the field's value. If the oneof case was not kGripper_feedback prior to the call, then the returned oneof:tool_feedback Feedback will have none of its fields set (i.e. it will be identical to a newly-allocated oneof:tool_feedback Feedback). After calling this, has_gripper_feedback() will return true, gripper_feedback() will return a reference to the same instance of oneof:tool_feedback Feedback and tool_feedback_case() will return kGripper_feedback |
| clear_gripper_feedback() | void | void | Nothing will be changed if the oneof case is not kGripper_feedback. If the oneof case equals kGripper_feedback, frees the field and clears the oneof case. has_gripper_feedback() will return false, gripper_feedback() will return the default value and tool_feedback_case() will return TOOL_FEEDBACK_NOT_SET. |
| set_allocated_gripper_feedback() | void | oneof:tool_feedback Feedback* | Calls clear_tool_feedback(). If the oneof:tool_feedback Feedback pointer is not NULL: Sets the oneof:tool_feedback Feedback object to the field and sets the oneof case to kGripper_feedback. The message takes ownership of the allocated oneof:tool_feedback Feedback object, has_gripper_feedback() will return true and tool_feedback_case() will return kGripper_feedback. If the pointer is NULL, has_gripper_feedback() will return false and tool_feedback_case() will return TOOL_FEEDBACK_NOT_SET. (The behavior is like calling clear_tool_feedback()) |
| release_gripper_feedback() | oneof:tool_feedback Feedback* | void | Returns NULL if oneof case is not kGripper_feedback. If the oneof case is kGripper_feedback, clears the oneof case, releases the ownership of the field and returns the pointer of the tool_feedback object. After calling this, caller takes the ownership of the allocated tool_feedback object, has_gripper_feedback() will return false, gripper_feedback() will return the default value and tool_feedback_case() will return TOOL_FEEDBACK_NOT_SET. |
Parent topic: InterconnectCyclic (C++)