Skip to content

Commit

Permalink
Set default orientation back to front facing
Browse files Browse the repository at this point in the history
  • Loading branch information
mahimayoga committed Dec 13, 2024
1 parent 01e2242 commit 16d0810
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,9 @@ extern "C" __EXPORT int lightware_laser_i2c_main(int argc, char *argv[])
BusCLIArguments cli{true, false};
// cli.rotation = (Rotation)distance_sensor_s::ROTATION_DOWNWARD_FACING;
// cli.rotation = (Rotation)distance_sensor_s::ROTATION_YAW_45;
cli.rotation = (Rotation)distance_sensor_s::ROTATION_RIGHT_FACING;
// cli.rotation = (Rotation)distance_sensor_s::ROTATION_FORWARD_FACING;
// cli.rotation = (Rotation)distance_sensor_s::ROTATION_RIGHT_FACING;
// cli.rotation = (Rotation)distance_sensor_s::ROTATION_LEFT_FACING;
cli.rotation = (Rotation)distance_sensor_s::ROTATION_FORWARD_FACING;
// cli.rotation = (Rotation)distance_sensor_s::ROTATION_CUSTOM;
cli.default_i2c_frequency = 400000;
cli.i2c_address = LIGHTWARE_LASER_BASEADDR;
Expand Down

0 comments on commit 16d0810

Please sign in to comment.