Code Monkey home page Code Monkey logo

lepton3_bbb's Introduction

Hi there 👋

This is my personal Github repository where you can find many past projects I worked on and all the projects that I'm facing currently.

You can follow my works on my social channels: Blog - Instagram - LinkedIn - Facebook

I'm proudly part of the 🍕 Pizza Robotics 🤖 robotics enthusiast Italian group.

Myzhar's GitHub stats

lepton3_bbb's People

Contributors

myzhar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lepton3_bbb's Issues

SDK linking issue

It seems there is some kind of regarding relocatable code and the LEPTON_SDK.a library.

[100%] Linking CXX executable opencv_demo
/usr/bin/ld: ../grabber_lib/Lepton_SDK/lib/LEPTON_SDK.a(bbb_I2C.o): relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../grabber_lib/Lepton_SDK/lib/LEPTON_SDK.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
opencv_demo/CMakeFiles/opencv_demo.dir/build.make:96: recipe for target 'opencv_demo/opencv_demo' failed

Add RGB mode

Change default 14 bit RAW mode to RGB888 to get coloured images

  1. Disable Radiometry
  2. Enable AGC
  3. Change 14bit to RGB888
  4. Select LUT

Documentation:

  • FLIR LEPTON® Software IDD pg 85, 93, 72-73
  • FLIR LEPTON® 3 Long Wave Infrared (LWIR) Datasheet pg 30-47

Useful commands:

LEP_GetOemVideoOutputFormat ()
LEP_SetOemVideoOutputFormat ()
LEP_GetAgcEnableState()
LEP_SetAgcEnableState()
LEP_GetVidPcolorLut()
LEP_SetVidPcolorLut()

Question about building project

Hi, I try to implement your project on my new BBBlack.

But, I have question about which OS you use debian or ubuntu?, and how to install OpenCV currently?

Add Telemetry mode

Use the command LEP_ SetSysTelemetryEnableState() from Lepton SDK to enable telemetry and to check the status of the sensor.

Documentation:

  • FLIR LEPTON® Software IDD pg 47-48
  • FLIR LEPTON® 3 Long Wave Infrared (LWIR) Datasheet pg 23-25, 30-47

Useful commands:

LEP_ GetSysTelemetryEnableState()
LEP_ SetSysTelemetryEnableState()
LEP_ GetSysTelemetryLocation()
LEP_ SetSysTelemetryLocation()

Questions about opencv_demo

Hi Walter,

Thank you for sharing your awesome code.
After compiling the code nd running "opencv_demo 1" I receive these results and I have no idea what causes this issue.
OpenCV demo for Lepton3 on BeagleBoard Blue
Debug level: 1

  • Radiometry disabled
  • AGC enabled
  • RGB enabled
  • Gain mode: High
    Grabber thread started ...
    Opening SPI device: /dev/spidev1.0
    SPI mode: 3
    SPI bits per word: 8
    SPI max speed: 16000000
    VoSPI segment acquire freq: 166667 hz
    Wrong Packet ID for TTT in segment
    .
    .
    .

and the result of running "opencv_demo 2" is:
OpenCV demo for Lepton3 on BeagleBoard Blue
Debug level: 2

  • Radiometry disabled
  • AGC enabled
  • RGB enabled
  • Gain mode: High
    Grabber thread started ...
    Opening SPI device: /dev/spidev1.0
    SPI mode: 3
    SPI bits per word: 8
    SPI max speed: 16000000
    SPI fd: 14

Thread period: 6 usec - VoSPI Available: -2147483648 usec
VoSPI segment acquire freq: 166667 hz
{0} Wrong Packet ID for TTT in segment
VoSPI segment read time 3502 usec
VoSPI segment check time 2 usec

Thread period: 6928 usec - VoSPI Available: -2147483648 usec
VoSPI segment acquire freq: 144.342 hz
{0} Wrong Packet ID for TTT in segment
VoSPI segment read time 15155 usec
VoSPI segment check time 2 usec

I really appreciate if you can help to find out what causes the problem.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.