Finally a competitor to Ruby on rails! Computers faster than you ever wanted them to be!
Ahem, this is my take on idea from #179. Since locomotive relay is quite limited and wasn't intended for long-range control to begin with, how about making microcontroller minecarts that let you control locomotives they're attached to? You make microcontroller, put it into minecart, link to locomotive and off you go!
API is like what locomotive relay provides, plus:
get/setMode for managing locomotive mode
get/setSpeed for managing speed (1-4)
get/setReverse for managing reverse (as boolean)
possibly increase/decreaseSpeed for easier control over speed, but not required (easy for end users to implement with get/setSpeed anyways)
tellPassengers - send message to all passengers of current train like message track kit does
Additionally, I think that getting coordinates wouldn't be great. Instead, we can have computer track kit that sends event with custom string to microcontroller carts that pass over it.
Finally a competitor to Ruby on rails! Computers faster than you ever wanted them to be!
Ahem, this is my take on idea from #179. Since locomotive relay is quite limited and wasn't intended for long-range control to begin with, how about making microcontroller minecarts that let you control locomotives they're attached to? You make microcontroller, put it into minecart, link to locomotive and off you go!
API is like what locomotive relay provides, plus:
get/setMode
for managing locomotive modeget/setSpeed
for managing speed (1-4)get/setReverse
for managing reverse (as boolean)increase/decreaseSpeed
for easier control over speed, but not required (easy for end users to implement withget/setSpeed
anyways)tellPassengers
- send message to all passengers of current train like message track kit doesAdditionally, I think that getting coordinates wouldn't be great. Instead, we can have computer track kit that sends event with custom string to microcontroller carts that pass over it.