Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate of Lidar Improvement PR from main AirSim Repo #6

Closed
wants to merge 130 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
06d42b1
Fix some old bugs in GeodeticConverter
rajat2004 Jun 29, 2021
4accf0a
Use GeodeticConverter for NED to GPS conversion
rajat2004 Jun 29, 2021
1e1caa2
Update some deprecated functionality in UE 4.27 and 5 with backward c…
Mar 10, 2022
7989dcc
Update json.hpp to latest version
Mar 16, 2022
4062214
fix 4420
Mar 23, 2022
b285c22
Merge branch 'microsoft:master' into master
dzywater Mar 27, 2022
dbd9ae6
remove chrono_timestamp_to_ros and airsim_timestamp_to_ros
Mar 27, 2022
a89d604
fix typedef declaration shadow and clang-format
zimmy87 Mar 29, 2022
6b50e8a
revert clang-format on json.hpp and add file to ignore list
zimmy87 Mar 30, 2022
ec2a6ba
Update clang_format.yml
zimmy87 Mar 30, 2022
c11b19a
Fix namespace usages in AirLib
rajat2004 Mar 27, 2022
d28514c
Fix ROS wrapper compilation errors
rajat2004 Mar 27, 2022
6043143
Remove usage of "using namespace std;"
rajat2004 Mar 27, 2022
98c1bd5
Unity namespace cleanup
rajat2004 Mar 27, 2022
e52b6ea
add check if SkeletalMesh is null
alonfaraj Apr 4, 2022
4e5960c
Update Car Demo & Fixed Some Error
BillyFrcs Apr 4, 2022
0a3263b
Merge pull request #3839 from rajat2004/use-geodetic-converter
zimmy87 Apr 4, 2022
4a9daa0
Update to fix json util differences
Apr 5, 2022
30e1893
Merge branch 'microsoft:master' into fix_deprecations
jmackay2 Apr 5, 2022
906bd6d
Merge pull request #4430 from cyberbotics/master
zimmy87 Apr 5, 2022
5ed4fd1
fix4444
Apr 6, 2022
02b8021
fix4445
Apr 6, 2022
7f4efae
fix4453
Apr 6, 2022
99a9bc8
fix clang-format
Apr 6, 2022
6b6f1b3
fix clang-format
Apr 6, 2022
29d5569
Merge pull request #4415 from jmackay2/update_json_hpp
zimmy87 Apr 6, 2022
0826834
add material element index
HSC-1 Apr 7, 2022
71df351
Merge branch 'master' of https://github.com/SimtoReal/AirSim
HSC-1 Apr 7, 2022
fc61b7a
Merge branch 'microsoft:master' into Update-CarDemo-Unity
BillyFrcs Apr 7, 2022
a9e8e36
add get_camera_optical_tf_from_body_tf for ros2 package
Apr 7, 2022
d500901
Merge pull request #4438 from rajat2004/namespace-cleanup
zimmy87 Apr 7, 2022
5f7d932
Merge pull request #4457 from alonfaraj/detection-fix
Apr 7, 2022
ee24f65
Update CHANGELOG.md
Apr 8, 2022
20e5bbe
Merge pull request #4471 from microsoft/jonyMarino-patch-2
Apr 8, 2022
1b3170b
Update README.md
Apr 8, 2022
03b722a
Merge pull request #4472 from microsoft/jonyMarino-patch-2
Apr 8, 2022
32de2c4
Merge pull request #4458 from BillyFrcs/Update-CarDemo-Unity
zimmy87 Apr 11, 2022
729ebf0
apply style from clang-format
Apr 12, 2022
66c7549
fix4475
invalid-email-address Apr 13, 2022
eeac214
fix4448
invalid-email-address Apr 13, 2022
1b2c243
Use CameraDefaults settings for all cameras
rajat2004 Apr 13, 2022
5200316
Ignore clangd generated .cache folder
rajat2004 Apr 13, 2022
411e215
fix step value
invalid-email-address Apr 13, 2022
6125668
remove repeated codes
invalid-email-address Apr 13, 2022
b3913c8
upgrade VS support to VS 2022
zimmy87 Apr 13, 2022
919229b
fix Windows GitHub Action and update docs
zimmy87 Apr 14, 2022
05927a2
Update stale.yml
Apr 19, 2022
78c400f
Merge pull request #4487 from microsoft/jonyMarino-patch-2
Apr 19, 2022
fe24459
Update mac build instructions url
michalkrupa Apr 20, 2022
a2a3e55
add missing ImageType argument to object detection APIs
zimmy87 Apr 25, 2022
d1e0f25
Merge pull request #4481 from rajat2004/fix-camera-defaults
zimmy87 Apr 25, 2022
82530b6
Merge pull request #4496 from zimmy87/fix-4484
Apr 25, 2022
f785462
upgrade Blocks to 4.27
zimmy87 Apr 26, 2022
378d8f9
apply style from clang-format
HSC-1 Apr 27, 2022
d202630
Merge pull request #4491 from michalkrupa/patch-3
Apr 27, 2022
0946df3
apply style from clang-format
HSC-1 Apr 28, 2022
7537e90
Merge pull request #4464 from cyberbotics/fix4444
zimmy87 Apr 28, 2022
e0a0b1b
Merge pull request #4465 from cyberbotics/fix4445
zimmy87 Apr 28, 2022
1261b07
Merge pull request #4485 from rajat2004/gitignore-clangd
Apr 28, 2022
28b559d
Merge pull request #4466 from cyberbotics/fix4453
zimmy87 Apr 29, 2022
284f465
Merge pull request #4479 from cyberbotics/for4448
zimmy87 Apr 29, 2022
5a39bb9
merge with master
invalid-email-address Apr 30, 2022
cd0a687
Bringing Back the White Space
HSC-1 May 2, 2022
9b68c3d
Merge pull request #4478 from cyberbotics/for4475
zimmy87 May 2, 2022
19ac0f2
Merge pull request #4467 from SimtoReal/master
zimmy87 May 2, 2022
c0ba2be
Fix typo in channel log
Giermek222 May 3, 2022
17bc2d7
fix Unity build and AirSimCI Windows_VS2019 check
zimmy87 May 6, 2022
e68054b
add lidar name to PointCloud msg frame id
alonfaraj May 12, 2022
e8c7ea3
Merge pull request #4486 from zimmy87/fix-4184
May 12, 2022
696d09d
Improving environment plugin update by recursively updating all proje…
ibrhm0v May 17, 2022
bc66bc7
Output log error and exit application when unsupported SimMode is spe…
zimmy87 May 17, 2022
2b57ccb
Merge pull request #4528 from zimmy87/fix-4493
May 17, 2022
daac9b5
Microsoft mandatory file
microsoft-github-policy-service[bot] May 17, 2022
fbdc5ea
Merge pull request #4529 from microsoft/users/GitHubPolicyService/5c6…
May 17, 2022
4676842
revert RecordingFile.cpp and make version check more explicit
zimmy87 May 18, 2022
6296fff
Merge pull request #4460 from jmackay2/fix_deprecations
May 18, 2022
3271354
Merge pull request #4510 from Giermek222/patch-1
May 18, 2022
94c6aa1
fix -Wformat warnings
alonfaraj May 19, 2022
c8241d1
fix deprecated rclcpp:::Duration warning
alonfaraj May 19, 2022
533b1b1
Update mkdocs.yml
zimmy87 May 19, 2022
6c88ebf
Merge pull request #4520 from alonfaraj/fix-missing-lidar-frame-id
zimmy87 May 19, 2022
333ae8d
Merge pull request #4533 from microsoft/mavros-tutorial
May 19, 2022
b8b8e0d
Merge pull request #4526 from xubeyb/recursive_plugin_update
zimmy87 May 23, 2022
b71f55c
update all environments
zimmy87 May 26, 2022
00f4db3
Merge pull request #4546 from zimmy87/plugin-update-windows
May 26, 2022
18a3534
update references to old UE and VS versions
zimmy87 May 27, 2022
6719b91
update OptionMenu BP to support levels in game folder
alonfaraj May 30, 2022
b784431
cleanup ASimHUD::loadLevel
alonfaraj May 30, 2022
c2f4c78
remove AisimLevelStreaming files
alonfaraj May 30, 2022
54bdac3
fix load level logic
alonfaraj May 30, 2022
9d92775
add missing commit file
alonfaraj May 30, 2022
26e874f
clang
alonfaraj May 30, 2022
7bac045
Merge pull request #4547 from zimmy87/update-doc-ver-ref
May 30, 2022
caa1318
Merge pull request #4532 from alonfaraj/fix-ros2-warnings
zimmy87 Jun 1, 2022
edce6e5
fix fov override
alonfaraj Jun 6, 2022
ac66b99
Snow and rain visible from capture images
Jun 8, 2022
eda67e4
Merge pull request #4562 from jonyMarino/pr/fix_3695
Jun 8, 2022
011abba
Merge pull request #4558 from alonfaraj/fix-fov-settings
Jun 20, 2022
2cc935f
Bump Newtonsoft.Json from 9.0.1 to 13.0.1 in /LogViewer/Networking
dependabot[bot] Jun 22, 2022
41892a9
Bump Newtonsoft.Json from 9.0.1 to 13.0.1 in /LogViewer/LogViewer
dependabot[bot] Jun 22, 2022
2d9ea36
Merge pull request #4586 from microsoft/dependabot/nuget/LogViewer/Ne…
Jun 23, 2022
7611349
Merge pull request #4587 from microsoft/dependabot/nuget/LogViewer/Lo…
Jun 23, 2022
4b758d0
Merge pull request #4551 from alonfaraj/fix-load-levle
Jun 29, 2022
e269f98
Change master to main in docs
Jul 1, 2022
481cd22
Revert errors changing master to main in docs
Jul 1, 2022
b272597
Merge pull request #4596 from jonyMarino/change_master_to_main
Jul 1, 2022
5e0e961
Change master to main in other docs
Jul 1, 2022
c5e4bce
change master to main in code
Jul 1, 2022
28b0140
Merge pull request #4597 from jonyMarino/change_master_to_main
Jul 1, 2022
eec7b64
Fix load level for UE editor
talha-opteran Jul 2, 2022
c57d16b
Update test_windows.yml
ArjunSharda Jul 4, 2022
fb1b198
Update test_macos.yml
ArjunSharda Jul 4, 2022
026a22f
Update clang_format.yml
ArjunSharda Jul 4, 2022
a1eae1f
Update test_ubuntu.yml
ArjunSharda Jul 4, 2022
3b54aaa
Update test_docs.yml
ArjunSharda Jul 4, 2022
f5b3362
Capture requested environment in settings.json
talha-opteran Jul 4, 2022
6ed09cd
Fix clang errors
talha-opteran Jul 7, 2022
ef96be5
Add ShowLosDebugLines to settings.md
alonfaraj Jul 7, 2022
dfedae9
Merge pull request #4600 from Arjun-Sharda-Contribution-Forks/main
Jul 7, 2022
5fbd6d0
Prevent a MavLink connection being made if a non-default map is reque…
talha-opteran Jul 8, 2022
ebe26a6
Fix clang format
Jul 17, 2022
efe2d23
Merge pull request #4599 from talha-opteran/patch-1
Jul 17, 2022
404c50d
AirSim v1.8.1
Jul 17, 2022
9623514
Merge pull request #4623 from jonyMarino/increase_AirSim_version_number
Jul 17, 2022
1be39b6
Merge pull request #4609 from alonfaraj/patch-4
Jul 18, 2022
b1713f4
Update README.md
PaulStubbs Jul 18, 2022
6688d27
Update README.md
PaulStubbs Jul 21, 2022
de36944
Update README.md
xxEoD2242 Jul 23, 2022
31f8a44
Set theme jekyll-theme-cayman
xxEoD2242 Jul 23, 2022
ad5595a
Re engineer docs to be inline with current Jekyll themes
xxEoD2242 Jul 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .clang-format-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Skip json.hpp since it is copied directly from external repo
AirLib/include/common/common_utils/json.hpp
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ about: Create a report to help us improve
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search for existing issues to avoid creating duplicates. -->
<!-- Incomplete reports will lead to closing the issue. -->
<!-- Also, please test using the latest master make sure your issue has not already been fixed -->
<!-- Also, please test using the latest main branch make sure your issue has not already been fixed -->

