973 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
13552ae7ae windows: don't call zlibVersion(), it causes a crash #FIXME 2023-11-01 20:30:21 +01:00
Reinder Feenstra
d931591fab fix: added missing include 2023-11-01 17:02:14 +01:00
Reinder Feenstra
f9641404ae fix: single/double slip turnout links weren't correct 2023-10-31 23:45:40 +01:00
Reinder Feenstra
577c55e449 board: NX button and path selection #WIP
see #14
2023-10-25 22:26:28 +02:00
Reinder Feenstra
289812b248 temporary fix to get rid of unused errors (clang-tidy) 2023-10-22 09:03:22 +02:00
Reinder Feenstra
6af3090ea7 board: added basic path finding between blocks 2023-10-21 23:15:02 +02:00
Reinder Feenstra
8ff6a98dc8 loconet: updated OPC_MULTI_SENSE_LONG
based on documentation from the developer of the message format.
2023-10-21 13:34:19 +02:00
Reinder Feenstra
cec1aa1304 refactor: removed message ErrorCode, now using LogMessage everywhere. 2023-10-14 22:53:56 +02:00
Reinder Feenstra
280123d15e fix: added license block 2023-10-11 23:32:55 +02:00
Reinder Feenstra
e6428e7182 test: added delete active train/rail vehicle tests 2023-10-11 23:32:10 +02:00
Reinder Feenstra
2c67d4bf57 trainlist: deleting active trains is no longer allowed 2023-10-11 23:31:35 +02:00
Reinder Feenstra
7516d39e39 fix: train can be null 2023-10-11 22:24:44 +02:00
Reinder Feenstra
0d1806cee8 fix: TrainBlockStatus load failed 2023-10-08 22:27:59 +02:00
Reinder Feenstra
1286362253 clang-tidy fixes/improvements 2023-10-08 19:40:32 +02:00
Reinder Feenstra
b5b3da9107 board: added basic identification/RailCom support for blocks 2023-10-08 17:48:16 +02:00
Reinder Feenstra
01e168b57b event: added boost::signal support 2023-10-08 17:35:16 +02:00
Reinder Feenstra
2d914949cf loconet: corrected multi_sense address, +1 was missing 2023-10-08 17:34:37 +02:00
Reinder Feenstra
395cf14425 loconet: corrected LNCVReadResponse mask
didn't detect response sent by https://github.com/mrrwa/LocoNet library
2023-10-01 23:58:27 +02:00
Reinder Feenstra
b536175a4a bugfix: findDecoder(const Decoder&) didn't work when mfx uid was zero 2023-09-28 00:00:15 +02:00
Reinder Feenstra
5eaa45b3e0 lua: class: added INTERFACE for consistency 2023-09-25 22:52:40 +02:00
Reinder Feenstra
324435ed49 lua: added missing class id's for identification (list) 2023-09-25 22:48:45 +02:00
Reinder Feenstra
201a5c2275 fix: missing includes for release build 2023-09-25 08:27:15 +02:00
Reinder Feenstra
41c59d80e8 fix: missing includes for release build 2023-09-24 23:23:08 +02:00
Reinder Feenstra
5b5485869c test: added empty train activation test 2023-09-24 23:01:42 +02:00
Reinder Feenstra
a03bcc835e fix: a train without vehicles can't be activated 2023-09-24 23:01:17 +02:00
Reinder Feenstra
29887fc748 test: added create/destroy tests for train and rail vehicle 2023-09-24 22:45:22 +02:00
Reinder Feenstra
cfb1fba8a5 fix: don't allow delete of rail vehicle when in active train 2023-09-24 20:22:31 +02:00
Reinder Feenstra
838714f2fb removed TrainProperty, ObjectProperty<Train> can be used. 2023-09-24 17:26:01 +02:00
Reinder Feenstra
eb63012511 Object events more consistent now
Last param is now always the object emitting the event (except for singleton's like World and Clock)
Lua handler no longer adds the emitting object param (is in the event now)
2023-09-24 11:05:35 +02:00
Reinder Feenstra
a9aef63e4e fix: world failed to load if a script was present 2023-09-23 22:49:08 +02:00
Reinder Feenstra
ec2f42ba27 refactor: moved common kernel stuff to KernelBase #WIP 2023-09-22 23:07:57 +02:00
Reinder Feenstra
11ac7d6909 refactor: renamed Client to Connection 2023-09-22 20:20:21 +02:00
Reinder Feenstra
6670c774de refactor: moved common kernel stuff to KernelBase #WIP 2023-09-22 00:39:21 +02:00
Reinder Feenstra
aff3bd5c11 Moved IOHandler TCP connect's to start() to prevent eventloop blocking.
closes #74
2023-09-20 22:30:28 +02:00
Reinder Feenstra
044c15ac98 locale: use std::unique_ptr (was raw pointer) 2023-09-17 22:50:59 +02:00
Reinder Feenstra
b2c88e2c01 lua: implemented excution time limit 2023-09-17 19:16:54 +02:00
Reinder Feenstra
f71ac69011 decoder list: added protocol column 2023-09-15 23:00:33 +02:00
Reinder Feenstra
5fb957660b marklin_can: only store MFX UID, map to MFX SID using loklist.
see #11
2023-09-15 22:58:00 +02:00
Reinder Feenstra
f75cd88db9 marklin_can: fix: status data config endian conversion
see #11
2023-09-03 23:54:27 +02:00
Reinder Feenstra
ea4d629362 marklin_can: fix: status data config string decode was using wrong maxLen
see #11
2023-09-03 23:53:29 +02:00
Reinder Feenstra
caf65c3c7e marklin_can: added debug option to save status data config as JSON
see #11
2023-09-03 23:36:54 +02:00
Reinder Feenstra
b2021b8ce6 marklin_can: improved node discovery speed.
reduced retries to 3 (was 11)
reduced retry timeout to 50ms (was 100ms)
see #11
2023-09-03 21:52:15 +02:00
Reinder Feenstra
c33ffac650 marklin_can: added decoding of reading/configuration channels descriptions
see #11
2023-09-03 21:50:17 +02:00
Reinder Feenstra
d85b00ca3e marklin_can: added reading of measurement and configuration channels 2023-09-03 11:36:30 +02:00
Reinder Feenstra
f1f11b77c2 marklin_can: improved (CS2) simulation support
- ping support
- periodic bootstrapCAN messages
- "loks" list download
see #11
2023-08-29 23:36:20 +02:00
Reinder Feenstra
2cbdd56aaf marklin_can: added serial io handler (binary identical to TPC/UDP)
see #11
2023-08-28 18:31:31 +02:00
Reinder Feenstra
6899166fe1 marklin_can: added uid to debug log of system stop/go/halt commands
see #11
2023-08-27 23:51:35 +02:00
Reinder Feenstra
ae8b0cb5ec marklin_can: added debug log of system status commands
see #11
2023-08-27 23:50:36 +02:00
Reinder Feenstra
49623c7d73 marklin_can: improved startup procedure
fisrt discovers nodes, then set accessory switch time and then download the loklist.
see #11
2023-08-27 18:22:19 +02:00
Reinder Feenstra
8625b64248 maklin_can: added device id column to node list
see #11
2023-08-27 16:46:43 +02:00