1298 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
1ddd0ae712 fix: determine row number before erase (erase invalidates iterators) 2025-09-28 23:55:46 +02:00
Reinder Feenstra
55e18884cd vehicle: set initial maximum speed tp 100 for powered vehicles 2025-09-24 20:45:03 +02:00
Reinder Feenstra
5567ba39b8 vehicle/decoder: decoders are now directly linked to vehicles, they are no longer managed seperatly. This makes it easier to understand for users. 2025-09-24 18:56:05 +02:00
Reinder Feenstra
785b82d906 vehicle: set name to id on create 2025-09-24 18:34:41 +02:00
Reinder Feenstra
271de84510 moved decoder function function/type enum list to shared, so client can use it as well 2025-09-24 00:00:10 +02:00
Reinder Feenstra
91dc28b2e6 fix: missing include 2025-09-16 21:00:30 +02:00
Reinder Feenstra
ed5eeabd25 Server now host the manual via its built in webserver., clients now by default display the server hosted manual, if not connectect the local version is opened. 2025-09-16 20:40:22 +02:00
Reinder Feenstra
d008df636c Moved LocoNet trademark notice to README.
Removed copyright notice, does not apply as it is my own implementation.
2025-09-10 22:37:23 +02:00
Reinder Feenstra
469d59f4c2 [decoder] now aware of train/vehicle mute/noSmoke 2025-08-26 20:06:35 +02:00
Reinder Feenstra
230c4f6414 Merge remote-tracking branch 'origin/master' into 144-add-zone-support 2025-08-25 22:43:31 +02:00
Reinder Feenstra
71a931a596 [lua] added memory limit for scripts, set at 1 MiB 2025-07-22 23:41:52 +02:00
Reinder Feenstra
6802289c17 [lua] removed unused method 2025-07-22 23:40:50 +02:00
Reinder Feenstra
b8e5051ffd [windows] Build fixes for VS2022 CLang19 2025-07-02 22:00:43 +02:00
Reinder Feenstra
3ac466ea6f [throttle] added ClientThrottle, for use by traintastic-client 2025-07-01 23:15:53 +02:00
Reinder Feenstra
31ef2b206c [train] converted hasThrottle and throttleName to properties 2025-07-01 22:30:16 +02:00
Reinder Feenstra
181d6ca4bc [throttle] added onAcquire and onRelease events 2025-07-01 22:28:31 +02:00
Reinder Feenstra
91541599e4 [train] fix: added missing length property to TrainVehicleList 2025-07-01 21:04:19 +02:00
Reinder Feenstra
77ea234200 [decoder] set speed to zero on Estop 2025-07-01 21:03:33 +02:00
Reinder Feenstra
13dfe7ef03 [decoder] fix: type mismatch 2025-07-01 21:03:06 +02:00
Reinder Feenstra
95b063cb4b [lua] fix: missing include 2025-06-08 10:43:58 +02:00
Reinder Feenstra
41fc910ca2 fix: missing include 2025-06-05 23:16:46 +02:00
Reinder Feenstra
583ea3044f [lua] Added Script throttle, enabling train control from Lua! 2025-06-04 23:05:51 +02:00
Reinder Feenstra
10ebc099e5 [throttle,withrottle] WiThrottle now attaches to a Train instead of a Decoder. Refactored throttle class for more future throttle types. 2025-06-04 18:48:25 +02:00
Reinder Feenstra
bdeda12e23 [core] renamed TrainError to ErrorCode, a single type for all traintastic error code 2025-06-03 23:51:43 +02:00
Reinder Feenstra
6cc18c1b63 [decoder] added vehicle property, a decoder can now only be linked to one vehicle 2025-06-03 23:42:25 +02:00
Reinder Feenstra
b81eafdc67 [railvehicle] fix: trains was not restored after load 2025-06-03 23:40:22 +02:00
Reinder Feenstra
8d3c537195 [throttle] Throttle now base of NonPersistentObject, no need for storing them. 2025-05-29 23:13:19 +02:00
Reinder Feenstra
6bed168e8e [core] Added new base class NonPersistentObject for non storable obects 2025-05-29 22:21:13 +02:00
Reinder Feenstra
5c57b37ab3 [throttle] moved throttle sources out of hardware, there will be more non hardware throttle types be added 2025-05-28 23:39:05 +02:00
Reinder Feenstra
2b57d3fec7 [objectlist] added back() method 2025-04-13 23:08:14 +02:00
Reinder Feenstra
09450099f6 [zone] fix: use while loop, blocks/zones is modified during the loop, see #144 2025-04-13 23:07:13 +02:00
Reinder Feenstra
5af2cb2a15 [zone] fix: duplicate class id, see #144 2025-04-09 23:19:18 +02:00
Reinder Feenstra
92a4c9b853 [traintracking] fix: zone limits wern't updated if train was assigned/removed from a zone block. 2025-04-08 23:46:49 +02:00
Reinder Feenstra
3123e926e2 [railvehicle] fix: mute/noSmoke wasn't updated if active train changed 2025-04-08 23:44:57 +02:00
Reinder Feenstra
06996642dd [railvehicle] added mute/noSmoke properties 2025-04-07 23:07:04 +02:00
Reinder Feenstra
b44ee29b0e [train] eval mute/noSmoke on world events 2025-04-07 23:05:39 +02:00
Reinder Feenstra
8ee1e9bc6e Merge remote-tracking branch 'origin/master' into 144-add-zone-support 2025-04-07 22:39:09 +02:00
Reinder Feenstra
43292e3a69 Merge remote-tracking branch 'origin/master' into 178-add-web-based-throttle-for-phone 2025-04-01 22:43:49 +02:00
Reinder Feenstra
95808edd4c [webthrottle] Added option for immediate speed control, bypassing acceleration/deceleration. 2025-03-22 10:53:01 +01:00
Filippo Gentile
90248c630b XpressNet: new messages and fixes
- Fix missing ATTRIBUTE_PACKED
- Add chapters to messages to quickly find them on Lenz docs
2025-03-18 11:49:22 +01:00
Filippo Gentile
b78cdd46b7 XpressNet: add more message to logger 2025-03-18 11:49:22 +01:00
Filippo Gentile
71ccb413b0 XpressNet: fix power state logic 2025-03-18 11:49:22 +01:00
Filippo Gentile
395a62281d Z21Interface: fix code indent 2025-03-18 11:49:21 +01:00
Filippo Gentile
2dc82e35bc XpressNet Kernel: fix assert condition 2025-03-18 11:49:21 +01:00
Filippo Gentile
778ddc0314 server: TrainVehicleList fix propertyChanged not updating model 2025-03-10 13:16:00 +01:00
Reinder Feenstra
346393d92f Replaced boost::signals connection by scoped_connection to get rid of disconnects in destructors.
closes #171
2025-02-14 23:45:15 +01:00
Reinder Feenstra
c7bc711e9a webthrottle: estop train(s) if browser is left 2025-02-14 17:23:06 +01:00
Reinder Feenstra
8fd5ac3d1f Redesigned interface list widget, it now embeds the interface settings. 2025-02-13 22:41:19 +01:00
Reinder Feenstra
af6dac1305 replaced tcb::span by std::span 2025-01-29 19:55:05 +01:00
Reinder Feenstra
131acc6081
Merge pull request #180 from traintastic/c++20-server
Change server C++ version to C++20
2025-01-28 19:25:45 +01:00