## Bug report
<!-- If any section does not apply, replace its contents with "N/A". -->
Expand Down
13 changes: 11 additions & 2 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
limitPerRun: 30
limitPerRun: 1

issues:
daysUntilStale: 365
daysUntilClose: 20
exemptProjects: true
exemptMilestones: true
# Issues with these labels will never be considered stale
exemptLabels:
- 'bug'
- 'feature request'
staleLabel: stale

markComment: >
Expand All @@ -13,4 +17,9 @@ issues:
closed if no further activity occurs within 20 days.
closeComment: >
This issue has been automatically closed because it is has not had activity
from the community in the last year.
from the community in the last year.

pulls:
daysUntilStale: 1000
daysUntilClose: 10
staleLabel: stale
3 changes: 2 additions & 1 deletion .github/workflows/clang_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ jobs:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@v4.4.1
with:
clang-format-version: '11'
check-path: '.'
exclude-regex: 'AirLib\/include\/common\/common_utils\/json\.hpp'
8 changes: 4 additions & 4 deletions .github/workflows/test_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.7'
architecture: 'x64'
Expand All @@ -37,10 +37,10 @@ jobs:
- name: Build AirSim Documentation
run: ./build_docs.sh

# Only on commits to 'master' branch
# Only on commits to 'main' branch
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build_docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup
run: ./setup.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
os: [ubuntu-18.04, ubuntu-20.04]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup
run: ./setup.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: windows-2019
runs-on: windows-2022

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -399,3 +399,6 @@ PythonClient/docs/_build

