从静脉/OMNET ++的各种发件人接收的单独数据 [英] Separate data received from various senders in Veins/OMNET++
问题描述
在我的情况下,接收车辆从多个发送者那里获取BSM.我需要根据各自的发送者单独记录BSM数据.
In my scenario, a receiving vehicle gets BSMs from multiple senders. I need the BSM data recorded separately according to their respective senders.
当前,我正在使用自定义日志记录系统来实现此目的.但是,由于OMNET ++内置了复杂的日志记录系统,因此可以使用OMNET的内置工具来实现我所需的功能吗?
Currently, I am achieving this using a custom logging system. However, since OMNET++ has a sophisticated logging system built-in, Is it possible to achieve what I need using OMNET's built-in tools?
推荐答案
OMNeT ++向量为每条数据记录2个元组(TV:时间+值)或3个元组(ETV:事件+时间+值).您可以使用此附加信息来查找在相同的模拟时间或由于同一事件而记录的值.
OMNeT++ vectors log 2-tuples (TV: time+value) or 3-tuples (ETV: event+time+value) for each piece of data. You can use this additional information to find which values have been recorded at the same simulation time or as a consequence of the same event.
这篇关于从静脉/OMNET ++的各种发件人接收的单独数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!