1211 Commits

Autor SHA1 Nachricht Datum
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
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
Reinder Feenstra
2144913340 fix: workaround GCC bug
see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329
2025-01-23 22:58:31 +01:00
Reinder Feenstra
c96a4c1aac replaced boost::random by std random 2025-01-21 23:33:12 +01:00
Reinder Feenstra
b1ec56fdba webthrottle: release / failed acquire fixes
see #178
2025-01-20 23:50:48 +01:00
Reinder Feenstra
9fa717d1ca webthrottle: add function button support (still requires some styling tweaks)
see #178
2025-01-19 21:39:56 +01:00
Reinder Feenstra
ed7e0bc6da fix: missing include 2025-01-19 15:07:23 +01:00
Reinder Feenstra
71db228d40 throttle: removed functions wrapping, access function via train/decoder 2025-01-19 13:12:38 +01:00
Reinder Feenstra
9278f70bf3 fix: added asserts to check thread 2025-01-16 23:37:37 +01:00
Reinder Feenstra
541a6f5fc9 webthrottle: improved handling of world load/close and added auto reconnect
see #178
2025-01-15 23:57:25 +01:00
Reinder Feenstra
994cc4d99c webthrottle: disable other direction button if train is moving 2025-01-13 23:38:03 +01:00
Reinder Feenstra
8ac68be121 webthrottle: added generic functions for sending errors 2025-01-13 23:36:29 +01:00
Reinder Feenstra
fcbec85ee8 webthrottle: moved common release code to function 2025-01-13 23:04:10 +01:00
Reinder Feenstra
bdcb5574f8 fix: release() caused loop by calling activate 2025-01-13 23:01:25 +01:00
Reinder Feenstra
712b317221 fix for macos build 2025-01-11 13:22:26 +01:00
Reinder Feenstra
36cf5f4f71 fixme: disabled stringop-overflow for now to get CI working again, still need to investigate 2025-01-11 11:18:22 +01:00
Reinder Feenstra
b73ed8c0eb Added list of active throttles to world 2025-01-11 11:18:09 +01:00
Reinder Feenstra
78a8e17958 fix: missing includes for Release build 2025-01-10 00:39:09 +01:00
Reinder Feenstra
0c5f71fc85 wip: added basic web throttle
see #178
2025-01-10 00:26:46 +01:00
Reinder Feenstra
ce4417cc30 Added support for controlling a Train to the Throttle
Decoder control is still supported but will be removed in the future.
see #178
2025-01-08 23:51:24 +01:00
Reinder Feenstra
d06e58902c cleanup 2025-01-03 00:17:36 +01:00
Reinder Feenstra
5d1968b865 fix: missing #ifndef for release build 2025-01-03 00:13:25 +01:00
Reinder Feenstra
9739910b9f Added websocket connection for webthrottle
see #178
2025-01-02 20:51:45 +01:00
Reinder Feenstra
ca580a5e9e renamed Connection to ClientConnection 2025-01-01 14:10:47 +01:00