Posts

Showing posts from December, 2023

Interfacing RDS01 CAN with Cube Orange Flight Controller Using Ardupilot Flight Stack

 RDS01-CAN can be interfaced with Cube Orange CAN port or any flight controller which has Ardupilot firmware flashed and having CAN interface. We will configure multiple RDS01 CAN for Obstacle Avoidance and Altitude Hold. Support for CAN protocol of RDS01 has been added to Ardupilot firmwares for the purpose of Altitude Hold (however it can also be used for obstacle avoidance), starting from ArduCopter V4.0.3 Dev version. Radar is used on drones in those application areas where LiDAR can’t be used. note: This document is applicable to Cube Orange and Cube Black flight controllers. The interfaces available that can be used to connect RDS01-CAN are the same on both flight controllers. There are two CAN ports which can be used to interface devices having support for CAN communication . note : controller used was Cube Orange flashed with ArduCopter V4.0.3 Dev version. 1. RDS01 CAN Related Information: It should be noted that RDS01 has two different hardware versions for CAN and UART ...

Commands for Making Secure Firmware along with bootloader

Prerequisites : $ sudo apt-get install git $ sudo apt-get install gitk git-gui $ git clone https://github.com/Hwurzburg/ardupilot    / / ye wala sbse jyada sahi h $ cd ardupilot $ git submodule update -- init --recursive git clone --recurse-submodules https://github.com/your-github-userid/ardupilot cd ardupilot git config --global url."https://".insteadOf git:// Tools/environment_install/install-prereqs-ubuntu.sh -y . ~/.profile then LogIn and Log Out  , from main kali Linux to make all changes effective.........   From here we are starting the real Work Step 1.)  git clone https://github.com/ArduPilot/ardupilot.git                                 or  manually download it, paste it to the location               1.  create a key-pair for signing         Step 2.) $ git checkout -b secure-firmware Ste...

How make Signed Firmware from official Ardupilot using Cryptography

  Secure Boot Support This involves installing a bootloader with up to 10 public keys included and signing the ArduPilot vehicle firmware with one secret key. The bootloader will refuse to boot the firmware if the signature on the firmware doesn't match any of the public keys in the bootloader. Generating Keys To generate a public/private key pair, run the following command:     python3 -m pip install pymonocypher   Tools/scripts/signing/generate_keys.py NAME That will create two files: NAME_private_key.dat NAME_public_key.dat The generated private key should be kept in a secure location. The public key will be used to create a secure bootloader that will only accept firmwares signed with one of the public keys in the bootloader. Building secure bootloader To build a secure bootloader run this command:   Tools/scripts/build_bootloaders.py BOARDNAME --signing-key=NAME_public_key.dat That will update the bootloader in Tools/bootloaders/BOARDNAME_bl.bin to enabl...

Installing Qt in Kali Linux part - 1 | installing mlocate for searching flies

  What is the mlocate command in Linux? mlocate is  a merging locate and database package . "Merging" means updatedb reuses the existing database to avoid re-reading most of the file system. This makes the database update faster and does not tax the system caches. mlocate can index several file systems including network file systems for network shares. !.) installing " mlocate " packages         sudo apt-get update sudo apt-get install mlocate                      or      git clone  https://github.com/msekletar/mlocate.git Step 2. Update the search database            sudo updatedb Step 3.)Update        sudo yum -y update        sudo yum -y install mlocate Step 4.) Update SearchDB        sudo updatedb      Install Qt Creator on Linux 1) Install prerequisites sudo apt-get...