Skip to content

Commit

Permalink
change scale to raw value for all D500 devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Jul 28, 2024
1 parent 3f8174b commit bb07df3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ds/d500/d500-motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ namespace librealsense

double d500_motion::get_gyro_default_scale() const
{
// D500 devices output physical data in 0.1 [deg/sec] units.
return 0.1;
// D500 outputs raw 16 bit register value, dynamic range +/-125 [deg/sec] --> 250/65536=0.003814697265625 [deg/sec/LSB]
return 0.003814697265625;
}

std::shared_ptr<synthetic_sensor> d500_motion::create_hid_device( std::shared_ptr<context> ctx,
Expand Down

0 comments on commit bb07df3

Please sign in to comment.