Hello all,
I'm having trouble getting a value from a stream.
Set up as such :
periapsis = conn.add_stream(getattr, vessel.orbit, 'periapsis_altitude')
print("periapsis stream = {}.".format(periapsis))
When I print the variable "periapsis", I get :
<krpc.stream.Stream object at 0x0000025A7F3017B8>
It is not a number, what it is actually ? an object type and a memory address I guess ? How to get the actual value ?
I might have misunderstood something, if anyone have a clue about what's going on here, will be greatly appreciated. PS: Not sure where to ask for help regarding that issue, hope here is okay.