Skip to content

Commit

Permalink
Lanbao driver: correct rangefinder type to IR
Browse files Browse the repository at this point in the history
  • Loading branch information
MaEtUgR authored and bkueng committed Feb 9, 2024
1 parent 7fdb5ef commit b355c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/distance_sensor/cm8jl65/CM8JL65.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ CM8JL65::CM8JL65(const char *port, uint8_t rotation) :
_px4_rangefinder.set_max_distance(7.9f); // Datasheet: 8.0m
_px4_rangefinder.set_fov(0.0488692f);
_px4_rangefinder.set_device_type(DRV_DIST_DEVTYPE_CM8JL65);
_px4_rangefinder.set_rangefinder_type(distance_sensor_s::MAV_DISTANCE_SENSOR_LASER);
_px4_rangefinder.set_rangefinder_type(distance_sensor_s::MAV_DISTANCE_SENSOR_INFRARED);
}

CM8JL65::~CM8JL65()
Expand Down

0 comments on commit b355c16

Please sign in to comment.