Public Member Functions | Public Attributes | Private Attributes | List of all members
pyuavcan_v0.transport.Float32IntegerUnion Class Reference
Inheritance diagram for pyuavcan_v0.transport.Float32IntegerUnion:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, integer=None, floating_point=None)
 
def f (self)
 
def f (self, value)
 
def u (self)
 
def u (self, value)
 

Public Attributes

 f
 
 u
 

Private Attributes

 _bytes
 

Detailed Description

Yes we've got ourselves a tiny little union here:
    union FloatIntegerUnion
    {
        std::uint32_t u;
        float f;
    };
This is madness.

Definition at line 149 of file transport.py.

Constructor & Destructor Documentation

◆ __init__()

def pyuavcan_v0.transport.Float32IntegerUnion.__init__ (   self,
  integer = None,
  floating_point = None 
)

Definition at line 160 of file transport.py.

Member Function Documentation

◆ f() [1/2]

def pyuavcan_v0.transport.Float32IntegerUnion.f (   self)

Definition at line 169 of file transport.py.

◆ f() [2/2]

def pyuavcan_v0.transport.Float32IntegerUnion.f (   self,
  value 
)

Definition at line 173 of file transport.py.

◆ u() [1/2]

def pyuavcan_v0.transport.Float32IntegerUnion.u (   self)

Definition at line 178 of file transport.py.

◆ u() [2/2]

def pyuavcan_v0.transport.Float32IntegerUnion.u (   self,
  value 
)

Definition at line 182 of file transport.py.

Member Data Documentation

◆ _bytes

pyuavcan_v0.transport.Float32IntegerUnion._bytes
private

Definition at line 161 of file transport.py.

◆ f

pyuavcan_v0.transport.Float32IntegerUnion.f

Definition at line 166 of file transport.py.

◆ u

pyuavcan_v0.transport.Float32IntegerUnion.u

Definition at line 164 of file transport.py.


The documentation for this class was generated from the following file:


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04