# Docker
/docker/Blocks/

# clangd generated folder, for e.g. from VSCode clangd extension
.cache/
12 changes: 6 additions & 6 deletions AirLib/AirLib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -205,40 +205,40 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand Down
10 changes: 5 additions & 5 deletions AirLib/include/api/RpcLibClientBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ namespace airlib
int simGetSegmentationObjectID(const std::string& mesh_name) const;
void simPrintLogMessage(const std::string& message, std::string message_param = "", unsigned char severity = 0);

void simAddDetectionFilterMeshName(const std::string& camera_name, const std::string& mesh_name, const std::string& vehicle_name = "", bool external = false);
void simSetDetectionFilterRadius(const std::string& camera_name, const float radius_cm, const std::string& vehicle_name = "", bool external = false);
void simClearDetectionMeshNames(const std::string& camera_name, const std::string& vehicle_name = "", bool external = false);
void simAddDetectionFilterMeshName(const std::string& camera_name, ImageCaptureBase::ImageType type, const std::string& mesh_name, const std::string& vehicle_name = "", bool external = false);
void simSetDetectionFilterRadius(const std::string& camera_name, ImageCaptureBase::ImageType type, const float radius_cm, const std::string& vehicle_name = "", bool external = false);
void simClearDetectionMeshNames(const std::string& camera_name, ImageCaptureBase::ImageType type, const std::string& vehicle_name = "", bool external = false);
vector<DetectionInfo> simGetDetections(const std::string& camera_name, ImageCaptureBase::ImageType image_type, const std::string& vehicle_name = "", bool external = false);

