Comments (7)
If this were built in by a user, then the WiThrottle and <T id 1|0> commands would continue to operate but the define/delete versions would be denied.
Sensors also behave slightly differently as well... If JMRI is using sensors then they still have to be continuously polled, whereas TPL does not need this overhead.
So... We have I suggest, 3 different types of CS build
- As now with all the old stuff
- With added compile time Layout definition. {define/delete versions of commands denied)
[The presence of a myLayout.h file would be enough to switch this mode on] - With added compile time layout and TPL Automation.
[The presence of a myTPL.h file would be enough to switch this mode on]
from commandstation-ex.
If We do implement this... can we avoid the hassle of rewriting the old eeprom code and just leave it as-is?
from commandstation-ex.
@Asbelos I haven't really done any work on the Command Station side of things before, but the way I see it, JMRI poses a major problem for adding new features as it requires DCC++ to work a specific way. I could be wrong, but I am wondering if it would be better off in the long run if someone could add a new 'driver' in JMRI, specific to Command Station EX, allowing more freedom development wise.
On the TPL side of things, am I right in saying that the scripts are compiled in with the command station then uploaded to the Arduino? Even if this is so, it could be all right to define the turnouts in the script, as most people would only add turnouts to their layout very occasionally. Also, as TPL is very much abstracted from C++, do you think it would be possible to have an interpreter that runs on a PC and sends commands over serial for testing purposes? Once the script had been finalized, it could then be compiled.
As I said, I don't know a huge amount about Command Station or TPL so these suggestions may be no good, but I thought I would say them just incase they were helpful in any way.
from commandstation-ex.
from commandstation-ex.
@Asbelos I am happy to have a go at writing the PC application once a full command list is made. I was intending to do this anyway at some point as I wanted to support TPL execution over Wifi on TrainLink.
I also don't know much about JMRI, but if I have some free time I will have a little look to see if anything can be done.
from commandstation-ex.
from commandstation-ex.
@Asbelos thanks for that!
from commandstation-ex.
Related Issues (20)
- [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
- Readme.md has dead link HOT 1
- Installation Error HOT 5
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.