// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from interface_protocol:msg/PowerInfo.idl
// generated code does not contain a copyright notice

#ifndef INTERFACE_PROTOCOL__MSG__DETAIL__POWER_INFO__STRUCT_H_
#define INTERFACE_PROTOCOL__MSG__DETAIL__POWER_INFO__STRUCT_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>


// Constants defined in the message

/// Struct defined in msg/PowerInfo in the package interface_protocol.
typedef struct interface_protocol__msg__PowerInfo
{
  bool enable;
  float percentage;
  float voltage;
  float current;
  float current_limit;
  int32_t error_code;
} interface_protocol__msg__PowerInfo;

// Struct for a sequence of interface_protocol__msg__PowerInfo.
typedef struct interface_protocol__msg__PowerInfo__Sequence
{
  interface_protocol__msg__PowerInfo * data;
  /// The number of valid items in data
  size_t size;
  /// The number of allocated items in data
  size_t capacity;
} interface_protocol__msg__PowerInfo__Sequence;

#ifdef __cplusplus
}
#endif

#endif  // INTERFACE_PROTOCOL__MSG__DETAIL__POWER_INFO__STRUCT_H_
