Commit Graph

89 Commits

Author SHA1 Message Date
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 2022-08-01 21:24:02 +00:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07:00
Tom Henderson
9ac351202b doc: Replace occurrences of sphinx.ext.pngmath 2022-04-17 15:25:43 -07:00
Gabriel Ferreira
e32c177e45 build: remove waf files, tests and references 2022-02-21 22:08:45 -03:00
Tommaso Pecorella
df97e13ffa antenna: doxygen fixes 2022-01-30 12:06:53 -06:00
Gabriel Ferreira
41aacec626 build: CMake refactoring
Includes:
- refactor build_lib and build_lib_example macros
    - unify src and contrib macros
    - replace macro with function not to leak definitions
    - parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Biljana Bojovic
167aaada6e antenna, buildings, lr-wpan, lte, netanim, propagation, spectrum, wifi, wimax: Update Python bindings 2022-01-22 11:43:31 +01:00
bbojovic
a4b43d0132 spectrum: Move doppler term D and alpha and improve (Thanks to Sandra Lagen)
Co-authored-by: Sandra Lagen <sandra.lagen@cttc.es>

This commit also fixes an issue that was discovered during this implementation,
and that is that the stream was never assigned for the uniform random variable used for
the term D and alpha generation.

-Store term D and alpha into the channel params structure.
-Make sure to use correct angles and zenit of departure and arrival:
Save the direction of the generation of the channel params and channel matrix,
in order to know when regenerating channel matrix if the saved angles aoa, aod,
zoa and zod are of of s-to-u or u-to-s, so to properly use them.
- Simplify the type of the key of channel matrix map
- Remove unecessary if statements and abort replace by assert
- Add a more detailed description of the ThreeGppSpectrumPropagationLossModel changes
2022-01-22 11:43:28 +01:00
bbojovic
f53c28229d spectrum, propagation: Fix the way channel condition is saved and checked if equal
It seems that is not the best way to save in the structure the pointer
to the channel condition model because the underlying condition,
and later when we compare the new condition with the old one, we
are basically comparing the underlying object with itself, because
we saved the pointer to it in the structure.

Instead we should save the concrete values of LOS and O2I condition
in the 3gpp structure, and then once the ChannelCondition state changes,
we can compare these saved values against the new once.
This could not be done when the pointer was being changed because pointer
was pointing to the same object.

