Skip to content
benoit greslebin edited this page Jun 25, 2019 · 4 revisions

Config endpoint

endpoint: /config

Enables to both, test motor speed values (makes motors spin at required speeds), and fire single shuttlecocks

config json object sample

{
<<<<<<< HEAD
    "Type": "",
    "testSpeeds": [845,920]
=======
    "Type": "FIRE",
    "TestSpeeds": [845,920]
>>>>>>> 6170980ff4fd2263e02a7dcd02ca73485c723fe7

}
  • If Type is "FIRE" will make BADDY fire a shuttlecock (unitary shot)
  • TestSpeeds is a couple of Left motor Speed and Right motor Speed. BADDY motors will spin at the required speeds. Below 830, motor will stop, above 1350, motor speed can damage your BADDY.
Clone this wiki locally