1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

179 commits

Author SHA1 Message Date
KeVteL
5c7cf65821 Fixed install path for the python-wrapper .so file
Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
2025-01-27 14:26:00 +01:00
KeVteL
25ebc244ab include bug + iterator logic fix
Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
2025-01-27 14:26:00 +01:00
KeVteL
c165be5a5e Fixed build system
now installs the .so in /usr/lib/pythonX.Y/lib-dynload
/usr/bin/... was the wrong place

the .so is a shared library not a shared binary
therefore: COMPONENT lib
instead of: COMPONENT bin

Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
2025-01-27 14:26:00 +01:00
KeVteL
fed466fd8d Change default Python-Wrapper Module install path.
Default install Path is now /usr/in/<python-version>/lib-dynload.
It is useful for dynamic libraries (.so modules).
May consider building a Python Wheel.

Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
2025-01-27 14:26:00 +01:00
KeVteL
57cd42c85c Updated Wrapper Bindings:
Added "Array" class to hold multiple samples and be able to use
node_read() and node_write() properly in python.
The "Array" class decref's samples stored automatically during setting
values in python or the object being destroyed.:

Included node.h properly so that the bindings can be linked to
libvillas.so.
Now functions, if not required to have a different
implementation use the node_capi.cpp implementations directly.

Removed unnecessary type-casting functions.

node_new() checks for whether or not a name is provided and creates a
node accordingly.

fixed a memory leak in node_to_json_str().

node_to_json() and node_to_json_str(), right now do the same.
To do: update node_to_json() to return the type that would be returned
by the python json library.

Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
2025-01-27 14:26:00 +01:00
KeVteL
dfbd24e4f2 sorted subdirectories
Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
2025-01-27 14:26:00 +01:00
KeVteL
5bc63f7524 Python-Wrapper added
Necessary changes to integrate the python wrapper into the existing
build system. Added the python wrapper Code.

Testing the build and functionality still has to be done.

Signed-off-by: KeVteL <k-telaar@t-online.de>
Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
2025-01-27 14:26:00 +01:00
Steffen Vogel
e26a5c1b48 hypersim: Update UCM code for multiple signal values
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-05-02 10:30:12 +02:00
449e132f27 Remove trailing whitespace
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
1560f67656 Reformat Python code with black
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
dc436073a2 Use spaces for indention of C++ comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 23:18:47 +01:00
Steffen Vogel
02a2aa4f94 Apply clang-format changes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-08 11:37:42 +02:00
bbb3cfe240 Remove more Doxygen-style comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-09-07 11:16:04 +02:00
68654f95f2 Add periods after file headers and fix email addresses
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2023-09-07 11:16:04 +02:00
Steffen Vogel
0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Steffen Vogel
78727be952 Use C++ style comments
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
7eec1bb753 update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-16 23:44:07 +01:00
b94746effb relicense VILLASnode to Apache 2.0 2022-07-04 18:23:57 +02:00
544b40899c typhoon: fix handling of complex signals 2022-04-20 10:11:53 +02:00
04b4ed240f add Typhoon HIL example model 2022-03-24 16:35:35 +01:00
11a25f6fb7 update mail address 2022-03-15 09:29:20 -04:00
17ac92aa21 update copyright year 2022-03-15 09:28:57 -04:00
db09e26536 add _intel_fast_memmove 2022-02-14 13:31:24 +01:00
784e970bfe port large parts of VILLASnode to C++ and fix tests alongside 2022-01-11 09:19:53 -05:00
b83bec6f7d cmake: fix compilation of OPAL-RT AsyncIP code 2021-09-14 20:10:21 +02:00
ebce47b75b update configs to new format configuration style 2021-06-22 07:14:34 -04:00
5a95fc0bd6 fix compilation of OPAL AsyncIP client code on new opalrtlinux3 64-bit targets
Thanks to Cory Paquet-Clouston (OPAL-RT) for the fix
2021-06-10 09:35:48 +00:00
4f370ee1b2 drop legacy logger 2021-03-17 14:58:45 +00:00
f8850b4110 refactor: improve code-style 2020-07-01 17:07:16 +02:00
b882f476e8 Update clients/hypersim/model/ucm_node.def, clients/opal/models/send_receive/src/main.c, include/villas/formats/msg_format.h, lib/formats/msg.cpp files 2020-06-04 09:33:01 +02:00
e53661a62c update copyright year to 2020 2020-01-20 17:17:00 +01:00
fd3c732771 refactor: msg format reserved 2019-09-03 22:06:23 +02:00
2e6ca2de94 avoid calling copy constructors 2019-06-18 17:53:09 +02:00
05ac6dd61f fix obsolete include filename 2019-05-28 17:36:23 +02:00
492004bf34 use new villas::Tool class as common top-level entrypoint 2019-05-28 17:31:58 +02:00
71995642a9 add missing include villas/colors.hpp 2019-04-23 13:11:19 +02:00
6a106b42e5 use villas/utils.hpp instead of villas/utils.h 2019-04-23 13:09:50 +02:00
e22e60a2b2 fix some #endif and comments 2019-04-05 02:22:53 +02:00
51f7179f0e harmonize usage info 2019-03-31 21:11:40 +02:00
a64f3e4b6d add VILLASnode specific exceptions 2019-03-26 15:39:07 +01:00
db8156e116 hypersim: increment sequence number with each timestep 2019-03-09 00:38:31 +01:00
668c3b039c hypersim: fix invalid message length 2019-03-08 13:16:02 +01:00
7b5f2157b0 refactor: do not use global loggers 2019-01-17 20:28:20 +01:00
8f7c8ae71e update copyright year to 2019 2019-01-13 00:42:39 +01:00
c090b0bc76 tests: fix python example 2018-12-04 13:27:42 +01:00
a63b15609a do not throw dynamically allocated exceptions 2018-12-02 03:11:32 +01:00
c30009b96f cpp: use new supernode class 2018-11-30 21:35:14 +01:00
e625926d7d refactor: cout over multiple lines 2018-11-30 21:00:53 +01:00
30576ba7ad refactoring: move config to villas/node/config.h 2018-11-30 21:00:53 +01:00
0709235502 log: adjust to new log constructor signature 2018-11-30 20:58:15 +01:00