Comments (2)
My initial thoughts on your list:
intercept the Turnout aspects of Withrottle to call into the TPL layout handling.
As long as the server sends a list of turnouts and state updates, it can define and use them however it wants.
Intercept loco acquisition so that it cant steal a loco TPL is animating.
Client waits for Mx+ response to its Mx+ request. So server can simply choose not to respond, or (better) send only a message explaining the issue.
-OR- (better?) Server can reply with Mx+, but then ignore any speed/direction requests while server is in control.
Use Routes to allow ED to send a loco onto a TPL route.
Same as turnouts, client does not care what is behind the list. The route list could be dynamic based on the current loco acquisition state or whatever. Sort of a "menu".
Pre populate a throttle when handling a loco over from TPL
Client should accept unsolicited Mx+ messages and add that addr to throttle "x". ED and WiThrottle should always have throttle "0" visible (?).
BUT not sure how to handle multiple ED clients here.
This seems simpler if the flow looks something like this:
- Client requests loco address AAAA for a specific throttle "x"
- Server responds with Mx+AAAA
- Client selects a "Route" which indicates server should control AAAA
- Client still shows AAAA, but any client speed/direction requests are ignored with message "Loco AAAA running under TPL"
- Server completes task and stops ignoring speed/direction for AAAA.
This removes the need for the server to "guess" at which client and throttle.
from commandstation-ex.
from commandstation-ex.
Related Issues (20)
- [Feature Request]: Add a "no programming" option to save RAM on Uno HOT 1
- [Feature Request]: Add the F439ZI in future configs
- [Feature Request]: Wireless DCC communication Battery driven Locs (gardenrailway) HOT 2
- [To Do]: ARDUINO UNO R4 WIFI HOT 1
- [Support Request]: Unable to use Analog pin A6 and A7 as sensors on Arduino Nano HOT 3
- Servo operated turnouts
- Watchdog on DCC-EX protocol connection
- v5 : sensors not working with Rocrail (whereas 4.1 does) HOT 1
- Error message 'Could not pull latest updates from GitHub'
- [Feature Request] Simulate simple I/O in IO_PCA9685pwm
- Incorporate Track Modes into OLED Display HOT 2
- JR command does not include default roster 0.
- [Feature Request]: Add EEPROM Functionality to ARDUINO_ARCH_ESP32 HOT 4
- boucle de retournement
- Network IO extender via Ethernet
- Ethernet not obtaining IP address HOT 3
- Operate KATO Turnouts using Ex-CommandStation HOT 1
- Support for Nextion touch HMI displays HOT 3
- Dcc-ex and Traincontroller HOT 2
- Exrail to I2C for turnout control? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commandstation-ex.