Skip to content

Commit

Permalink
Merge branch 'ign-sensors6' into aditya/named_frames_imu
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapande-1995 authored Mar 3, 2022
2 parents 3f42ba6 + 2614d1d commit dd33604
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ jobs:
- name: Compile and test
id: ci
uses: ignition-tooling/action-ignition-ci@focal
with:
cpplint-enabled: true
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ if (MSVC)
# TODO(louise) Remove this once warnings are suppressed in ign-rendering
set_source_files_properties(
${rendering_sources}
SegmentationCameraSensor.cc
COMPILE_FLAGS "/wd4251"
)
endif()
Expand Down
4 changes: 2 additions & 2 deletions test/integration/air_pressure.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ TEST_F(AirPressureSensorTest, SensorReadings)
EXPECT_DOUBLE_EQ(vertRef, sensor->ReferenceAltitude());
EXPECT_DOUBLE_EQ(vertRef, sensorNoise->ReferenceAltitude());

sensor->SetPose(sensorNoise->Pose() +
ignition::math::Pose3d(0, 0, 1.5, 0, 0, 0));
sensor->SetPose(
ignition::math::Pose3d(0, 0, 1.5, 0, 0, 0) * sensorNoise->Pose());

// verify msg received on the topic
WaitForMessageTestHelper<ignition::msgs::FluidPressure> msgHelper(topic);
Expand Down

0 comments on commit dd33604

Please sign in to comment.