Community
cancel
Showing results for 
Search instead for 
Did you mean: 
FDAlt
New Contributor I
1,130 Views

how to read internal sensors' values?

Jump to solution

Good evening,

I am quite new with intel-aero and I am trying to read the values generated by onboard sensors.

Is there any cheatsheet,guide or tutorial to develop some code in python to read those sensors' values?

Thank you very much for your support

Francesco

Tags (3)
0 Kudos

Accepted Solutions
idata
Community Manager
59 Views

Hello francesco.dalterio,

 

Thank you for your interest in the Intel Aero Compute Board and welcome.

In regards to your query about reading the values of the onboard sensors, I would like to share a few information and useful links:

The first suggestion would be to look at the Hardware Usage and Features available here:

https://www.intel.com/content/www/us/en/support/articles/000023602/drones/development-drones.html https://www.intel.com/content/www/us/en/support/articles/000023602/drones/development-drones.html

Full details on how to access each sensor can be found in the article "Onboard Sensors" available here: https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus# inertial-measurement-unit-imu-pressure-and-magnetometer-sensors https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus# inertial-measurement-unit-imu-pressure-and-magnetometer-sensors

A guide to autonomous drone programming in Python can be found here:

https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python

There are a number of API's that you can use in order to read sensor data by doing Python programming, the best tool and examples can be user through Dronekit and can be found here:

http://python.dronekit.io/about/index.html http://python.dronekit.io/about/index.html

Here is an example for the IMU : http://python.dronekit.io/examples/create_attribute.html?highlight=imu%20data http://python.dronekit.io/examples/create_attribute.html?highlight=imu%20data

I hope this information proves useful.

Best regards,

Casandra

View solution in original post

3 Replies
idata
Community Manager
60 Views

Hello francesco.dalterio,

 

Thank you for your interest in the Intel Aero Compute Board and welcome.

In regards to your query about reading the values of the onboard sensors, I would like to share a few information and useful links:

The first suggestion would be to look at the Hardware Usage and Features available here:

https://www.intel.com/content/www/us/en/support/articles/000023602/drones/development-drones.html https://www.intel.com/content/www/us/en/support/articles/000023602/drones/development-drones.html

Full details on how to access each sensor can be found in the article "Onboard Sensors" available here: https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus# inertial-measurement-unit-imu-pressure-and-magnetometer-sensors https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus# inertial-measurement-unit-imu-pressure-and-magnetometer-sensors

A guide to autonomous drone programming in Python can be found here:

https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python

There are a number of API's that you can use in order to read sensor data by doing Python programming, the best tool and examples can be user through Dronekit and can be found here:

http://python.dronekit.io/about/index.html http://python.dronekit.io/about/index.html

Here is an example for the IMU : http://python.dronekit.io/examples/create_attribute.html?highlight=imu%20data http://python.dronekit.io/examples/create_attribute.html?highlight=imu%20data

I hope this information proves useful.

Best regards,

Casandra

View solution in original post

idata
Community Manager
59 Views

Hello francesco.dalterio,

 

 

 

Was the information provided in my previous post helpful?

 

Is there anything else I can assist you with in this matter?

 

 

Best regards,

 

Casandra

 

FDAlt
New Contributor I
59 Views

Yes,thank you very much for your support, your help has been very useful.

I suggest to use dronekit library to read sensors, since it is vwell documented and there are many examples which are ready to use in real cases