Skip to content

Commit

Permalink
GITBOOK-74: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
aerial-robotics-iitk-bot authored and gitbook-bot committed Jul 3, 2023
1 parent 24a9ef5 commit f683dae
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
* [ROS](https://docs.google.com/presentation/d/1lUvV41uaQqdtztrlgkrif68w\_EaiigFQHx-20KBLS0M/edit#slide=id.g1e277ae309\_0\_20)
* [Rotorcraft](https://docs.google.com/presentation/d/1TMbI3keAjQU01uiV6TkL2K\_ZnNua6E8ecNHpH-NTFwI/edit#slide=id.p)
* [Software Training](https://github.com/RoboJackets/software-training)
* [Connecting lidar-lite through I2C](connecting-lidar-lite-through-i2c.md)
* [Control System](control-system/README.md)
* [Model Predictive Control](control-system/model-predictive-control/README.md)
* [System Identification](control-system/model-predictive-control/system-identification.md)
Expand All @@ -81,6 +80,8 @@
* [Machine Learning](machine-learning/README.md)
* [Datasets](machine-learning/datasets.md)
* [Hardware Integration](hardware-integration/README.md)
* [Integration of Sensors with PixHawk](hardware-integration/integration-of-sensors-with-pixhawk/README.md)
* [Connecting Lidar-lite through I2C](hardware-integration/integration-of-sensors-with-pixhawk/connecting-lidar-lite-through-i2c.md)
* [Miscellaneous](hardware-integration/miscellaneous.md)
* [Connections](hardware-integration/connections.md)
* [Resources](resources/README.md)
Expand Down
10 changes: 10 additions & 0 deletions hardware-integration/integration-of-sensors-with-pixhawk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Integration of Sensors with PixHawk

### Lidar-lite V3

{% content-ref url="connecting-lidar-lite-through-i2c.md" %}
[connecting-lidar-lite-through-i2c.md](connecting-lidar-lite-through-i2c.md)
{% endcontent-ref %}



Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Connecting lidar-lite through I2C

## Step :1 

Connect Lidar to the Pixwahk by 6 pin connector to the I2C port by the 3 pin connector .

## Step :2

Connect the Pixhawk to the laptop and go to vehicle setup -> parameters and set the following parameters:-



* [RNGFND1\_TYPE](https://ardupilot.org/copter/docs/parameters.html#rngfnd1-type) = 3 “LidarLite-I2c”
* [RNGFND1\_MAX\_CM](https://ardupilot.org/copter/docs/parameters.html#rngfnd1-max-cm) = 3500 (the maximum range the lidar can accurately report in cm)
* [RNGFND1\_MIN\_CM](https://ardupilot.org/copter/docs/parameters.html#rngfnd1-max-cm) = 20 (the mininum range the lidar can accurately report in cm)

## Step :3

To check if the lidar is working back to home page and go to Analyze tools ->Mavlink inspector -> DISTANCE\_SENSOR and if the frequency is non-zero and the current distance is changing upon moving the lidar means the lidar is working properly.

##  

####

0 comments on commit f683dae

Please sign in to comment.