Some of the getting_started/observer APIs are not working today

i.e. while

sudo python3 getting_started/observer/power/get_battery_state.py

does work.

The get_battery_state_notifications.py doesn’t do anything?

I’m running today the latest firmware.

Thanks,

1 Like

Hi @cipy,

Battery state notifications are only sent by RVR on a transition of the battery state, i.e. ok to low, low to critical. If you leave it running long enough you’ll eventually see it, but without running motors the battery lasts several hours.

This example script is meant to be instructional, but is also exceedingly boring.

Jim

2 Likes
SPHERO Email Marketing -