DexterInd / Raspbian_For_Robots

Raspbian image changes to make it work well with Dexter Industries robots.
http://www.dexterindustries.com/raspbian-for-robots/
Other
33 stars 18 forks source link

Add antenna wifi for GPG3 #203

Closed CleoQc closed 5 years ago

CleoQc commented 5 years ago

Add a service that checks whether the GPG3 is connected to a wifi service. If so, turn the antenna LED yellow, to indicate it's accessible via Wifi.

This addresses the confusion that some users have when trying Raspbian for Robots and not getting an antenna feedback when booting up the robot. Of course, the very first boot, there will be no light, as the Wifi info isn't set up yet. But it does give a nice feedback that it's safe to remove the ethernet cable. And on subsequent boots, it helps knowing the status of the robot.

CleoQc commented 5 years ago

I just did a fresh install on Raspbian of GPG3. RFR_Tools gets pulled, but auto_detect_robot.py doesn't seem to be run. Two options: we run auto_detect_robot.py at boot, or we just trust the gopigo3.py library to fail gracefully if the GPG3 is not installed.

RobertLucian commented 5 years ago

We are better off with letting the gopigo3-related script fail gracefully when the GoPiGo3 is not present. That is the cleanest approach.

CleoQc commented 5 years ago

Superceded by https://github.com/DexterInd/Raspbian_For_Robots/pull/204