i have two questions please : how can I instal the plugin in ue4.27 , and I have a real time motion capture ( IMU ) how can i read the outputs of this capture in ue4.27 !!
Have a short question: I changed the data types in things I need. Now, in Blueprint, when I want to "break UDPData", I only get the old data types... There are not my own data types... What shall I do? (I also opened a more specific Git-Issue)
That's not really an intended application, so the data structure that is used is not optimized for that at all. But, as you may know, RTP is based on UDP, so it could technically work with some modifications. However, additional considerations would be required to avoid processing bottlenecks.
Not without some additional configuration, obviously; there is no actual protocol specified for the communication here, we are just throwing bare payloads around with the current implementation :) But ultimately, yes, it might work, depending on how you connect it to the PLC and whether you can configure the protocol on the PLC end.
you have made data class with float array. I want to change the dataclass with another variable but there wasnt any change. i think i need to rebuild plugin how can i do it?
Start an issue at GitHub. I prefer to discuss these matters in an appropriate environment, not youtube video comments section. But since I'm writing this, might as well answer it. Yes, you need to recompile it, and before that you need to change the Classes/UDPData.h file, both the struct definition and the
@@AlekseiTepljakov Thanks for replying this question. even not being the right env. I found and it helped. Also, I want to change the float to a string but FString doesn't work, do you know how could I accomplish this?
@@danielvettorazi7835 FString should also work. I mean the UDP packet payload might as well be anything, you just need to implement the packing/unpacking of the data. We've recently done this for the CSVWriter plugin and it works with FStrings easily (though I think the updated code hasn't been pushed yet...)
The UDP receiver will always listen on the local interface (hence we have removed a redundant parameter) and what's important is the port, so yes, так и задумано.
Its jst crashing with assertion error. Its a 4.27 project and it doesnt hav the Ip address option. And i used the hercules software to receive the udp data. can u help me...
Is there is a way to read csv files instead of json because my mobile phone streaming json looks like this so i get 0.0 in print. File looks like this [ {"gyroRotationX":"0.105908","gyroRotationY":"-0.143761","gyroRotationZ":"0.016280","gyroTimestamp_sinceReboot":"88953.274142","loggingTime":"2023-06-01 12:27:35.364 +0530","logSampleNr":"1"}, {"gyroRotationX":"-0.097412","gyroRotationY":"-0.226993","gyroRotationZ":"0.046512","gyroTimestamp_sinceReboot":"88953.374678","loggingTime":"2023-06-01 12:27:35.464 +0530","logSampleNr":"2"}, {"gyroRotationX":"-0.067701","gyroRotationY":"-0.101090","gyroRotationZ":"0.007071","gyroTimestamp_sinceReboot":"88953.475213","loggingTime":"2023-06-01 12:27:35.568 +0530","logSampleNr":"3"}, {"gyroRotationX":"-0.188045","gyroRotationY":"-0.472884","gyroRotationZ":"0.041856","gyroTimestamp_sinceReboot":"88953.575749","loggingTime":"2023-06-01 12:27:35.666 +0530","logSampleNr":"4"}, {"gyroRotationX":"-0.287147","gyroRotationY":"-0.698744","gyroRotationZ":"0.088220","gyroTimestamp_sinceReboot" ] And on csv its looks like this everything on one line loggingTime(txt),loggingSample(N),gyroTimestamp_sinceReboot(s),gyroRotationX(rad/s),gyroRotationY(rad/s),gyroRotationZ(rad/s) 2023-06-01 12:25:58.952 +0530,1,88856.86054575001,-0.1783063560724258,0.1201815381646156,-0.09234564006328583 2023-06-01 12:25:59.053 +0530,2,88856.96108175001,-0.5024636387825012,-0.1931193917989731,-0.2216354608535767 2023-06-01 12:25:59.156 +0530,3,88857.06161775001,-0.06050222739577293,0.07826337963342667,-0.1446812897920609 2023-06-01 12:25:59.254 +0530,4,88857.16215375,0.1967261135578156,-0.0565921738743782,-0.1209458634257317 2023-06-01 12:25:59.355 +0530,5,88857.26268975,-0.2130480855703354,-0.809040367603302,0.1973905712366104 2023-06-01 12:25:59.455
i have two questions please : how can I instal the plugin in ue4.27 ,
and I have a real time motion capture ( IMU ) how can i read the outputs of this capture in ue4.27 !!
Use SerialCom plugin to communicate with IMU Sensor, you dont need UDP
Have a short question: I changed the data types in things I need. Now, in Blueprint, when I want to "break UDPData", I only get the old data types... There are not my own data types... What shall I do? (I also opened a more specific Git-Issue)
Would this work with something like a video from a UE4 camera?
That's not really an intended application, so the data structure that is used is not optimized for that at all. But, as you may know, RTP is based on UDP, so it could technically work with some modifications. However, additional considerations would be required to avoid processing bottlenecks.
So would this work in communicating with a PLC? Having the PLC interface with Unreal, using Unreal as sort of a HMI?
Not without some additional configuration, obviously; there is no actual protocol specified for the communication here, we are just throwing bare payloads around with the current implementation :) But ultimately, yes, it might work, depending on how you connect it to the PLC and whether you can configure the protocol on the PLC end.
you have made data class with float array. I want to change the dataclass with another variable but there wasnt any change. i think i need to rebuild plugin how can i do it?
Start an issue at GitHub. I prefer to discuss these matters in an appropriate environment, not youtube video comments section. But since I'm writing this, might as well answer it. Yes, you need to recompile it, and before that you need to change the Classes/UDPData.h file, both the struct definition and the
@@AlekseiTepljakov Thanks for replying this question. even not being the right env. I found and it helped.
Also, I want to change the float to a string but FString doesn't work, do you know how could I accomplish this?
@@danielvettorazi7835 FString should also work. I mean the UDP packet payload might as well be anything, you just need to implement the packing/unpacking of the data. We've recently done this for the CSVWriter plugin and it works with FStrings easily (though I think the updated code hasn't been pushed yet...)
Can I send data to this plugin from an external program (not another UE4 instance)?
Of course!
how to find this server code
Could you tell me how you set up the simulink?
Yes, there, Simulink Desktop Realtime toolbox is used and specifically packet input and packet output blocks.
@@AlekseiTepljakov Thank you very much. I'd like to ask you about the details, so could you tell me your email address?
I dont have an ip address field in Start UDP receiver in 4.26 version. Is it a bug or так задумано?
The UDP receiver will always listen on the local interface (hence we have removed a redundant parameter) and what's important is the port, so yes, так и задумано.
@@AlekseiTepljakov spasibo :)
Its jst crashing with assertion error. Its a 4.27 project and it doesnt hav the Ip address option. And i used the hercules software to receive the udp data. can u help me...
Please open an issue on github.
Is there is a way to read csv files instead of json because my mobile phone streaming json looks like this so i get 0.0 in print. File looks like this [
{"gyroRotationX":"0.105908","gyroRotationY":"-0.143761","gyroRotationZ":"0.016280","gyroTimestamp_sinceReboot":"88953.274142","loggingTime":"2023-06-01 12:27:35.364 +0530","logSampleNr":"1"},
{"gyroRotationX":"-0.097412","gyroRotationY":"-0.226993","gyroRotationZ":"0.046512","gyroTimestamp_sinceReboot":"88953.374678","loggingTime":"2023-06-01 12:27:35.464 +0530","logSampleNr":"2"},
{"gyroRotationX":"-0.067701","gyroRotationY":"-0.101090","gyroRotationZ":"0.007071","gyroTimestamp_sinceReboot":"88953.475213","loggingTime":"2023-06-01 12:27:35.568 +0530","logSampleNr":"3"},
{"gyroRotationX":"-0.188045","gyroRotationY":"-0.472884","gyroRotationZ":"0.041856","gyroTimestamp_sinceReboot":"88953.575749","loggingTime":"2023-06-01 12:27:35.666 +0530","logSampleNr":"4"},
{"gyroRotationX":"-0.287147","gyroRotationY":"-0.698744","gyroRotationZ":"0.088220","gyroTimestamp_sinceReboot"
]
And on csv its looks like this everything on one line loggingTime(txt),loggingSample(N),gyroTimestamp_sinceReboot(s),gyroRotationX(rad/s),gyroRotationY(rad/s),gyroRotationZ(rad/s)
2023-06-01 12:25:58.952 +0530,1,88856.86054575001,-0.1783063560724258,0.1201815381646156,-0.09234564006328583
2023-06-01 12:25:59.053 +0530,2,88856.96108175001,-0.5024636387825012,-0.1931193917989731,-0.2216354608535767
2023-06-01 12:25:59.156 +0530,3,88857.06161775001,-0.06050222739577293,0.07826337963342667,-0.1446812897920609
2023-06-01 12:25:59.254 +0530,4,88857.16215375,0.1967261135578156,-0.0565921738743782,-0.1209458634257317
2023-06-01 12:25:59.355 +0530,5,88857.26268975,-0.2130480855703354,-0.809040367603302,0.1973905712366104
2023-06-01 12:25:59.455
So i need to edit \Classes\UDPData.h file ?