void simFlushPersistentMarkers();
Expand Down Expand Up @@ -152,8 +152,8 @@ namespace airlib
void simSetKinematics(const Kinematics::State& state, bool ignore_collision, const std::string& vehicle_name = "");
msr::airlib::Environment::State simGetGroundTruthEnvironment(const std::string& vehicle_name = "") const;
std::vector<std::string> simSwapTextures(const std::string& tags, int tex_id = 0, int component_id = 0, int material_id = 0);
bool simSetObjectMaterial(const std::string& object_name, const std::string& material_name);
bool simSetObjectMaterialFromTexture(const std::string& object_name, const std::string& texture_path);
bool simSetObjectMaterial(const std::string& object_name, const std::string& material_name, const int component_id = 0);
bool simSetObjectMaterialFromTexture(const std::string& object_name, const std::string& texture_path, const int component_id = 0);

// Recording APIs
void startRecording();
Expand Down
4 changes: 2 additions & 2 deletions AirLib/include/api/WorldSimApiBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ namespace airlib
virtual bool setObjectScale(const std::string& object_name, const Vector3r& scale) = 0;
virtual std::unique_ptr<std::vector<std::string>> swapTextures(const std::string& tag, int tex_id = 0, int component_id = 0, int material_id = 0) = 0;
virtual bool setLightIntensity(const std::string& light_name, float intensity) = 0;
virtual bool setObjectMaterial(const std::string& object_name, const std::string& material_name) = 0;
virtual bool setObjectMaterialFromTexture(const std::string& object_name, const std::string& texture_path) = 0;
virtual bool setObjectMaterial(const std::string& object_name, const std::string& material_name, const int component_id = 0) = 0;
virtual bool setObjectMaterialFromTexture(const std::string& object_name, const std::string& texture_path, const int component_id = 0) = 0;
virtual vector<MeshPositionVertexBuffersResponse> getMeshPositionVertexBuffers() const = 0;

virtual bool createVoxelGrid(const Vector3r& position, const int& x_size, const int& y_size, const int& z_size, const float& res, const std::string& output_file) = 0;
Expand Down
Loading