Commit Graph

434 Commits

Author SHA1 Message Date
Gabriel Ferreira
f6efd47de6 mobility: Export Mobility model for MSVC compatibility 2025-07-03 14:03:46 -04:00
Gabriel Ferreira
c0010702ce Replace C stdlib.h, stdint.h and math.h headers with C++ variants 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
c022047654 mobility: Fix clang-tidy warning 2025-04-11 22:10:43 +02:00
Gabriel Ferreira
b812e472a0 mobility: Fix Rectangle::GetClosestSideOrCorner
When the tested position was outside the rectangle at a distance greater than the width/height of the rectangle, it would be incorrectly matched
2025-04-11 11:19:01 +02:00
Eduardo Almeida
730ea53f16 Remove ending comments in closing braces 2025-03-11 02:35:32 +00:00
Eduardo Almeida
f6e1ee4282 Convert ns-3 #include headers to quotes 2025-01-17 19:02:17 +00:00
Eduardo Almeida
6ef966c4cf Replace Doxygen tags using \ with @ 2024-11-08 18:05:46 +00:00
Eduardo Almeida
5afa1fd7ef Use Time() constructor with integer values 2024-11-08 18:01:13 +00:00
Eduardo Almeida
f77250cc92 Use default Time() constructor when initializing 0 time 2024-11-08 18:01:06 +00:00
Eduardo Almeida
3c706947a0 Use Time comparison functions rather than Time(0) 2024-11-08 18:01:00 +00:00
Eduardo Almeida
7ad78d41c3 Remove trailing semicolon in empty function bodies 2024-10-22 23:24:40 +00:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
Gabriel Ferreira
668ff9ad98 doc: Fix dead urls 2024-08-30 23:57:28 +00:00
Tom Henderson
83f88c9dd7 mobility: Improve logging and method name for RandomWalk2dMobilityModel 2024-08-21 15:48:54 +00:00
Tommaso Pecorella
825994ba1c mobility: cancel update event when the model is destroyed 2024-07-02 09:55:22 -05:00
Eduardo Almeida
b582418e9e mobility: (fix #1101) Use std::abs() instead of abs() 2024-06-21 15:32:36 +00:00
pagmatt
2bbcec0688 mobility: Add GeocentricConstantPosition mob model 2024-05-24 17:23:55 -07:00
Alberto Gallegos Ramonet
f8ba7d643e mobility: Adds a simple mobility example 2024-05-23 11:28:56 +09:00
Gabriel Ferreira
01138ef2d7 (fixes #161) Deprecate EventId::IsRunning() and replace it with EventId::IsPending() 2024-05-14 12:40:54 -03:00
Tommaso Pecorella
64e826f3f8 mobility: Fix velocity when nodes are standing still 2024-05-12 19:57:34 +02:00
Eduardo Almeida
79186a8b8b Fix clang-tidy bugprone-branch-clone warnings 2024-05-11 02:56:07 +01:00
André Apitzsch
a5c42bc879 core: Use enum class for TestSuite::Type 2024-03-15 09:27:53 +01:00
André Apitzsch
e46d2a8024 core: Use enum class for TestCase::TestDuration and rename it to TestCase:Duration 2024-03-15 09:27:52 +01:00
Menglei Zhang
039692de8f mobility, buildings: (fixes #977) fix corner rebound direction 2024-02-16 10:01:05 -06:00
André Apitzsch
647149e39a Add enum class support to EnumValue 2024-01-31 15:32:16 +01:00
Szymon Szott
0b26d85561 mobility: Fix spelling typo 2024-01-29 18:09:05 +00:00
Eduardo Almeida
0cb17f8281 Simplify formatting by removing redundant parenthesis and semicolons 2023-10-31 17:59:16 +00:00
Eduardo Almeida
59246fb83d Fix spelling typos 2023-10-03 00:32:07 +01:00
Tommaso Pecorella
bb61a17906 mobility: (fixes #955) use allowed symbols in test name 2023-09-19 22:43:05 +00:00
Eduardo Almeida
1f438ce6f4 Fix clang-tidy modernize-use-auto warnings 2023-09-18 00:36:46 +01:00
Eduardo Almeida
1ae0d7ea22 Fix clang-tidy warnings (detected by clang-tidy-18) 2023-09-17 22:10:09 +00:00
Eduardo Almeida
aedd34ca8f Fix local #include headers by removing the "ns3/" prefix 2023-09-17 17:19:59 +01:00
Tommaso Pecorella
578c471f6a mobility: (fixes #943) fix node direction change when node is in a corner
Improvement thanks Gabriel Ferreira (gabrielcarvfer@gmail.com)
2023-09-17 01:06:06 +02:00
Tommaso Pecorella
d47680bb9e mobility: add corner detection to rectangle
Improvements thanks to Gabriel Ferreira (gabrielcarvfer@gmail.com)
2023-09-17 01:06:06 +02:00
Eduardo Almeida
6923de623c Remove redundant break after return 2023-06-01 17:26:54 +00:00
Eduardo Almeida
42d6eea6de Remove emacs lines from Python and C++ files 2023-05-23 16:20:52 +00:00
Eduardo Almeida
70f8f80d9b Fix clang-tidy performance-unnecessary-copy-initialization warnings 2023-05-07 22:07:12 +01:00
Eduardo Almeida
a93c357141 Fix clang-tidy readability-simplify-boolean-expr warnings 2023-05-07 19:06:35 +01:00
Eduardo Almeida
68ef2890d0 Remove unnecessary enum specifiers 2023-05-01 13:09:06 +00:00
Gabriel Ferreira
540f48c55a Fix additional typos 2023-03-20 02:14:44 +00:00
Gabriel Ferreira
6f076416e7 Fix typos 2023-02-21 22:29:29 -03:00
Eduardo Almeida
c5371d938c Fix clang-tidy readability-make-member-function-const warnings 2023-02-21 16:09:35 +00:00
Eduardo Almeida
971e5c15fa Fix clang-tidy readability-container-size-empty warnings 2023-02-02 17:41:31 +00:00
Tommaso Pecorella
06d0ff20d0 doc: (fixes #817) various fixes highlighted by doxygen 1.9.6 2023-01-26 15:32:58 +00:00
Peter D. Barnes, Jr
700543b01a doc: remove space before paren in code samples 2023-01-05 23:47:13 +00:00
Eduardo Almeida
4930479af4 Remove enum / struct specifiers when declaring the variable's type 2022-12-05 19:05:45 +00:00
Eduardo Almeida
18225243f2 examples: Add missing return 0 2022-11-29 21:33:09 +00:00
Eduardo Almeida
b9562ba520 Fix formatting of braced-init-lists by adding trailing comma 2022-11-24 16:13:09 +00:00
Eduardo Almeida
7c182618ed Fix clang-tidy readability-redundant-string-cstr warnings 2022-10-28 16:05:20 +00:00
Eduardo Almeida
bfb737a0d9 Remove unnecessary [[maybe_unused]] specifiers 2022-10-24 11:58:49 +00:00