--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.
Thank you for the help. The problem is now solved, the issue is independent from any inet implementation, so do not take this issue into account.
segunda-feira, 27 de Agosto de 2018 às 11:57:23 UTC + 1, bruno vieira escreveu:Thank you for the answer. In fact, I'm working with INET 3.6.4, not with the most recent version, do you suggest to update it and work on top of it? I really had some code changes already done to INET files, so this would mean some more tweaking on the most recent version.The issue About, i'm working on top of a past project that integrated OMNET ++ with ROS ( https://github.com/ d3scomp / ROSOMNeT ), so my changes are just related to updating the project to more recent versions OMNET ++ and INET . You are, indeed, partly right, there are some of the keywords in the .ini code:node [*] mobility. initFromDisplayString = false
** node [*] mobility.initialX = 0m
** node [*] mobility.initialY = 0m
** node [*]. mobility.initialZ = 0mI believe this should be equivalent to what your guess was about. I'm not sure though, if your guess is true, I actually defined the mobility submodule as:mobility: IsotropicAntenna;Because of a previous error, and I think this was the best way to get it, actually if you think this is an issue, I can revert the change and send that previous error ...Best regards,Bruno Vieira
segunda-feira, 27 de Agosto de 2018 às 11:43:11 UTC + 1, levy escreveu:This is just a guess but I'll write it anyway. In INET 4.0, there is a mobilityModule parameter in AntennaBase, which should refer to the antenna relative to the antenna. This parameter is set in LinkLayerNodeBase to refer to the mobility of the enclosing host. You can accidentally override the default setting in your INI file with some **. MobilityModule = "foo"Best regards,levy
On Mon, Aug 27, 2018 at 12:21 pm bruno vieira < brunov ... @ gmail.com > wrote:
Dear all,I'm currently having an issue on one of my projects that can not seem to find anything about my searches. This is my error output:Error: Module can not cast to 'inet :: IMobility' on path '.mobility' defined by par 'MANET.mobility. mobilityModule '- in module (inet :: physicallayer :: IsotropicAntenna) MANET.mobility (id = 4), during network initializationI am currently updating a project to work on the latest OMNET and INET versions, so I had to change some code and adapt it to make it possible. But now, I'm kind of stck with this issue as I can not find anything related to this.If necessary, I'll provide my current .ned code.
Thanks in advance,Bruno Vieira
-
You received this message because you are subscribed to the Google Groups "OMNeT ++ Users" group.