diff --git a/.github/ci-focal/before_cmake.sh b/.github/ci-focal/before_cmake.sh old mode 100644 new mode 100755 diff --git a/.github/ci/after_make.sh b/.github/ci/after_make.sh old mode 100644 new mode 100755 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98b07b2ee0..0206d99944 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.0 + with: + extra_args: --all-files - name: Compile and test id: ci uses: gazebo-tooling/action-gz-ci@focal @@ -22,6 +26,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.0 + with: + extra_args: --all-files - name: Compile and test id: ci uses: gazebo-tooling/action-gz-ci@jammy diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 736670e0e4..6f93ccd58f 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -16,4 +16,3 @@ jobs: COLUMN: Inbox GITHUB_TOKEN: ${{ secrets.TRIAGE_TOKEN }} CHECK_ORG_PROJECT: true - diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000..d5472e5c9f --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,18 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.3.0 + hooks: + - id: check-added-large-files + args: ['--maxkb=500'] + - id: check-executables-have-shebangs + - id: check-json + - id: check-merge-conflict + - id: check-shebang-scripts-are-executable + - id: check-symlinks + - id: check-toml + - id: check-xml + - id: check-yaml + - id: destroyed-symlinks + - id: end-of-file-fixer + - id: mixed-line-ending + - id: trailing-whitespace diff --git a/COPYING b/COPYING index 4909afd04f..d9a10c0d8e 100644 --- a/COPYING +++ b/COPYING @@ -174,5 +174,3 @@ of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS - - diff --git a/api.md.in b/api.md.in index 243e219071..ea548c89a7 100644 --- a/api.md.in +++ b/api.md.in @@ -1,7 +1,7 @@ ## Gazebo @GZ_DESIGNATION_CAP@ Gazebo @GZ_DESIGNATION_CAP@ is a component in Gazebo, a set of libraries -designed to rapidly develop robot and simulation applications. +designed to rapidly develop robot and simulation applications. **Useful links** diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index bca8aa96d5..37e7b94eff 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -13,4 +13,3 @@ RUN scripts/install_common_deps.sh COPY docker/scripts/enable_gcc8.sh scripts/enable_gcc8.sh RUN scripts/enable_gcc8.sh - diff --git a/examples/plugin/custom_component/CustomComponentPlugin.cc b/examples/plugin/custom_component/CustomComponentPlugin.cc index 74b3aaf3e6..39079b33a8 100644 --- a/examples/plugin/custom_component/CustomComponentPlugin.cc +++ b/examples/plugin/custom_component/CustomComponentPlugin.cc @@ -21,4 +21,3 @@ GZ_ADD_PLUGIN(examples::CustomComponentPlugin, gz::sim::System, examples::CustomComponentPlugin::ISystemConfigure) - diff --git a/examples/plugin/hello_world/HelloWorld.cc b/examples/plugin/hello_world/HelloWorld.cc index f75e956baa..d301dfbf9a 100644 --- a/examples/plugin/hello_world/HelloWorld.cc +++ b/examples/plugin/hello_world/HelloWorld.cc @@ -51,6 +51,3 @@ void HelloWorld::PostUpdate(const gz::sim::UpdateInfo &_info, // higher (i.e. gz sim -v 3) gzmsg << msg << std::endl; } - - - diff --git a/examples/plugin/reset_plugin/CMakeLists.txt b/examples/plugin/reset_plugin/CMakeLists.txt index f2ec766259..12a2c7e3d8 100644 --- a/examples/plugin/reset_plugin/CMakeLists.txt +++ b/examples/plugin/reset_plugin/CMakeLists.txt @@ -9,6 +9,6 @@ find_package(gz-sim7 REQUIRED) set(GZ_SIM_VER ${gz-sim7_VERSION_MAJOR}) add_library(JointPositionRandomizer SHARED JointPositionRandomizer.cc) -target_link_libraries(JointPositionRandomizer +target_link_libraries(JointPositionRandomizer PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER} PRIVATE gz-sim${GZ_SIM_VER}::core) diff --git a/examples/plugin/reset_plugin/README.md b/examples/plugin/reset_plugin/README.md index c0d60b4a69..eb39312cf8 100644 --- a/examples/plugin/reset_plugin/README.md +++ b/examples/plugin/reset_plugin/README.md @@ -1,6 +1,6 @@ # System Reset API -This example uses the JointPositionRandomizer system to randomize the joint +This example uses the JointPositionRandomizer system to randomize the joint positions of a robot arm at every reset. diff --git a/examples/scripts/blender/distort_mesh.py b/examples/scripts/blender/distort_mesh.py old mode 100644 new mode 100755 diff --git a/examples/scripts/distributed/README.md b/examples/scripts/distributed/README.md index 7b7c6697df..0571f31d2b 100644 --- a/examples/scripts/distributed/README.md +++ b/examples/scripts/distributed/README.md @@ -31,4 +31,3 @@ the GUI. You can run the same world in a standalone process as follows: ./standalone.sh - diff --git a/examples/scripts/distributed/primary.sh b/examples/scripts/distributed/primary.sh index 277f374237..9624329456 100755 --- a/examples/scripts/distributed/primary.sh +++ b/examples/scripts/distributed/primary.sh @@ -3,4 +3,3 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" gz sim -v 4 -z 100000000 --network-role primary --network-secondaries 3 $DIR/primary.sdf - diff --git a/examples/scripts/distributed/secondary.sh b/examples/scripts/distributed/secondary.sh index f605b82b9c..91a7b8a4ba 100755 --- a/examples/scripts/distributed/secondary.sh +++ b/examples/scripts/distributed/secondary.sh @@ -3,4 +3,3 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" gz sim -s -v 4 -z 100000000 --network-role secondary $DIR/secondary.sdf - diff --git a/examples/scripts/distributed_levels/primary.sh b/examples/scripts/distributed_levels/primary.sh index 8f07ffec2d..b58d4a8508 100755 --- a/examples/scripts/distributed_levels/primary.sh +++ b/examples/scripts/distributed_levels/primary.sh @@ -4,4 +4,3 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # --levels is implied by --network-role gz sim -v 4 -z 100000000 --network-role primary --network-secondaries 2 $DIR/primary.sdf - diff --git a/examples/scripts/distributed_levels/secondary.sdf b/examples/scripts/distributed_levels/secondary.sdf index e0510356a8..acb7e4d6f1 100644 --- a/examples/scripts/distributed_levels/secondary.sdf +++ b/examples/scripts/distributed_levels/secondary.sdf @@ -10,14 +10,14 @@ - + - - + + 0.8 0.8 0.8 1.0 @@ -40,7 +40,7 @@ -0.5 0.1 -0.9 - + 0 -1.5 2.5 0 0 0 @@ -74,7 +74,7 @@ - + 0 1.5 2.5 0 0 0 @@ -108,9 +108,9 @@ - - + + true 0.0 -1.5 -0.0 0 0.5235987755982988 0 @@ -171,7 +171,7 @@ - + true 0.0 1.5 -0.0 0 0.5235987755982988 0 @@ -232,7 +232,7 @@ - + true 2.598076211353316 -1.5 -1.4999999999999998 0 0.5235987755982988 0 @@ -293,7 +293,7 @@ - + true 2.598076211353316 1.5 -1.4999999999999998 0 0.5235987755982988 0 @@ -354,7 +354,7 @@ - + true 5.196152422706632 -1.5 -2.9999999999999996 0 0.5235987755982988 0 @@ -415,7 +415,7 @@ - + true 5.196152422706632 1.5 -2.9999999999999996 0 0.5235987755982988 0 @@ -476,7 +476,7 @@ - + true 7.794228634059948 0 -4.499999999999999 0 0.5235987755982988 0 @@ -537,7 +537,7 @@ - + true 10.392304845413264 -1.5 -5.999999999999999 0 0.5235987755982988 0 @@ -598,7 +598,7 @@ - + true 10.392304845413264 1.5 -5.999999999999999 0 0.5235987755982988 0 @@ -659,7 +659,7 @@ - + true 12.99038105676658 -1.5 -7.499999999999999 0 0.5235987755982988 0 @@ -720,7 +720,7 @@ - + true 12.99038105676658 1.5 -7.499999999999999 0 0.5235987755982988 0 @@ -781,7 +781,7 @@ - + true @@ -851,7 +851,7 @@ - + green_sphere @@ -860,7 +860,7 @@ - + yellow_box @@ -869,9 +869,9 @@ - - + + 0.0 -1.5 -0.0 0 0 0 @@ -882,7 +882,7 @@ 1.0 block_0_A - + 0.0 1.5 -0.0 0 0 0 @@ -893,7 +893,7 @@ 1.0 block_0_B - + 2.598076211353316 -1.5 -1.4999999999999998 0 0 0 @@ -904,7 +904,7 @@ 1.0 block_1_A - + 2.598076211353316 1.5 -1.4999999999999998 0 0 0 @@ -915,7 +915,7 @@ 1.0 block_1_B - + 5.196152422706632 -1.5 -2.9999999999999996 0 0 0 @@ -926,7 +926,7 @@ 1.0 block_2_A - + 5.196152422706632 1.5 -2.9999999999999996 0 0 0 @@ -937,7 +937,7 @@ 1.0 block_2_B - + 7.794228634059948 0 -4.499999999999999 0 0 0 @@ -948,7 +948,7 @@ 1.0 block_3_C - + 10.392304845413264 -1.5 -5.999999999999999 0 0 0 @@ -959,7 +959,7 @@ 1.0 block_4_A - + 10.392304845413264 1.5 -5.999999999999999 0 0 0 @@ -970,7 +970,7 @@ 1.0 block_4_B - + 12.99038105676658 -1.5 -7.499999999999999 0 0 0 @@ -981,7 +981,7 @@ 1.0 block_5_A - + 12.99038105676658 1.5 -7.499999999999999 0 0 0 @@ -992,7 +992,7 @@ 1.0 block_5_B - + diff --git a/examples/scripts/distributed_levels/secondary.sh b/examples/scripts/distributed_levels/secondary.sh index 7eb3d7efc2..aa768a315a 100755 --- a/examples/scripts/distributed_levels/secondary.sh +++ b/examples/scripts/distributed_levels/secondary.sh @@ -4,4 +4,3 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # --levels is implied by --network-role gz sim -s -v 4 -z 100000000 --network-role secondary $DIR/secondary.sdf - diff --git a/examples/scripts/log_video_recorder/log_video_recorder.sdf b/examples/scripts/log_video_recorder/log_video_recorder.sdf index e464fc4fe1..cde3d0cc51 100644 --- a/examples/scripts/log_video_recorder/log_video_recorder.sdf +++ b/examples/scripts/log_video_recorder/log_video_recorder.sdf @@ -132,4 +132,3 @@ - diff --git a/examples/scripts/log_video_recorder/record_one_run.bash b/examples/scripts/log_video_recorder/record_one_run.bash old mode 100644 new mode 100755 index c0d447414b..8c078053cd --- a/examples/scripts/log_video_recorder/record_one_run.bash +++ b/examples/scripts/log_video_recorder/record_one_run.bash @@ -48,4 +48,3 @@ if [ -d "$tmpDir" ]; then rm -fr $tmpDir fi echo "Done" - diff --git a/examples/scripts/python_api/testFixture.py b/examples/scripts/python_api/testFixture.py old mode 100644 new mode 100755 diff --git a/examples/standalone/each_performance/CMakeLists.txt b/examples/standalone/each_performance/CMakeLists.txt index 4d5dff79d9..dcfcbc6b58 100644 --- a/examples/standalone/each_performance/CMakeLists.txt +++ b/examples/standalone/each_performance/CMakeLists.txt @@ -7,4 +7,3 @@ find_package(gz-sim7 QUIET REQUIRED) add_executable(each each.cc) target_link_libraries(each gz-sim7::core) - diff --git a/examples/standalone/each_performance/README.md b/examples/standalone/each_performance/README.md index a27e878ea9..16806043d0 100644 --- a/examples/standalone/each_performance/README.md +++ b/examples/standalone/each_performance/README.md @@ -16,4 +16,3 @@ Example program to generate performance data gnuplot -e "filename='each.data'" ../each.gp eog *.png - diff --git a/examples/standalone/gtest_setup/README.md b/examples/standalone/gtest_setup/README.md index ecc6edfd5a..8d95b90bf7 100644 --- a/examples/standalone/gtest_setup/README.md +++ b/examples/standalone/gtest_setup/README.md @@ -24,4 +24,3 @@ From the root of the repository: cd examples/standalone/gtest_setup/build ./gravity_TEST ./command_TEST - diff --git a/examples/standalone/joy_to_twist/CMakeLists.txt b/examples/standalone/joy_to_twist/CMakeLists.txt index b113a1128d..93ecf44aa9 100644 --- a/examples/standalone/joy_to_twist/CMakeLists.txt +++ b/examples/standalone/joy_to_twist/CMakeLists.txt @@ -13,4 +13,3 @@ target_link_libraries(joy_to_twist gz-transport${GZ_TRANSPORT_VER}::core sdformat${SDF_VER}::sdformat${SDF_VER} ) - diff --git a/examples/standalone/joy_to_twist/joy_to_twist.cc b/examples/standalone/joy_to_twist/joy_to_twist.cc index 4372910673..673d20a36a 100644 --- a/examples/standalone/joy_to_twist/joy_to_twist.cc +++ b/examples/standalone/joy_to_twist/joy_to_twist.cc @@ -150,4 +150,3 @@ int main(int argc, char **argv) { } } - diff --git a/examples/standalone/joy_to_twist/joy_to_twist.sdf b/examples/standalone/joy_to_twist/joy_to_twist.sdf index 0cff350937..aca59e63fa 100644 --- a/examples/standalone/joy_to_twist/joy_to_twist.sdf +++ b/examples/standalone/joy_to_twist/joy_to_twist.sdf @@ -39,4 +39,3 @@ - diff --git a/examples/standalone/joystick/joystick.cc b/examples/standalone/joystick/joystick.cc index ec81e59cd4..f1addd2dde 100644 --- a/examples/standalone/joystick/joystick.cc +++ b/examples/standalone/joystick/joystick.cc @@ -284,4 +284,3 @@ int main(int argc, char **argv) // Close the joystick close(joyFd); } - diff --git a/examples/standalone/joystick/joystick.sdf b/examples/standalone/joystick/joystick.sdf index 9360e9d225..55bf10250a 100644 --- a/examples/standalone/joystick/joystick.sdf +++ b/examples/standalone/joystick/joystick.sdf @@ -9,4 +9,3 @@ - diff --git a/examples/standalone/keyboard/keyboard.cc b/examples/standalone/keyboard/keyboard.cc index eb2494fe21..3ac52d834f 100644 --- a/examples/standalone/keyboard/keyboard.cc +++ b/examples/standalone/keyboard/keyboard.cc @@ -34,7 +34,7 @@ #include // read() -#define KEYCODE_ARR_R 0x43 +#define KEYCODE_ARR_R 0x43 #define KEYCODE_ARR_L 0x44 #define KEYCODE_ARR_U 0x41 #define KEYCODE_ARR_D 0x42 @@ -101,11 +101,11 @@ void KeyboardTeleop::KeyLoop() bool dirty = false, dirty2 = false; - // get the console in raw mode + // get the console in raw mode tcgetattr(kfd, &cooked); memcpy(&raw, &cooked, sizeof(struct termios)); raw.c_lflag &=~ (ICANON | ECHO); - // Setting a new line, then end of file + // Setting a new line, then end of file raw.c_cc[VEOL] = 1; raw.c_cc[VEOF] = 2; tcsetattr(kfd, TCSANOW, &raw); @@ -117,7 +117,7 @@ void KeyboardTeleop::KeyLoop() for (;;) { - // get the next event from the keyboard + // get the next event from the keyboard if (read(kfd, &c, 1) < 0) { perror("read():"); @@ -127,7 +127,7 @@ void KeyboardTeleop::KeyLoop() double linear = 0, linear2 = 0; double angular = 0, angular2 = 0; fprintf (stderr, "value: 0x%02X\n", c); - + switch (c) { // robot 1 @@ -173,7 +173,7 @@ void KeyboardTeleop::KeyLoop() dirty2 = true; break; } - + gz::msgs::Twist cmdVelMsg; cmdVelMsg.mutable_linear()->set_x(lScale * linear); cmdVelMsg.mutable_angular()->set_z(aScale * angular); @@ -240,6 +240,6 @@ int main(int argc, char** argv) scaleAngular.Z()); signal(SIGINT, Quit); teleop_turtle.KeyLoop(); - + return(0); } diff --git a/examples/standalone/keyboard/keyboard.sdf b/examples/standalone/keyboard/keyboard.sdf index 414521cd90..a46ee059e7 100644 --- a/examples/standalone/keyboard/keyboard.sdf +++ b/examples/standalone/keyboard/keyboard.sdf @@ -15,4 +15,3 @@ - diff --git a/examples/standalone/scene_requester/CMakeLists.txt b/examples/standalone/scene_requester/CMakeLists.txt index 58058b12f6..71eb8f0ddd 100644 --- a/examples/standalone/scene_requester/CMakeLists.txt +++ b/examples/standalone/scene_requester/CMakeLists.txt @@ -8,4 +8,3 @@ set(GZ_TRANSPORT_VER ${gz-transport12_VERSION_MAJOR}) add_executable(scene_requester scene_requester.cc) target_link_libraries(scene_requester gz-transport${GZ_TRANSPORT_VER}::core) - diff --git a/examples/worlds/boundingbox_camera.sdf b/examples/worlds/boundingbox_camera.sdf index 25ecdb5acf..4aa95a96ae 100644 --- a/examples/worlds/boundingbox_camera.sdf +++ b/examples/worlds/boundingbox_camera.sdf @@ -412,4 +412,3 @@ - diff --git a/examples/worlds/collada_world_exporter.sdf b/examples/worlds/collada_world_exporter.sdf index 3d4c9e859d..0d1abdbdf3 100644 --- a/examples/worlds/collada_world_exporter.sdf +++ b/examples/worlds/collada_world_exporter.sdf @@ -4,7 +4,7 @@ This world will load the ColladaWorldExporter plugin, which is designed to convert a world to a single Collada file. When this world is run, a subdirectory named after the world is created. Within this subdirectory is the mesh and -materials for the world. +materials for the world. This example just exports simple shapes into a Collada file. To run use: diff --git a/examples/worlds/kinetic_energy_monitor.sdf b/examples/worlds/kinetic_energy_monitor.sdf index e42b266af4..df64964db5 100644 --- a/examples/worlds/kinetic_energy_monitor.sdf +++ b/examples/worlds/kinetic_energy_monitor.sdf @@ -113,4 +113,3 @@ - diff --git a/examples/worlds/linear_battery_demo.sdf b/examples/worlds/linear_battery_demo.sdf index 9e989ef06c..99128bf928 100644 --- a/examples/worlds/linear_battery_demo.sdf +++ b/examples/worlds/linear_battery_demo.sdf @@ -282,7 +282,7 @@ 0.07 2.0 true - 3.0 0.51 @@ -484,7 +484,7 @@ 6.6 true true - 3.0 diff --git a/include/gz/sim/Primitives.hh b/include/gz/sim/Primitives.hh index 407cde0510..84bc8344f5 100644 --- a/include/gz/sim/Primitives.hh +++ b/include/gz/sim/Primitives.hh @@ -79,5 +79,3 @@ namespace gz #endif // GZ_SIM_PRIMITIVES_HH_ - - diff --git a/include/gz/sim/SystemLoader.hh b/include/gz/sim/SystemLoader.hh index 05b280f904..cf78fe3c5e 100644 --- a/include/gz/sim/SystemLoader.hh +++ b/include/gz/sim/SystemLoader.hh @@ -92,4 +92,3 @@ namespace gz } } #endif // GZ_SIM_SYSTEMLOADER_HH_ - diff --git a/include/gz/sim/components/DetachableJoint.hh b/include/gz/sim/components/DetachableJoint.hh index 7bcf6e4602..a2286e4dad 100644 --- a/include/gz/sim/components/DetachableJoint.hh +++ b/include/gz/sim/components/DetachableJoint.hh @@ -102,4 +102,3 @@ namespace components } #endif - diff --git a/include/gz/sim/components/ExternalWorldWrenchCmd.hh b/include/gz/sim/components/ExternalWorldWrenchCmd.hh index d707c4a65a..2a6ba99a39 100644 --- a/include/gz/sim/components/ExternalWorldWrenchCmd.hh +++ b/include/gz/sim/components/ExternalWorldWrenchCmd.hh @@ -49,4 +49,3 @@ namespace components } #endif - diff --git a/include/gz/sim/components/LevelBuffer.hh b/include/gz/sim/components/LevelBuffer.hh index a82c77f7ba..e745114f4e 100644 --- a/include/gz/sim/components/LevelBuffer.hh +++ b/include/gz/sim/components/LevelBuffer.hh @@ -40,4 +40,3 @@ namespace components } } #endif - diff --git a/include/gz/sim/components/LevelEntityNames.hh b/include/gz/sim/components/LevelEntityNames.hh index e9fc50f58a..5027f48e19 100644 --- a/include/gz/sim/components/LevelEntityNames.hh +++ b/include/gz/sim/components/LevelEntityNames.hh @@ -88,4 +88,3 @@ namespace components } } #endif - diff --git a/include/gz/sim/components/PerformerAffinity.hh b/include/gz/sim/components/PerformerAffinity.hh index 2551dc1288..ce58992a73 100644 --- a/include/gz/sim/components/PerformerAffinity.hh +++ b/include/gz/sim/components/PerformerAffinity.hh @@ -46,4 +46,3 @@ namespace components } #endif - diff --git a/include/gz/sim/components/PerformerLevels.hh b/include/gz/sim/components/PerformerLevels.hh index d6715568eb..d1208b36b6 100644 --- a/include/gz/sim/components/PerformerLevels.hh +++ b/include/gz/sim/components/PerformerLevels.hh @@ -82,4 +82,3 @@ namespace components } } #endif - diff --git a/include/gz/sim/components/components.hh.in b/include/gz/sim/components/components.hh.in index 05effcee01..f93046a8e6 100644 --- a/include/gz/sim/components/components.hh.in +++ b/include/gz/sim/components/components.hh.in @@ -21,4 +21,3 @@ ${component_includes} #endif - diff --git a/python/test/testFixture_TEST.py b/python/test/testFixture_TEST.py index 9978ad4fb9..964a3b7da0 100755 --- a/python/test/testFixture_TEST.py +++ b/python/test/testFixture_TEST.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Copyright (C) 2021 Open Source Robotics Foundation # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/src/Barrier.cc b/src/Barrier.cc index eeb2380944..ca6b4347bd 100644 --- a/src/Barrier.cc +++ b/src/Barrier.cc @@ -97,4 +97,3 @@ void Barrier::Cancel() this->dataPtr->cancelled = true; this->dataPtr->cv.notify_all(); } - diff --git a/src/EventManager_TEST.cc b/src/EventManager_TEST.cc index 78ef5cda90..ab7e86c9f2 100644 --- a/src/EventManager_TEST.cc +++ b/src/EventManager_TEST.cc @@ -118,4 +118,3 @@ TEST(EventManager, Disambiguate) eventManager.Emit(); EXPECT_EQ(1, calls); } - diff --git a/src/LevelManager.hh b/src/LevelManager.hh index 80160c4442..63e0466533 100644 --- a/src/LevelManager.hh +++ b/src/LevelManager.hh @@ -184,4 +184,3 @@ namespace gz } // GZ_SIM_LEVELMANAGER_HH #endif - diff --git a/src/SystemManager_TEST.cc b/src/SystemManager_TEST.cc index 5aaafd376f..e9e636815a 100644 --- a/src/SystemManager_TEST.cc +++ b/src/SystemManager_TEST.cc @@ -259,4 +259,3 @@ TEST(SystemManager, AddSystemWithInfo) }); EXPECT_EQ(1, entityCount); } - diff --git a/src/TestFixture.cc b/src/TestFixture.cc index 8110deca1b..b5541af33b 100644 --- a/src/TestFixture.cc +++ b/src/TestFixture.cc @@ -212,4 +212,3 @@ std::shared_ptr TestFixture::Server() const { return this->dataPtr->server; } - diff --git a/src/World.cc b/src/World.cc index 80d9069498..acad788d2c 100644 --- a/src/World.cc +++ b/src/World.cc @@ -240,4 +240,3 @@ uint64_t World::ModelCount(const EntityComponentManager &_ecm) const { return this->Models(_ecm).size(); } - diff --git a/src/cmd/ModelCommandAPI.hh b/src/cmd/ModelCommandAPI.hh index fca2059a8d..c749be820e 100644 --- a/src/cmd/ModelCommandAPI.hh +++ b/src/cmd/ModelCommandAPI.hh @@ -30,4 +30,3 @@ extern "C" GZ_SIM_VISIBLE void cmdModelInfo( const char *_modelName, int _pose, const char *_linkName, const char *_jointName, const char *_sensorName); - diff --git a/src/cmd/cmdmodel.rb.in b/src/cmd/cmdmodel.rb.in old mode 100644 new mode 100755 diff --git a/src/cmd/cmdsim.rb.in b/src/cmd/cmdsim.rb.in index 1ee6829614..8d118d21cf 100755 --- a/src/cmd/cmdsim.rb.in +++ b/src/cmd/cmdsim.rb.in @@ -482,7 +482,7 @@ Please use [GZ_SIM_RESOURCE_PATH] instead." if plugin.end_with? ".dylib" puts "On macOS `gz sim` currently only works with either the -s argument -or the -g argument, you cannot run both server and gui in one terminal. +or the -g argument, you cannot run both server and gui in one terminal. See https://github.com/gazebosim/gz-sim/issues/44 for more info." exit(-1) end diff --git a/src/cmd/model.bash_completion.sh b/src/cmd/model.bash_completion.sh old mode 100644 new mode 100755 diff --git a/src/cmd/sim.bash_completion.sh b/src/cmd/sim.bash_completion.sh old mode 100644 new mode 100755 diff --git a/src/gui/GuiFileHandler.cc b/src/gui/GuiFileHandler.cc index 8eee4490de..6006cd4c2d 100644 --- a/src/gui/GuiFileHandler.cc +++ b/src/gui/GuiFileHandler.cc @@ -114,4 +114,3 @@ void GuiFileHandler::SaveWorldAs(const QString &_fileUrl, } emit newSaveWorldStatus(status, QString::fromStdString(statusMsg.str())); } - diff --git a/src/gui/PathManager.cc b/src/gui/PathManager.cc index 3b88b118d6..a10e806445 100644 --- a/src/gui/PathManager.cc +++ b/src/gui/PathManager.cc @@ -71,4 +71,3 @@ PathManager::PathManager() // Get path updates through this topic this->node.Subscribe("/gazebo/resource_paths", onAddResourcePaths); } - diff --git a/src/gui/plugins/align_tool/AlignTool.qml b/src/gui/plugins/align_tool/AlignTool.qml index a002c0f447..f8f1d624ff 100644 --- a/src/gui/plugins/align_tool/AlignTool.qml +++ b/src/gui/plugins/align_tool/AlignTool.qml @@ -373,7 +373,7 @@ ToolBar { id: relativeAlignList ListElement { text: "First" } ListElement { text: "Last" } - } + } onCurrentIndexChanged: AlignTool.OnAlignTarget(relativeAlignList.get(currentIndex).text) } } diff --git a/src/gui/plugins/component_inspector/SystemPluginInfo.cc b/src/gui/plugins/component_inspector/SystemPluginInfo.cc index 7d64c35328..debaa1eecb 100644 --- a/src/gui/plugins/component_inspector/SystemPluginInfo.cc +++ b/src/gui/plugins/component_inspector/SystemPluginInfo.cc @@ -68,4 +68,3 @@ void SystemPluginInfo::UpdateView(const EntityComponentManager &_ecm, _item->setData(pluginList, ComponentsModel::RoleNames().key("data")); } - diff --git a/src/gui/plugins/component_inspector/Types.hh b/src/gui/plugins/component_inspector/Types.hh index 3625eb189a..1c68ca9c7d 100644 --- a/src/gui/plugins/component_inspector/Types.hh +++ b/src/gui/plugins/component_inspector/Types.hh @@ -39,4 +39,3 @@ namespace inspector } } #endif - diff --git a/src/gui/plugins/component_inspector_editor/Altimeter.qml b/src/gui/plugins/component_inspector_editor/Altimeter.qml index f895aa56d2..55b6d01517 100644 --- a/src/gui/plugins/component_inspector_editor/Altimeter.qml +++ b/src/gui/plugins/component_inspector_editor/Altimeter.qml @@ -41,7 +41,7 @@ Rectangle { // Set the 'expandingHeaderText' value to override the default header // values, which is based on the model. expandingHeaderText: "Altimeter" - expandingHeaderToolTip: "Altimeter sensor properties" + expandingHeaderToolTip: "Altimeter sensor properties" } // This is the content that will be expanded/contracted using the diff --git a/src/gui/plugins/component_inspector_editor/ComponentInspectorEditor.qml b/src/gui/plugins/component_inspector_editor/ComponentInspectorEditor.qml index 2bec7b8ba2..f1e47ccd81 100644 --- a/src/gui/plugins/component_inspector_editor/ComponentInspectorEditor.qml +++ b/src/gui/plugins/component_inspector_editor/ComponentInspectorEditor.qml @@ -107,7 +107,7 @@ Rectangle { // \param[in] _value The value that should be used to set the _widgetId's // value attribute. function getDecimalsAdjustValue(_widgetId, _value) { - // Make sure to update the value, otherwise zeros are used intead of + // Make sure to update the value, otherwise zeros are used intead of // the actual values. _widgetId.value = _widgetId.activeFocus ? _widgetId.value : _value return getDecimals(_widgetId.width) @@ -614,7 +614,7 @@ Rectangle { ComponentInspectorEditor.OnAddEntity(airPressure.text, "sensor"); } } - + MenuItem { id: altimeter text: "Altimeter" @@ -622,7 +622,7 @@ Rectangle { ComponentInspectorEditor.OnAddEntity(altimeter.text, "sensor"); } } - + MenuItem { id: cameraSensorMenu text: "Camera >" @@ -634,7 +634,7 @@ Rectangle { onEntered: cameraSubmenu.open() } } - + MenuItem { id: contact text: "Contact" @@ -642,7 +642,7 @@ Rectangle { ComponentInspectorEditor.OnAddEntity(contact.text, "sensor"); } } - + MenuItem { id: forceTorque text: "Force torque" @@ -674,7 +674,7 @@ Rectangle { ComponentInspectorEditor.OnAddEntity(imu.text, "sensor"); } } - + MenuItem { id: magnetometer text: "Magnetometer" @@ -683,7 +683,7 @@ Rectangle { } } } - + Menu { id: cameraSubmenu x: addSensorMenu.x - addSensorMenu.width diff --git a/src/gui/plugins/component_inspector_editor/Lidar.cc b/src/gui/plugins/component_inspector_editor/Lidar.cc index 192ae3d6d9..5d027f178a 100644 --- a/src/gui/plugins/component_inspector_editor/Lidar.cc +++ b/src/gui/plugins/component_inspector_editor/Lidar.cc @@ -150,4 +150,3 @@ Q_INVOKABLE void Lidar::OnLidarChange( }; this->inspector->AddUpdateCallback(cb); } - diff --git a/src/gui/plugins/component_inspector_editor/Lidar.qml b/src/gui/plugins/component_inspector_editor/Lidar.qml index 1cfdbe8f34..e335e09b2e 100644 --- a/src/gui/plugins/component_inspector_editor/Lidar.qml +++ b/src/gui/plugins/component_inspector_editor/Lidar.qml @@ -48,28 +48,28 @@ Rectangle { // Noise dynamic bias correlation time property double noiseDynamicBiasCorrelationTime: model.data[5] - // Horizontal scan samples + // Horizontal scan samples property double horizontalScanSamples: model.data[6] - // Horizontal scan resolution + // Horizontal scan resolution property double horizontalScanResolution: model.data[7] - // Horizontal scan min angle + // Horizontal scan min angle property double horizontalScanMinAngle: model.data[8] - // Horizontal scan max angle + // Horizontal scan max angle property double horizontalScanMaxAngle: model.data[9] - // Vertical scan samples + // Vertical scan samples property double verticalScanSamples: model.data[10] - // Vertical scan resolution + // Vertical scan resolution property double verticalScanResolution: model.data[11] - // Vertical scan min angle + // Vertical scan min angle property double verticalScanMinAngle: model.data[12] - // Vertical scan max angle + // Vertical scan max angle property double verticalScanMaxAngle: model.data[13] // Range min @@ -194,24 +194,24 @@ Rectangle { height: rangeGrid.height color: "transparent" Layout.leftMargin: 20 - + GridLayout { id: rangeGrid width: parent.width columns: 4 - - // Padding + + // Padding Rectangle { Layout.columnSpan: 4 height: 4 } - + // Range min Rectangle { color: "transparent" height: 40 Layout.preferredWidth: rangeMinText.width - + Text { id : rangeMinText text: 'Min (m)' @@ -248,13 +248,13 @@ Rectangle { } } // End of min range - + // Max range Rectangle { color: "transparent" height: 40 Layout.preferredWidth: rangeMaxText.width - + Text { id : rangeMaxText text: 'Max (m)' @@ -290,14 +290,14 @@ Rectangle { rangeMaxSpin.onChange.connect(onRangeMax) } } - // End of range max - + // End of range max + // Range resolution Rectangle { color: "transparent" height: 40 Layout.preferredWidth: rangeResolutionText.width - + Text { id : rangeResolutionText text: 'Resolution' @@ -325,7 +325,7 @@ Rectangle { Layout.fillWidth: true height: 40 numberValue: rangeResolution - minValue: 0 + minValue: 0 maxValue: Number.MAX_VALUE stepValue: 0.1 // Connect to the onLidarUpdate signal in Noise.qml @@ -354,7 +354,7 @@ Rectangle { } Rectangle { Layout.fillWidth: true - height: horizontalScan.height + height: horizontalScan.height Layout.leftMargin: 20 color: "transparent" LidarScan { @@ -390,7 +390,7 @@ Rectangle { } Rectangle { Layout.fillWidth: true - height: verticalScan.height + height: verticalScan.height Layout.leftMargin: 20 color: "transparent" diff --git a/src/gui/plugins/component_inspector_editor/LidarScan.qml b/src/gui/plugins/component_inspector_editor/LidarScan.qml index 9283c31fbf..28a049a2ef 100644 --- a/src/gui/plugins/component_inspector_editor/LidarScan.qml +++ b/src/gui/plugins/component_inspector_editor/LidarScan.qml @@ -64,7 +64,7 @@ Rectangle { width: parent.width columns: 4 - // Padding + // Padding Rectangle { Layout.columnSpan: 4 height: 4 @@ -112,7 +112,7 @@ Rectangle { } } // End of samples - + // Resolution Rectangle { color: "transparent" @@ -154,7 +154,7 @@ Rectangle { resolutionSpin.onChange.connect(onResolution) } } - // End of resolution + // End of resolution // Min angle Rectangle { @@ -189,8 +189,8 @@ Rectangle { Layout.fillWidth: true height: 40 numberValue: minAngleValue - minValue: -3.1415 - maxValue: 3.1415 + minValue: -3.1415 + maxValue: 3.1415 stepValue: 0.1 // Send the change signal Component.onCompleted: { @@ -232,8 +232,8 @@ Rectangle { Layout.fillWidth: true height: 40 numberValue: maxAngleValue - minValue: -3.1415 - maxValue: 3.1415 + minValue: -3.1415 + maxValue: 3.1415 stepValue: 0.1 // Connect to the onLidarUpdate signal in Noise.qml Component.onCompleted: { diff --git a/src/gui/plugins/component_inspector_editor/Magnetometer.qml b/src/gui/plugins/component_inspector_editor/Magnetometer.qml index dc182cd667..4dc0027e45 100644 --- a/src/gui/plugins/component_inspector_editor/Magnetometer.qml +++ b/src/gui/plugins/component_inspector_editor/Magnetometer.qml @@ -41,7 +41,7 @@ Rectangle { // Set the 'expandingHeaderText' value to override the default header // values, which is based on the model. expandingHeaderText: "Magnetometer noise" - expandingHeaderToolTip: "Magnetometer noise properties" + expandingHeaderToolTip: "Magnetometer noise properties" } // This is the content that will be expanded/contracted using the diff --git a/src/gui/plugins/component_inspector_editor/Noise.qml b/src/gui/plugins/component_inspector_editor/Noise.qml index 0c782d048d..2f07d6ad50 100644 --- a/src/gui/plugins/component_inspector_editor/Noise.qml +++ b/src/gui/plugins/component_inspector_editor/Noise.qml @@ -49,7 +49,7 @@ Rectangle { property double dynamicBiasCorrelationTime: 0.0 // Signal that a user of this component can connect to in order to receive - // noise updates + // noise updates signal onNoiseUpdate(double _mean, double _meanBias, double _stdDev, double _stdDevBias, double _dynamicBiasStdDev, double _dynamicBiasCorrelationTime) @@ -114,7 +114,7 @@ Rectangle { width: parent.width columns: 4 - // Padding + // Padding Rectangle { Layout.columnSpan: 4 height: 4 @@ -171,7 +171,7 @@ Rectangle { } } // End of mean - + // Mean Bias Rectangle { color: "transparent" @@ -214,8 +214,8 @@ Rectangle { } } // End of mean bias - - // Padding + + // Padding Rectangle { Layout.columnSpan: 4 height: 4 @@ -316,7 +316,7 @@ Rectangle { } // End of stddev bias - // Padding + // Padding Rectangle { Layout.columnSpan: 4 height: 4 diff --git a/src/gui/plugins/component_inspector_editor/StateAwareSpin.qml b/src/gui/plugins/component_inspector_editor/StateAwareSpin.qml index 8396c19194..0650acf2d1 100644 --- a/src/gui/plugins/component_inspector_editor/StateAwareSpin.qml +++ b/src/gui/plugins/component_inspector_editor/StateAwareSpin.qml @@ -36,10 +36,10 @@ Rectangle { property double minValue: 0 // max value - property double maxValue: 1 + property double maxValue: 1 - // value of the spin number value - property double numberValue: 0.0 + // value of the spin number value + property double numberValue: 0.0 signal onChange(double _value) diff --git a/src/gui/plugins/entity_tree/EntityTree.qml b/src/gui/plugins/entity_tree/EntityTree.qml index 1906345505..8b6db13123 100644 --- a/src/gui/plugins/entity_tree/EntityTree.qml +++ b/src/gui/plugins/entity_tree/EntityTree.qml @@ -116,7 +116,7 @@ Rectangle { height: childrenRect.height Text { - text: sectionText + text: sectionText font.pointSize: 10 padding: 5 } @@ -125,7 +125,7 @@ Rectangle { Rectangle { id: header - visible: true + visible: true height: addEntity.height anchors.top: parent.top anchors.left: parent.left @@ -178,7 +178,7 @@ Rectangle { Item { Layout.fillWidth: true height: childrenRect.height - Loader { + Loader { property string sectionText: "Model" sourceComponent: menuSectionHeading } @@ -222,7 +222,7 @@ Rectangle { MenuItem { - id: sphere + id: sphere text: "Sphere" onClicked: { EntityTree.OnInsertEntity("sphere") @@ -231,7 +231,7 @@ Rectangle { MenuItem { - id: mesh + id: mesh text: "Mesh" onClicked: { loadFileDialog.open() @@ -252,7 +252,7 @@ Rectangle { Item { Layout.fillWidth: true height: childrenRect.height - Loader { + Loader { property string sectionText: "Light" sourceComponent: menuSectionHeading } @@ -260,7 +260,7 @@ Rectangle { MenuItem { - id: directionalLight + id: directionalLight text: "Directional" onClicked: { EntityTree.OnInsertEntity("directional") @@ -278,7 +278,7 @@ Rectangle { MenuItem { - id: spotLight + id: spotLight text: "Spot" onClicked: { EntityTree.OnInsertEntity("spot") diff --git a/src/gui/plugins/modules/TypeIcon.qml b/src/gui/plugins/modules/TypeIcon.qml index 36090d8ef5..ece067c38b 100644 --- a/src/gui/plugins/modules/TypeIcon.qml +++ b/src/gui/plugins/modules/TypeIcon.qml @@ -70,4 +70,3 @@ Image { hoverEnabled: true } } - diff --git a/src/gui/plugins/transform_control/CMakeLists.txt b/src/gui/plugins/transform_control/CMakeLists.txt index 58aded7826..69a578fb60 100644 --- a/src/gui/plugins/transform_control/CMakeLists.txt +++ b/src/gui/plugins/transform_control/CMakeLists.txt @@ -5,5 +5,3 @@ gz_add_gui_plugin(TransformControl gz-rendering${GZ_RENDERING_VER}::gz-rendering${GZ_RENDERING_VER} gz-utils${GZ_UTILS_VER}::gz-utils${GZ_UTILS_VER} ) - - diff --git a/src/gui/plugins/video_recorder/VideoRecorder.qml b/src/gui/plugins/video_recorder/VideoRecorder.qml index c56d44fe89..f064c6e7b8 100644 --- a/src/gui/plugins/video_recorder/VideoRecorder.qml +++ b/src/gui/plugins/video_recorder/VideoRecorder.qml @@ -43,7 +43,7 @@ ToolBar { function getFormat(url) { return (url.slice(url.lastIndexOf(".") + 1)) } - + onAccepted: { fileFormat = getFormat(fileUrl.toString()) if (fileFormat == fileUrl.toString()) { @@ -67,7 +67,7 @@ ToolBar { } Dialog { - id: mismatchDialog + id: mismatchDialog title: "Enconding and filename mismatch" modal: true focus: false diff --git a/src/gui/plugins/view_angle/CMakeLists.txt b/src/gui/plugins/view_angle/CMakeLists.txt index 2e13f9ea06..22fa0770c8 100644 --- a/src/gui/plugins/view_angle/CMakeLists.txt +++ b/src/gui/plugins/view_angle/CMakeLists.txt @@ -4,5 +4,3 @@ gz_add_gui_plugin(ViewAngle PRIVATE_LINK_LIBS ${PROJECT_LIBRARY_TARGET_NAME}-rendering ) - - diff --git a/src/gui/plugins/visualize_lidar/VisualizeLidar.qrc b/src/gui/plugins/visualize_lidar/VisualizeLidar.qrc index a351b7c712..ae58a0abb5 100644 --- a/src/gui/plugins/visualize_lidar/VisualizeLidar.qrc +++ b/src/gui/plugins/visualize_lidar/VisualizeLidar.qrc @@ -2,4 +2,4 @@ VisualizeLidar.qml - \ No newline at end of file + diff --git a/src/msgs/CMakeLists.txt b/src/msgs/CMakeLists.txt index 7941ad8f48..a1e6edad36 100644 --- a/src/msgs/CMakeLists.txt +++ b/src/msgs/CMakeLists.txt @@ -11,4 +11,3 @@ set(PROTO_PRIVATE_HEADERS ${PROTO_PRIVATE_HEADERS} PARENT_SCOPE) add_custom_target(gz-sim_private_msgs DEPENDS ${PROTO_PRIVATE_SRC} ) - diff --git a/src/msgs/simulation_step.proto b/src/msgs/simulation_step.proto index 284380b305..94b13ff1a8 100644 --- a/src/msgs/simulation_step.proto +++ b/src/msgs/simulation_step.proto @@ -35,4 +35,3 @@ message SimulationStep /// affinity changes. repeated PerformerAffinity affinity = 2; } - diff --git a/src/network/NetworkConfig.cc b/src/network/NetworkConfig.cc index e1e0f70e20..7d2fc4b8ad 100644 --- a/src/network/NetworkConfig.cc +++ b/src/network/NetworkConfig.cc @@ -76,4 +76,3 @@ NetworkConfig NetworkConfig::FromValues(const std::string &_role, return config; } - diff --git a/src/network/NetworkConfig_TEST.cc b/src/network/NetworkConfig_TEST.cc index b60ea77f48..d68be8ab33 100644 --- a/src/network/NetworkConfig_TEST.cc +++ b/src/network/NetworkConfig_TEST.cc @@ -60,4 +60,3 @@ TEST(NetworkManager, ValueConstructor) assert(config.role == NetworkRole::None); } } - diff --git a/src/network/NetworkManagerPrimary.hh b/src/network/NetworkManagerPrimary.hh index ddacff70c3..7620d22aea 100644 --- a/src/network/NetworkManagerPrimary.hh +++ b/src/network/NetworkManagerPrimary.hh @@ -128,4 +128,3 @@ namespace gz } // namespace gz #endif // GZ_SIM_NETWORKMANAGERPRIMARY_HH_ - diff --git a/src/network/NetworkManagerPrivate.hh b/src/network/NetworkManagerPrivate.hh index 331765997f..fbae8ff3f3 100644 --- a/src/network/NetworkManagerPrivate.hh +++ b/src/network/NetworkManagerPrivate.hh @@ -73,4 +73,3 @@ namespace gz } // namespace gz #endif // GZ_SIM_NETWORKMANAGER_HH_ - diff --git a/src/network/NetworkManagerSecondary.cc b/src/network/NetworkManagerSecondary.cc index 5ad4806fec..550392958c 100644 --- a/src/network/NetworkManagerSecondary.cc +++ b/src/network/NetworkManagerSecondary.cc @@ -174,4 +174,3 @@ void NetworkManagerSecondary::OnStep( this->dataPtr->ecm->SetAllComponentsUnchanged(); } - diff --git a/src/network/NetworkManagerSecondary.hh b/src/network/NetworkManagerSecondary.hh index 375178bacb..eee72502ae 100644 --- a/src/network/NetworkManagerSecondary.hh +++ b/src/network/NetworkManagerSecondary.hh @@ -87,4 +87,3 @@ namespace gz } // namespace gz #endif // GZ_SIM_NETWORKMANAGERSECONDARY_HH_ - diff --git a/src/network/NetworkRole.hh b/src/network/NetworkRole.hh index 17f1bcfefc..fbd4535b7f 100644 --- a/src/network/NetworkRole.hh +++ b/src/network/NetworkRole.hh @@ -51,4 +51,3 @@ namespace gz } // namespace gz #endif // GZ_SIM_NETWORKROLE_HH_ - diff --git a/src/network/PeerInfo.hh b/src/network/PeerInfo.hh index 75238ae2c2..5064d7c068 100644 --- a/src/network/PeerInfo.hh +++ b/src/network/PeerInfo.hh @@ -65,4 +65,3 @@ namespace gz } // namespace gz #endif // GZ_SIM_NETWORK_PEERINFO_HH_ - diff --git a/src/network/PeerTracker.hh b/src/network/PeerTracker.hh index bb428daeaf..82b8d0c015 100644 --- a/src/network/PeerTracker.hh +++ b/src/network/PeerTracker.hh @@ -222,5 +222,3 @@ namespace gz } // namespace gz #endif // GZ_SIM_NETWORKCONFIG_HH_ - - diff --git a/src/systems/air_pressure/CMakeLists.txt b/src/systems/air_pressure/CMakeLists.txt index 1632110def..cf410eba6a 100644 --- a/src/systems/air_pressure/CMakeLists.txt +++ b/src/systems/air_pressure/CMakeLists.txt @@ -6,4 +6,3 @@ gz_add_system(air-pressure PRIVATE_LINK_LIBS gz-sensors${GZ_SENSORS_VER}::air_pressure ) - diff --git a/src/systems/altimeter/CMakeLists.txt b/src/systems/altimeter/CMakeLists.txt index a6b082275b..f1112eb873 100644 --- a/src/systems/altimeter/CMakeLists.txt +++ b/src/systems/altimeter/CMakeLists.txt @@ -6,4 +6,3 @@ gz_add_system(altimeter PRIVATE_LINK_LIBS gz-sensors${GZ_SENSORS_VER}::altimeter ) - diff --git a/src/systems/elevator/vender/afsm/LICENSE b/src/systems/elevator/vender/afsm/LICENSE index 6a3a57fb25..9d00de5228 100644 --- a/src/systems/elevator/vender/afsm/LICENSE +++ b/src/systems/elevator/vender/afsm/LICENSE @@ -108,7 +108,7 @@ you do at least ONE of the following: (c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under - + (i) the Original License or (ii) a license that permits the licensee to freely copy, diff --git a/src/systems/elevator/vender/metapushkin/LICENSE b/src/systems/elevator/vender/metapushkin/LICENSE index 6a3a57fb25..9d00de5228 100644 --- a/src/systems/elevator/vender/metapushkin/LICENSE +++ b/src/systems/elevator/vender/metapushkin/LICENSE @@ -108,7 +108,7 @@ you do at least ONE of the following: (c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under - + (i) the Original License or (ii) a license that permits the licensee to freely copy, diff --git a/src/systems/follow_actor/CMakeLists.txt b/src/systems/follow_actor/CMakeLists.txt index 864371e1d6..929a6cfd37 100644 --- a/src/systems/follow_actor/CMakeLists.txt +++ b/src/systems/follow_actor/CMakeLists.txt @@ -2,4 +2,3 @@ gz_add_system(follow-actor SOURCES FollowActor.cc ) - diff --git a/src/systems/force_torque/CMakeLists.txt b/src/systems/force_torque/CMakeLists.txt index 5cfb64756d..1e41bf0ffe 100644 --- a/src/systems/force_torque/CMakeLists.txt +++ b/src/systems/force_torque/CMakeLists.txt @@ -5,4 +5,4 @@ gz_add_system(forcetorque gz-common${GZ_COMMON_VER}::gz-common${GZ_COMMON_VER} PRIVATE_LINK_LIBS gz-sensors${GZ_SENSORS_VER}::force_torque -) \ No newline at end of file +) diff --git a/src/systems/imu/CMakeLists.txt b/src/systems/imu/CMakeLists.txt index 66e0b00681..87bf121196 100644 --- a/src/systems/imu/CMakeLists.txt +++ b/src/systems/imu/CMakeLists.txt @@ -6,4 +6,3 @@ gz_add_system(imu PRIVATE_LINK_LIBS gz-sensors${GZ_SENSORS_VER}::imu ) - diff --git a/src/systems/joint_controller/JointController.hh b/src/systems/joint_controller/JointController.hh index 23f10a81a3..9bb10ece91 100644 --- a/src/systems/joint_controller/JointController.hh +++ b/src/systems/joint_controller/JointController.hh @@ -105,4 +105,3 @@ namespace systems } #endif - diff --git a/src/systems/lift_drag/CMakeLists.txt b/src/systems/lift_drag/CMakeLists.txt index c97cb83c33..db63d107a0 100644 --- a/src/systems/lift_drag/CMakeLists.txt +++ b/src/systems/lift_drag/CMakeLists.txt @@ -2,4 +2,3 @@ gz_add_system(lift-drag SOURCES LiftDrag.cc ) - diff --git a/src/systems/lift_drag/LiftDrag.hh b/src/systems/lift_drag/LiftDrag.hh index efbed40502..8c7cba996d 100644 --- a/src/systems/lift_drag/LiftDrag.hh +++ b/src/systems/lift_drag/LiftDrag.hh @@ -93,4 +93,3 @@ namespace systems } #endif - diff --git a/src/systems/logical_camera/CMakeLists.txt b/src/systems/logical_camera/CMakeLists.txt index c946d91b91..a009f6c57e 100644 --- a/src/systems/logical_camera/CMakeLists.txt +++ b/src/systems/logical_camera/CMakeLists.txt @@ -6,4 +6,3 @@ gz_add_system(logical-camera gz-sensors${GZ_SENSORS_VER}::gz-sensors${GZ_SENSORS_VER} gz-sensors${GZ_SENSORS_VER}::logical_camera ) - diff --git a/src/systems/navsat/CMakeLists.txt b/src/systems/navsat/CMakeLists.txt index d81b035b16..4ba044faa9 100644 --- a/src/systems/navsat/CMakeLists.txt +++ b/src/systems/navsat/CMakeLists.txt @@ -6,4 +6,3 @@ gz_add_system(navsat PRIVATE_LINK_LIBS gz-sensors${GZ_SENSORS_VER}::navsat ) - diff --git a/src/systems/optical_tactile_plugin/CMakeLists.txt b/src/systems/optical_tactile_plugin/CMakeLists.txt index d4e4661831..1d74f0a721 100644 --- a/src/systems/optical_tactile_plugin/CMakeLists.txt +++ b/src/systems/optical_tactile_plugin/CMakeLists.txt @@ -4,4 +4,4 @@ gz_add_system(opticaltactileplugin Visualization.cc PUBLIC_LINK_LIBS gz-common${GZ_COMMON_VER}::gz-common${GZ_COMMON_VER} -) \ No newline at end of file +) diff --git a/src/systems/particle_emitter/ParticleEmitter.hh b/src/systems/particle_emitter/ParticleEmitter.hh index b2878f9381..848fa21a61 100644 --- a/src/systems/particle_emitter/ParticleEmitter.hh +++ b/src/systems/particle_emitter/ParticleEmitter.hh @@ -66,4 +66,3 @@ namespace systems } #endif - diff --git a/src/systems/particle_emitter2/ParticleEmitter2.hh b/src/systems/particle_emitter2/ParticleEmitter2.hh index df35b8e40a..00bd97b129 100644 --- a/src/systems/particle_emitter2/ParticleEmitter2.hh +++ b/src/systems/particle_emitter2/ParticleEmitter2.hh @@ -74,4 +74,3 @@ namespace systems } #endif - diff --git a/src/systems/scene_broadcaster/SceneBroadcaster.hh b/src/systems/scene_broadcaster/SceneBroadcaster.hh index ad456209dd..ac3ac33037 100644 --- a/src/systems/scene_broadcaster/SceneBroadcaster.hh +++ b/src/systems/scene_broadcaster/SceneBroadcaster.hh @@ -71,4 +71,3 @@ namespace systems } } #endif - diff --git a/src/systems/sensors/CMakeLists.txt b/src/systems/sensors/CMakeLists.txt index 7d68172129..306ec4d037 100644 --- a/src/systems/sensors/CMakeLists.txt +++ b/src/systems/sensors/CMakeLists.txt @@ -16,4 +16,3 @@ gz_add_system(sensors gz-sensors${GZ_SENSORS_VER}::thermal_camera gz-sensors${GZ_SENSORS_VER}::wide_angle_camera ) - diff --git a/src/systems/user_commands/CMakeLists.txt b/src/systems/user_commands/CMakeLists.txt index e54987376d..4b4b5a27ab 100644 --- a/src/systems/user_commands/CMakeLists.txt +++ b/src/systems/user_commands/CMakeLists.txt @@ -4,4 +4,3 @@ gz_add_system(user-commands PUBLIC_LINK_LIBS gz-common${GZ_COMMON_VER}::gz-common${GZ_COMMON_VER} ) - diff --git a/src/systems/velocity_control/VelocityControl.hh b/src/systems/velocity_control/VelocityControl.hh index 431aec98a9..8995cbcdff 100644 --- a/src/systems/velocity_control/VelocityControl.hh +++ b/src/systems/velocity_control/VelocityControl.hh @@ -81,4 +81,3 @@ namespace systems } #endif - diff --git a/src/systems/wind_effects/CMakeLists.txt b/src/systems/wind_effects/CMakeLists.txt index f019bb7534..be2fa77339 100644 --- a/src/systems/wind_effects/CMakeLists.txt +++ b/src/systems/wind_effects/CMakeLists.txt @@ -6,4 +6,3 @@ gz_add_system(wind-effects # Include gz-sensors for noise models gz-sensors${GZ_SENSORS_VER}::gz-sensors${GZ_SENSORS_VER} ) - diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 28012fb3d4..0436a5fc32 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,4 @@ -configure_file (test_config.hh.in +configure_file (test_config.hh.in ${PROJECT_BINARY_DIR}/include/test_config.hh ) include_directories ( diff --git a/test/benchmark/README.md b/test/benchmark/README.md index a5f7f79b8a..d73688846d 100644 --- a/test/benchmark/README.md +++ b/test/benchmark/README.md @@ -34,4 +34,3 @@ The previous setting can be restored with: ``` sudo cpupower frequency-set --governor powersave ``` - diff --git a/test/find_dri.cmake b/test/find_dri.cmake index ce43b372db..8d03a609f0 100644 --- a/test/find_dri.cmake +++ b/test/find_dri.cmake @@ -100,5 +100,3 @@ set(VALID_DRI_DISPLAY ${VALID_DRI_DISPLAY} PARENT_SCOPE) endfunction() ############################## End FindDRI support ############################# - - diff --git a/test/gtest_vendor/CMakeLists.txt b/test/gtest_vendor/CMakeLists.txt index 5eeb6346b0..ec74d0d89e 100644 --- a/test/gtest_vendor/CMakeLists.txt +++ b/test/gtest_vendor/CMakeLists.txt @@ -1,7 +1,7 @@ add_library(gtest STATIC ${CMAKE_CURRENT_SOURCE_DIR}/src/gtest-all.cc) add_library(gtest_main STATIC ${CMAKE_CURRENT_SOURCE_DIR}/src/gtest_main.cc) -target_include_directories(gtest +target_include_directories(gtest SYSTEM PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include PRIVATE diff --git a/test/gtest_vendor/gtest_vendor_version b/test/gtest_vendor/gtest_vendor_version index 7beba17434..f89a500373 100644 --- a/test/gtest_vendor/gtest_vendor_version +++ b/test/gtest_vendor/gtest_vendor_version @@ -3,6 +3,6 @@ Author: Abseil Team Date: Mon Jun 27 13:15:39 2022 -0700 Mark internal-only function as having internal linkage. - + PiperOrigin-RevId: 457550818 Change-Id: I9046801b64ce4581d742d650451332fd56489632 diff --git a/test/helpers/UniqueTestDirectoryEnv.hh b/test/helpers/UniqueTestDirectoryEnv.hh index 19152eb52c..7fe7be5229 100644 --- a/test/helpers/UniqueTestDirectoryEnv.hh +++ b/test/helpers/UniqueTestDirectoryEnv.hh @@ -98,4 +98,3 @@ class UniqueTestDirectoryEnv : public ::testing::Environment } } #endif - diff --git a/test/integration/apply_joint_force_system.cc b/test/integration/apply_joint_force_system.cc index 1ef189d778..7539b9fc99 100644 --- a/test/integration/apply_joint_force_system.cc +++ b/test/integration/apply_joint_force_system.cc @@ -117,4 +117,3 @@ TEST_F(ApplyJointForceTestFixture, } EXPECT_DOUBLE_EQ(jointForceCmd.back(), testJointForce); } - diff --git a/test/integration/apply_link_wrench_system.cc b/test/integration/apply_link_wrench_system.cc index 714cdbf077..1578cac3d3 100644 --- a/test/integration/apply_link_wrench_system.cc +++ b/test/integration/apply_link_wrench_system.cc @@ -344,4 +344,3 @@ TEST_F(ApplyLinkWrenchTestFixture, EXPECT_EQ(targetIterations, iterations); EXPECT_EQ(1u, impulseIterations); } - diff --git a/test/integration/buoyancy_engine.cc b/test/integration/buoyancy_engine.cc index 6b9616a85a..fe2a132c92 100644 --- a/test/integration/buoyancy_engine.cc +++ b/test/integration/buoyancy_engine.cc @@ -201,4 +201,3 @@ TEST_F(BuoyancyEngineTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(TestUpwardSurface)) EXPECT_NEAR(poses.rbegin()->Pos().X(), poses.begin()->Pos().X(), 1e-3); EXPECT_NEAR(poses.rbegin()->Pos().Y(), poses.begin()->Pos().Y(), 1e-3); } - diff --git a/test/integration/events.cc b/test/integration/events.cc index 30b495b4ee..d549f09433 100644 --- a/test/integration/events.cc +++ b/test/integration/events.cc @@ -53,4 +53,3 @@ TEST_F(EventTrigger, GZ_UTILS_TEST_DISABLED_ON_WIN32(TriggerPause)) server.Run(true, 1, true); EXPECT_FALSE(*server.Paused()); } - diff --git a/test/integration/model.cc b/test/integration/model.cc index 6d403fb32a..f878088631 100644 --- a/test/integration/model.cc +++ b/test/integration/model.cc @@ -261,4 +261,3 @@ TEST_F(ModelIntegrationTest, CanonicalLink) EXPECT_EQ(canonicalLink, model.CanonicalLink(ecm)); EXPECT_EQ(2u, model.LinkCount(ecm)); } - diff --git a/test/integration/world.cc b/test/integration/world.cc index f7de7e9ccf..c0f1931960 100644 --- a/test/integration/world.cc +++ b/test/integration/world.cc @@ -237,4 +237,3 @@ TEST_F(WorldIntegrationTest, ActorByName) EXPECT_EQ(eActor, world.ActorByName(ecm, "actor_name")); EXPECT_EQ(1u, world.ActorCount(ecm)); } - diff --git a/test/performance/CMakeLists.txt b/test/performance/CMakeLists.txt index ba96ad55be..770ba7b937 100644 --- a/test/performance/CMakeLists.txt +++ b/test/performance/CMakeLists.txt @@ -39,4 +39,3 @@ target_link_libraries( gz-sim${PROJECT_VERSION_MAJOR} gz-sim${PROJECT_VERSION_MAJOR}-gui ) - diff --git a/test/performance/README.md b/test/performance/README.md index 5aa90a4670..f69acdbfa5 100644 --- a/test/performance/README.md +++ b/test/performance/README.md @@ -43,4 +43,3 @@ Max RTF: 1.01867 * `gz_perf.py data.csv --plot` Time series plot of RTF vs simualation time * `gz_perf.py data.csv --hist` Histogram of real time factors - diff --git a/test/plugins/EventTriggerSystem.cc b/test/plugins/EventTriggerSystem.cc index 824c85ebe4..b7e1f797f3 100644 --- a/test/plugins/EventTriggerSystem.cc +++ b/test/plugins/EventTriggerSystem.cc @@ -6,4 +6,3 @@ GZ_ADD_PLUGIN(gz::sim::EventTriggerSystem, gz::sim::System, gz::sim::EventTriggerSystem::ISystemConfigure, gz::sim::EventTriggerSystem::ISystemUpdate) - diff --git a/test/plugins/MockSystem.cc b/test/plugins/MockSystem.cc index 4b787d1bd6..0813f3475d 100644 --- a/test/plugins/MockSystem.cc +++ b/test/plugins/MockSystem.cc @@ -8,4 +8,3 @@ GZ_ADD_PLUGIN(gz::sim::MockSystem, gz::sim::System, gz::sim::MockSystem::ISystemPreUpdate, gz::sim::MockSystem::ISystemUpdate, gz::sim::MockSystem::ISystemPostUpdate) - diff --git a/test/plugins/TestModelSystem.cc b/test/plugins/TestModelSystem.cc index 3f966d9e5b..bc1acb75f9 100644 --- a/test/plugins/TestModelSystem.cc +++ b/test/plugins/TestModelSystem.cc @@ -21,4 +21,3 @@ GZ_ADD_PLUGIN(gz::sim::TestModelSystem, gz::sim::System, gz::sim::TestModelSystem::ISystemConfigure) - diff --git a/test/plugins/TestSensorSystem.cc b/test/plugins/TestSensorSystem.cc index 48e0591cc4..c74146b77b 100644 --- a/test/plugins/TestSensorSystem.cc +++ b/test/plugins/TestSensorSystem.cc @@ -21,4 +21,3 @@ GZ_ADD_PLUGIN(gz::sim::TestSensorSystem, gz::sim::System, gz::sim::TestSensorSystem::ISystemConfigure) - diff --git a/test/plugins/TestSystem.hh b/test/plugins/TestSystem.hh index d3269072b1..3e0a0993ff 100644 --- a/test/plugins/TestSystem.hh +++ b/test/plugins/TestSystem.hh @@ -37,4 +37,3 @@ namespace gz #endif - diff --git a/test/plugins/TestWorldSystem.cc b/test/plugins/TestWorldSystem.cc index d4182d8cdd..938524679e 100644 --- a/test/plugins/TestWorldSystem.cc +++ b/test/plugins/TestWorldSystem.cc @@ -22,4 +22,3 @@ GZ_ADD_PLUGIN(gz::sim::TestWorldSystem, gz::sim::System, gz::sim::TestWorldSystem::ISystemConfigure, gz::sim::TestWorldSystem::ISystemUpdate) - diff --git a/test/worlds/buoyancy.sdf.in b/test/worlds/buoyancy.sdf.in index b96adadffe..c384902ae4 100644 --- a/test/worlds/buoyancy.sdf.in +++ b/test/worlds/buoyancy.sdf.in @@ -518,4 +518,3 @@ - diff --git a/test/worlds/buoyancy_graded_restoring_moments.sdf b/test/worlds/buoyancy_graded_restoring_moments.sdf index 4f95e26fa1..b3e082e12e 100644 --- a/test/worlds/buoyancy_graded_restoring_moments.sdf +++ b/test/worlds/buoyancy_graded_restoring_moments.sdf @@ -68,4 +68,4 @@ - \ No newline at end of file + diff --git a/test/worlds/buoyancy_uniform_restoring_moments.sdf b/test/worlds/buoyancy_uniform_restoring_moments.sdf index 53ad22dc74..ef149ef27b 100644 --- a/test/worlds/buoyancy_uniform_restoring_moments.sdf +++ b/test/worlds/buoyancy_uniform_restoring_moments.sdf @@ -62,4 +62,4 @@ - \ No newline at end of file + diff --git a/test/worlds/camera_distortion.sdf b/test/worlds/camera_distortion.sdf index ac75008251..83bb41d4e5 100644 --- a/test/worlds/camera_distortion.sdf +++ b/test/worlds/camera_distortion.sdf @@ -164,5 +164,5 @@ - + diff --git a/test/worlds/center_of_volume.sdf b/test/worlds/center_of_volume.sdf index 0942e68488..4880abd20b 100644 --- a/test/worlds/center_of_volume.sdf +++ b/test/worlds/center_of_volume.sdf @@ -157,4 +157,3 @@ - diff --git a/test/worlds/center_of_volume_graded.sdf b/test/worlds/center_of_volume_graded.sdf index 7f9ef8500e..6c8c84addd 100644 --- a/test/worlds/center_of_volume_graded.sdf +++ b/test/worlds/center_of_volume_graded.sdf @@ -170,4 +170,4 @@ - \ No newline at end of file + diff --git a/test/worlds/diff_drive_custom_tf_topic.sdf b/test/worlds/diff_drive_custom_tf_topic.sdf index 684b001b7d..864b46292a 100644 --- a/test/worlds/diff_drive_custom_tf_topic.sdf +++ b/test/worlds/diff_drive_custom_tf_topic.sdf @@ -241,4 +241,3 @@ - diff --git a/test/worlds/log_playback.sdf b/test/worlds/log_playback.sdf index 568d0828b0..593d41fddb 100644 --- a/test/worlds/log_playback.sdf +++ b/test/worlds/log_playback.sdf @@ -14,4 +14,3 @@ - diff --git a/test/worlds/models/lift_drag_wing/model.config b/test/worlds/models/lift_drag_wing/model.config index 5cb5ee1ec5..ef4c9e89b6 100644 --- a/test/worlds/models/lift_drag_wing/model.config +++ b/test/worlds/models/lift_drag_wing/model.config @@ -4,4 +4,3 @@ 1.0 model.sdf - diff --git a/test/worlds/models/mesh_with_submeshes/model.config b/test/worlds/models/mesh_with_submeshes/model.config index 5f8cbc02f1..cc2ad49b4a 100644 --- a/test/worlds/models/mesh_with_submeshes/model.config +++ b/test/worlds/models/mesh_with_submeshes/model.config @@ -4,4 +4,3 @@ 1.0 model.sdf - diff --git a/test/worlds/models/relative_resource_uri/model.config b/test/worlds/models/relative_resource_uri/model.config index a275b5b10c..de9fb1f685 100644 --- a/test/worlds/models/relative_resource_uri/model.config +++ b/test/worlds/models/relative_resource_uri/model.config @@ -4,4 +4,3 @@ 1.0 model.sdf - diff --git a/test/worlds/models/relative_resource_uri/model.sdf b/test/worlds/models/relative_resource_uri/model.sdf index 93240d1b9a..e9a438ca0d 100644 --- a/test/worlds/models/relative_resource_uri/model.sdf +++ b/test/worlds/models/relative_resource_uri/model.sdf @@ -38,4 +38,3 @@ - diff --git a/test/worlds/models/relative_resource_uri/model2.sdf b/test/worlds/models/relative_resource_uri/model2.sdf index 03ac29cec4..eaa3845b14 100644 --- a/test/worlds/models/relative_resource_uri/model2.sdf +++ b/test/worlds/models/relative_resource_uri/model2.sdf @@ -24,4 +24,3 @@ - diff --git a/test/worlds/models/scheme_resource_uri/model.config b/test/worlds/models/scheme_resource_uri/model.config index fd4cb55a64..9144f1d8da 100644 --- a/test/worlds/models/scheme_resource_uri/model.config +++ b/test/worlds/models/scheme_resource_uri/model.config @@ -4,4 +4,3 @@ 1.0 model.sdf - diff --git a/test/worlds/models/scheme_resource_uri/model.sdf b/test/worlds/models/scheme_resource_uri/model.sdf index a1f122416e..f9f515513f 100644 --- a/test/worlds/models/scheme_resource_uri/model.sdf +++ b/test/worlds/models/scheme_resource_uri/model.sdf @@ -22,4 +22,3 @@ - diff --git a/test/worlds/models/sphere/model.sdf b/test/worlds/models/sphere/model.sdf index ab68145917..f5c56cab9e 100644 --- a/test/worlds/models/sphere/model.sdf +++ b/test/worlds/models/sphere/model.sdf @@ -20,4 +20,3 @@ - diff --git a/test/worlds/odometry_noise.sdf b/test/worlds/odometry_noise.sdf index 4994b1ecd0..2c018e9d5e 100644 --- a/test/worlds/odometry_noise.sdf +++ b/test/worlds/odometry_noise.sdf @@ -228,4 +228,3 @@ - diff --git a/test/worlds/odometry_offset.sdf b/test/worlds/odometry_offset.sdf index 59451f4df0..13cd18c7e6 100644 --- a/test/worlds/odometry_offset.sdf +++ b/test/worlds/odometry_offset.sdf @@ -229,4 +229,3 @@ - diff --git a/test/worlds/odometry_publisher.sdf b/test/worlds/odometry_publisher.sdf index 1d2a4d49af..3f56f86f01 100644 --- a/test/worlds/odometry_publisher.sdf +++ b/test/worlds/odometry_publisher.sdf @@ -227,4 +227,3 @@ - diff --git a/test/worlds/odometry_publisher_custom.sdf b/test/worlds/odometry_publisher_custom.sdf index 1671ad2566..5992f68c73 100644 --- a/test/worlds/odometry_publisher_custom.sdf +++ b/test/worlds/odometry_publisher_custom.sdf @@ -231,4 +231,3 @@ - diff --git a/test/worlds/particle_emitter.sdf b/test/worlds/particle_emitter.sdf index 73fb923177..f89e9d9e26 100644 --- a/test/worlds/particle_emitter.sdf +++ b/test/worlds/particle_emitter.sdf @@ -107,5 +107,3 @@ - - diff --git a/test/worlds/plugins_empty.sdf b/test/worlds/plugins_empty.sdf index 6061dfccde..106fc9d8f8 100644 --- a/test/worlds/plugins_empty.sdf +++ b/test/worlds/plugins_empty.sdf @@ -14,4 +14,3 @@ - diff --git a/test/worlds/server_invalid.config b/test/worlds/server_invalid.config index 48cc6ec97a..ff0d74c7b1 100644 --- a/test/worlds/server_invalid.config +++ b/test/worlds/server_invalid.config @@ -1,4 +1,4 @@ - @@ -10,4 +10,3 @@ Example server configuration that is NOT valid 0.123 - diff --git a/test/worlds/server_valid.config b/test/worlds/server_valid.config index 39217fd30f..4da1809bda 100644 --- a/test/worlds/server_valid.config +++ b/test/worlds/server_valid.config @@ -1,4 +1,4 @@ - diff --git a/test/worlds/server_valid2.config b/test/worlds/server_valid2.config index 598077a39a..26ab5553da 100644 --- a/test/worlds/server_valid2.config +++ b/test/worlds/server_valid2.config @@ -1,4 +1,4 @@ - diff --git a/test/worlds/static_diff_drive_vehicle.sdf b/test/worlds/static_diff_drive_vehicle.sdf index 618ba1b6a0..5613755e81 100644 --- a/test/worlds/static_diff_drive_vehicle.sdf +++ b/test/worlds/static_diff_drive_vehicle.sdf @@ -221,6 +221,6 @@ true - + diff --git a/test/worlds/triggered_publisher.sdf b/test/worlds/triggered_publisher.sdf index 6db3da4606..b51a693c3c 100644 --- a/test/worlds/triggered_publisher.sdf +++ b/test/worlds/triggered_publisher.sdf @@ -253,4 +253,3 @@ - diff --git a/tutorials/blender_distort_meshes.md b/tutorials/blender_distort_meshes.md index 7cf5a77d25..853337332b 100644 --- a/tutorials/blender_distort_meshes.md +++ b/tutorials/blender_distort_meshes.md @@ -233,4 +233,3 @@ There are example calls in the Python script. - Blender sometimes does not export the texture back to a COLLADA file correctly. Importing OBJ and exporting COLLADA works fine. - diff --git a/tutorials/erb_template.md b/tutorials/erb_template.md index e30da7cb9f..e38f5cd1d4 100644 --- a/tutorials/erb_template.md +++ b/tutorials/erb_template.md @@ -6,7 +6,7 @@ In this case, since most simulation world used in gazebo is defined with [SDForm ## Why ERB -There are many use cases and advantages of using ERB in your SDF file. +There are many use cases and advantages of using ERB in your SDF file. Some of them are listed below and demonstrated in this [example ERB file](https://github.com/osrf/srcsim/blob/master/worlds/unique.world.erb): 1. Embedding logic into the SDF, such as loops and conditionals @@ -18,7 +18,7 @@ Some of them are listed below and demonstrated in this [example ERB file](https: Firstly, Ruby needs to be installed. If you have gone through [Gazebo Sim's installation guide](https://gazebosim.org/docs/latest/install), it's most likely you already have Ruby installed. -To check if Ruby is installed, use +To check if Ruby is installed, use ```{.sh} ruby --version ``` @@ -104,7 +104,7 @@ Each box model also has a different name and pose to ensure they show up as indi [Here](https://github.com/gazebosim/gz-sim/blob/main/examples/worlds/shapes_population.sdf.erb) is a complete shapes simulation world example. -Instead of simple shapes, you can also use a nested loop to generate 100 actors spaced out evenly in a simulation world. +Instead of simple shapes, you can also use a nested loop to generate 100 actors spaced out evenly in a simulation world. ``` <% @@ -145,7 +145,7 @@ Instead of simple shapes, you can also use a nested loop to generate 100 actors end %> ``` - + ## Generate SDF from ERB template Now that an ERB template file is ready and saved as `my_first_erb.erb`, you can run the following terminal command to generate the corresponding SDF file. diff --git a/tutorials/files/spherical_coordinates/ENU.svg b/tutorials/files/spherical_coordinates/ENU.svg index c97ca18197..add223c170 100644 --- a/tutorials/files/spherical_coordinates/ENU.svg +++ b/tutorials/files/spherical_coordinates/ENU.svg @@ -345,4 +345,4 @@ y="-379.30618" id="tspan3727-8-4-5-7-1">λ - \ No newline at end of file + diff --git a/tutorials/gui_config.md b/tutorials/gui_config.md index e43960f3a0..b3c028a531 100644 --- a/tutorials/gui_config.md +++ b/tutorials/gui_config.md @@ -190,6 +190,3 @@ hand, we'll create it from the UI. save directly to `$HOME/.gz/sim/<#>/gui.config`. @image html files/gui_config/cmd_line.png - - - diff --git a/tutorials/headless_rendering.md b/tutorials/headless_rendering.md index 2e4f9a30fe..6c01ef756d 100644 --- a/tutorials/headless_rendering.md +++ b/tutorials/headless_rendering.md @@ -1,5 +1,5 @@ -\page headless_rendering Headless Rendering - +\page headless_rendering Headless Rendering + It is often desirable to run simulation on a remote computer, such as a computer managed by cloud provider, in order to paralellize work or access specific compute resources. Simulated sensors that require GPU access have @@ -35,7 +35,7 @@ here](https://www.ogre3d.org/2021/02/06/ogre-2-2-5-cerberus-released-and-egl-hea 3. Select `Ubuntu Server` version 20.04 or greater from the AMI list. 4. Choose a GPU enabled instance type, such as `g3.4xlarge`. 5. Enable `Auto-assign Public IP` on the `Configure Instance Details` step. - This is not the best practice, but it simplifies this tutorial. + This is not the best practice, but it simplifies this tutorial. 6. Add around 200GB storage to your instance on the `Add Storage` step. 7. Enable ssh source `Anywhere` on the `Configure Security Group` step. 8. Review and launch your instance. Make sure to setup a key pair in the diff --git a/tutorials/migration_plugins.md b/tutorials/migration_plugins.md index ebbe942433..25104ee695 100644 --- a/tutorials/migration_plugins.md +++ b/tutorials/migration_plugins.md @@ -254,4 +254,3 @@ In summary, the key differences between Gazebo Classic and Gazebo are: All these changes are meant to give plugin developers more flexibility to only use the features they need, and several layers of abstraction which can be chosen according to the developer's experience and specific use-case. - diff --git a/tutorials/rendering_plugins.md b/tutorials/rendering_plugins.md index d41d8137a8..0ba4e34003 100644 --- a/tutorials/rendering_plugins.md +++ b/tutorials/rendering_plugins.md @@ -135,4 +135,3 @@ the one on the GUI. Try pausing simulation and pressing the `RANDOM GUI COLOR` button to see which scene gets updated. @image html files/rendering_plugins.gif - diff --git a/tutorials/terminology.md b/tutorials/terminology.md index 44690bfa25..b4e8df5e6c 100644 --- a/tutorials/terminology.md +++ b/tutorials/terminology.md @@ -80,4 +80,3 @@ to developers touching the source code. * **Server**: Gazebo Sim's entry point. It's responsible for loading an SDF file and instantiating a simulation runner per world. -