Showing posts with label embedded. Show all posts
Showing posts with label embedded. Show all posts

Wednesday, August 31, 2022

Sensor fusion notes

  • Accelerometers and Gyroscopes - Sensor Fusion #1 - Phil's Lab #33

         ( https://www.youtube.com/watch?v=RZd6XDx5VXo&t=0s ) 


  • why sensor fusion 
    • overcome the limitation of the single sensor
    • indirect measurement 
    • eg. altitude measurement 
  • aircraft altitude measurement
    • roll, pitch, yaw
    • 3d accelerometer 
    • 3d gyroscope 
      • https://www.maximintegrated.com/en/design/technical-documents/app-notes/5/5830.html#:~:text=Accelerometer%20Versus%20Gyroscope&text=Accelerometers%20measure%20linear%20acceleration%20(specified,and%20d2%20will%20not%20change.
    •      Euler measurement, spherical coordinates
    • measure all acceleration along each body axis 
      • a = [ax , ay , az]
        • m/s^2
    • Accelerometer model


       in idle scenario 

     
  • the angle can be found from the linear measurement of acceleration











Wednesday, May 05, 2021

Lua programming youtube video

 

I found this play list for the lua programming on wireshark ,

https://www.youtube.com/watch?v=SthXihACMk8&list=PLedx6HwQji1O-SHD3_lCdSxMUT56d5y9Y 

There are 5 videos in this playlist and each video is around 10 minutes duration . There is accompanying git bucket link to the pcap file used and lua code generated. 

https://bitbucket.org/spandeygit/learn_lua/src/master/

As a introductory videos they are very good.

I think the guy who uploaded this video is a professor , he has some other video for dynamic programming

 

 

 

tcpdump example

 

The following provide good examples for capturing of the packets and editing the packets

https://www.tecmint.com/12-tcpdump-commands-a-network-sniffer-tool/ 

https://www.thegeekstuff.com/2010/08/tcpdump-command-examples/

https://www.thegeekstuff.com/2009/02/editcap-guide-11-examples-to-handle-network-packet-dumps-effectively/

xdpcap

 

Similar to "tcpdump" another tool is available for  capturing of the packet  "xdpcap" . This tool uses the eBPF engine to filter the packet. 

 https://blog.cloudflare.com/xdpcap/  provide the details of the usecase and implementation of the tool.