#include <yarp/rosmsg/sensor_msgs/BatteryState.h>
 Inheritance diagram for yarp::rosmsg::sensor_msgs::BatteryState:Public Types | |
| typedef yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::BatteryState > | rosStyle | 
| typedef yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::BatteryState > | bottleStyle | 
Public Member Functions | |
| BatteryState () | |
| void | clear () | 
| bool | readBare (yarp::os::ConnectionReader &connection) override | 
| bool | readBottle (yarp::os::ConnectionReader &connection) override | 
| bool | read (yarp::os::ConnectionReader &connection) override | 
| Read this object from a network connection.  More... | |
| bool | writeBare (yarp::os::ConnectionWriter &connection) const override | 
| bool | writeBottle (yarp::os::ConnectionWriter &connection) const override | 
| bool | write (yarp::os::ConnectionWriter &connection) const override | 
| Write this object to a network connection.  More... | |
| yarp::os::Type | getType () const override | 
  Public Member Functions inherited from yarp::os::idl::WirePortable | |
| virtual bool | read (yarp::os::idl::WireReader &reader) | 
| virtual bool | write (const yarp::os::idl::WireWriter &writer) const | 
  Public Member Functions inherited from yarp::os::PortReader | |
| virtual | ~PortReader () | 
| Destructor.  More... | |
| virtual Type | getReadType () const | 
  Public Member Functions inherited from yarp::os::PortWriter | |
| virtual | ~PortWriter () | 
| Destructor.  More... | |
| virtual void | onCompletion () const | 
| This is called when the port has finished all writing operations.  More... | |
| virtual void | onCommencement () const | 
| This is called when the port is about to begin writing operations.  More... | |
| virtual yarp::os::Type | getWriteType () const | 
Public Attributes | |
| yarp::rosmsg::std_msgs::Header | header | 
| yarp::conf::float32_t | voltage | 
| yarp::conf::float32_t | current | 
| yarp::conf::float32_t | charge | 
| yarp::conf::float32_t | capacity | 
| yarp::conf::float32_t | design_capacity | 
| yarp::conf::float32_t | percentage | 
| std::uint8_t | power_supply_status | 
| std::uint8_t | power_supply_health | 
| std::uint8_t | power_supply_technology | 
| bool | present | 
| std::vector< yarp::conf::float32_t > | cell_voltage | 
| std::string | location | 
| std::string | serial_number | 
Static Public Attributes | |
| static const std::uint8_t | POWER_SUPPLY_STATUS_UNKNOWN = 0 | 
| static const std::uint8_t | POWER_SUPPLY_STATUS_CHARGING = 1 | 
| static const std::uint8_t | POWER_SUPPLY_STATUS_DISCHARGING = 2 | 
| static const std::uint8_t | POWER_SUPPLY_STATUS_NOT_CHARGING = 3 | 
| static const std::uint8_t | POWER_SUPPLY_STATUS_FULL = 4 | 
| static const std::uint8_t | POWER_SUPPLY_HEALTH_UNKNOWN = 0 | 
| static const std::uint8_t | POWER_SUPPLY_HEALTH_GOOD = 1 | 
| static const std::uint8_t | POWER_SUPPLY_HEALTH_OVERHEAT = 2 | 
| static const std::uint8_t | POWER_SUPPLY_HEALTH_DEAD = 3 | 
| static const std::uint8_t | POWER_SUPPLY_HEALTH_OVERVOLTAGE = 4 | 
| static const std::uint8_t | POWER_SUPPLY_HEALTH_UNSPEC_FAILURE = 5 | 
| static const std::uint8_t | POWER_SUPPLY_HEALTH_COLD = 6 | 
| static const std::uint8_t | POWER_SUPPLY_HEALTH_WATCHDOG_TIMER_EXPIRE = 7 | 
| static const std::uint8_t | POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE = 8 | 
| static const std::uint8_t | POWER_SUPPLY_TECHNOLOGY_UNKNOWN = 0 | 
| static const std::uint8_t | POWER_SUPPLY_TECHNOLOGY_NIMH = 1 | 
| static const std::uint8_t | POWER_SUPPLY_TECHNOLOGY_LION = 2 | 
| static const std::uint8_t | POWER_SUPPLY_TECHNOLOGY_LIPO = 3 | 
| static const std::uint8_t | POWER_SUPPLY_TECHNOLOGY_LIFE = 4 | 
| static const std::uint8_t | POWER_SUPPLY_TECHNOLOGY_NICD = 5 | 
| static const std::uint8_t | POWER_SUPPLY_TECHNOLOGY_LIMN = 6 | 
| static constexpr const char * | typeName = "sensor_msgs/BatteryState" | 
| static constexpr const char * | typeChecksum = "476f837fa6771f6e16e3bf4ef96f8770" | 
| static constexpr const char * | typeText | 
Additional Inherited Members | |
  Static Public Member Functions inherited from yarp::os::Portable | |
| static bool | copyPortable (const PortWriter &writer, PortReader &reader) | 
| Copy one portable to another, via writing and reading.  More... | |
Definition at line 78 of file BatteryState.h.
| typedef yarp::os::idl::BottleStyle<yarp::rosmsg::sensor_msgs::BatteryState> yarp::rosmsg::sensor_msgs::BatteryState::bottleStyle | 
Definition at line 493 of file BatteryState.h.
| typedef yarp::os::idl::BareStyle<yarp::rosmsg::sensor_msgs::BatteryState> yarp::rosmsg::sensor_msgs::BatteryState::rosStyle | 
Definition at line 492 of file BatteryState.h.
      
  | 
  inline | 