This fixes basically the condition in 3gpp whether th channel needs to be
updated when condition changes.
2022-01-22 11:42:20 +01:00
Gabriel Ferreira
a893eba7e3 build: Fix CMake and ns3 script bugs, add a test suite and fix formatting 2021-12-05 21:53:49 +00:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Tom Henderson
4e9afa965d bindings: Rescan all APIs 2021-09-27 11:18:37 -07:00
Gabriel Arrobo
02c20072bc antenna: Avoid multiple cosine and sine computations for the same angle(s) 2021-09-05 15:56:41 +00:00
Sandra Lagen
a4598e8236 antenna: Extend UniformPlanarArray to have a configurable polarization slant angle
see MR !674
2021-07-30 18:20:03 +02:00
Mattia Lecci
2ba71b3d1b antenna: Fix documentation typos 2021-04-13 20:58:10 -07:00
Tommaso Pecorella
b62f86e0a2 antenna: update docs 2021-04-13 23:28:18 +00:00
Tom Henderson
cdd959504a antenna: Update Python bindings 2021-04-10 18:59:00 -07:00
Mattia Lecci
2cfcebe0d0 antenna: (merges !481) Update antenna module
- Introduce PhasedArrayModel
- Use the new PhasedArrayModel framework across modules (e.g., 3gpp channel model)
- Improve Angles class. Furthermore, Angles has been translated from elevation to inclination and from degrees to radians
- Update antenna module doc
- Fix random angle generation for the 3gpp channel model. Specifically, cluster and sub-cluster angles might be generated with inclination angles outside the inclination range [0, pi], and have now been fixed.
2021-04-10 18:59:00 -07:00
Tommaso Pecorella
707a929eb2 antenna: fix html doc warnings 2021-04-10 00:07:34 +00:00
Tom Henderson
6002d927bc bindings: Rescan all APIs 2020-12-21 21:18:58 -08:00
Tommaso Zugno
0891fa9118 propagation: (merges !435) Channel condition model for vehicular scenarios
This work was done in collaboration with Zoraze Ali and Sandra Lagen.
2020-11-28 20:17:05 -08:00
Tom Henderson
9bfa3bd724 bindings: Rescan all APIs 2020-10-03 14:21:45 -07:00
Tom Henderson
8c6fb7d420 bindings: Rescan all APIs 2020-09-05 13:04:28 -07:00
Steven Smith
dded72e02e build: (fixes #217) Guard compilation of example used as a test
* Added documentation to ExampleAsTestSuite on the need for this guarding
* Updated with Peter's patch for examples-as-test placeholders in wscripts
2020-06-08 09:35:50 -07:00
Tom Henderson
5eea3c0270 bindings: Rescan all APIs 2020-06-07 11:38:26 -07:00
Tom Henderson
e99ae43138 bindings: rescan all APIs 2020-05-11 22:07:00 -07:00
Tommaso Zugno
18ade3b7d9 antenna: fix doc 2020-04-23 17:15:16 +02:00
Tommaso Zugno
1ecd22c97f antenna: use a better normalization 2020-04-21 18:44:24 +02:00
Tommaso Zugno
c847199de6 antenna: update comments 2020-04-21 18:07:14 +02:00
Tommaso Zugno
b64cf50d0b antenna: update doc and doxy 2020-04-21 17:58:36 +02:00
Tommaso Zugno
b4f5695e05 Integration of the 3GPP TR 38.901 fast fading model (GSoC 2019) (2/2)
Close !90
2020-03-30 18:23:07 +02:00
Tom Henderson
54593cee1b rescan all APIs 2020-02-11 18:14:45 -08:00
Tom Henderson
80839b33e4 bindings: Rescan all APIs 2019-08-12 17:00:41 -07:00
Nicola Baldo
64b9588860 antenna: allow non-unitary gain for IsotropicAntennaModel 2018-08-13 18:55:01 -07:00
Tom Henderson
0b9893a908 Rescan all Python bindings 2018-07-21 16:14:09 -07:00
Tom Henderson
6366804af7 Rescan all Python bindings 2018-07-15 12:36:05 -07:00
Tom Henderson
7d9b54aac9 rescan bindings 2018-05-28 22:00:09 -07:00
Tom Henderson
c2a9b2e56b bindings: Rescan all bindings 2018-03-14 20:38:59 -07:00
Tom Henderson
ab8735f403 bindings: Update all 32-bit bindings 2017-09-27 21:42:46 -07:00
Tom Henderson
7f00a95f65 bindings: Rescan all 64-bit bindings 2017-09-27 18:51:23 -07:00
Alexander Krotov
4b66cb5ac5 Documentation spelling fixes 2017-09-01 11:40:28 +03:00
Alexander Krotov
dd3a4d2a43 Use Vector{2,3}D.GetLength () 2017-04-05 10:56:05 +03:00
Stefano Avallone
9eff4d8251 Rescan python bindings 2017-03-08 18:02:19 +01:00
Tom Henderson
b9e5595665 bindings: Rescan all bindings 2016-09-26 05:33:13 -07:00
Tom Henderson
3852c6265d antenna: Create ns3::Object using CreateObject<> () 2016-08-21 11:50:24 -07:00
Peter D. Barnes, Jr.
5cefb05eca wscript: replace tab indenting with spaces 2016-08-04 12:44:41 -07:00
Tom Henderson
7f88b04c33 bindings: rescan all module bindings 2016-07-20 16:33:57 -07:00
Tom Henderson
55b0e0147e rescan bindings 2015-09-07 11:04:33 -07:00
Mohit Goyal
4772204a59 SetGroupName for antenna module 2015-03-27 09:14:34 -07:00