Definition at line 117 of file BatteryState.h.
      
  | 
  inline | 
Definition at line 135 of file BatteryState.h.
      
  | 
  inlineoverridevirtual | 
Reimplemented from yarp::os::Portable.
Definition at line 572 of file BatteryState.h.
      
  | 
  inlineoverridevirtual | 
Read this object from a network connection.
Override this for your particular class.
| reader | an interface to the network connection for reading | 
Implements yarp::os::Portable.
Definition at line 352 of file BatteryState.h.
      
  | 
  inlineoverridevirtual | 
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 222 of file BatteryState.h.
      
  | 
  inlineoverridevirtual | 
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 285 of file BatteryState.h.
      
  | 
  inlineoverridevirtual | 
Write this object to a network connection.
Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write
| writer | an interface to the network connection for writing | 
Implements yarp::os::Portable.
Definition at line 484 of file BatteryState.h.
      
  | 
  inlineoverridevirtual | 
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 358 of file BatteryState.h.
      
  | 
  inlineoverridevirtual | 
Reimplemented from yarp::os::idl::WirePortable.
Definition at line 412 of file BatteryState.h.
| yarp::conf::float32_t yarp::rosmsg::sensor_msgs::BatteryState::capacity | 
Definition at line 106 of file BatteryState.h.
| std::vector<yarp::conf::float32_t> yarp::rosmsg::sensor_msgs::BatteryState::cell_voltage | 
Definition at line 113 of file BatteryState.h.
| yarp::conf::float32_t yarp::rosmsg::sensor_msgs::BatteryState::charge | 
Definition at line 105 of file BatteryState.h.
| yarp::conf::float32_t yarp::rosmsg::sensor_msgs::BatteryState::current | 
Definition at line 104 of file BatteryState.h.
| yarp::conf::float32_t yarp::rosmsg::sensor_msgs::BatteryState::design_capacity | 
Definition at line 107 of file BatteryState.h.
| yarp::rosmsg::std_msgs::Header yarp::rosmsg::sensor_msgs::BatteryState::header | 
Definition at line 102 of file BatteryState.h.
| std::string yarp::rosmsg::sensor_msgs::BatteryState::location | 
Definition at line 114 of file BatteryState.h.
| yarp::conf::float32_t yarp::rosmsg::sensor_msgs::BatteryState::percentage | 
Definition at line 108 of file BatteryState.h.
| std::uint8_t yarp::rosmsg::sensor_msgs::BatteryState::power_supply_health | 
Definition at line 110 of file BatteryState.h.
      
  | 
  static | 
Definition at line 92 of file BatteryState.h.
      
  | 
  static | 
Definition at line 89 of file BatteryState.h.
      
  | 
  static | 
Definition at line 87 of file BatteryState.h.
      
  | 
  static | 
Definition at line 88 of file BatteryState.h.
      
  | 
  static | 
Definition at line 90 of file BatteryState.h.
      
  | 
  static | 
Definition at line 94 of file BatteryState.h.
      
  | 
  static | 
Definition at line 86 of file BatteryState.h.
      
  | 
  static | 
Definition at line 91 of file BatteryState.h.
      
  | 
  static | 
Definition at line 93 of file BatteryState.h.
| std::uint8_t yarp::rosmsg::sensor_msgs::BatteryState::power_supply_status | 
Definition at line 109 of file BatteryState.h.
      
  | 
  static | 
Definition at line 82 of file BatteryState.h.
      
  | 
  static | 
Definition at line 83 of file BatteryState.h.
      
  | 
  static | 
Definition at line 85 of file BatteryState.h.
      
  | 
  static | 
Definition at line 84 of file BatteryState.h.
      
  | 
  static | 
Definition at line 81 of file BatteryState.h.
| std::uint8_t yarp::rosmsg::sensor_msgs::BatteryState::power_supply_technology | 
Definition at line 111 of file BatteryState.h.
      
  | 
  static | 
Definition at line 99 of file BatteryState.h.
      
  | 
  static | 
Definition at line 101 of file BatteryState.h.
      
  | 
  static | 
Definition at line 97 of file BatteryState.h.
      
  | 
  static | 
Definition at line 98 of file BatteryState.h.
      
  | 
  static | 
Definition at line 100 of file BatteryState.h.
      
  | 
  static | 
Definition at line 96 of file BatteryState.h.
      
  | 
  static | 
Definition at line 95 of file BatteryState.h.
| bool yarp::rosmsg::sensor_msgs::BatteryState::present | 
Definition at line 112 of file BatteryState.h.
| std::string yarp::rosmsg::sensor_msgs::BatteryState::serial_number | 
Definition at line 115 of file BatteryState.h.
      
  | 
  staticconstexpr | 
Definition at line 499 of file BatteryState.h.
      
  | 
  staticconstexpr | 
Definition at line 496 of file BatteryState.h.
      
  | 
  staticconstexpr | 
Definition at line 502 of file BatteryState.h.
| yarp::conf::float32_t yarp::rosmsg::sensor_msgs::BatteryState::voltage | 
Definition at line 103 of file BatteryState.h.