ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

DigitalSky No Permission No Takeoff implementation for Indian Regulation

Open bugobliterator opened this issue 4 years ago • 2 comments

NPNT Implementation for Ardupilot

Context

DGCA (Directorate General of Civil Aviation) of India has released a document called RPAS Guidance Manual . Per this document to legally fly any drone weighing 250gms or above in India, one is required to fly using a Registered Flight Module. This PR implements the features required for the same.

This PR is currently being developed using CubeOrange. Right now at least STM32H7 based hardware is required.

Features Implemented:

  • Signed Log generation
  • Verification and decoding of Permission Artefact. Permission Artefact is a signed xml supplied by the permissioning authority to allow flights under predefined condition.

Features to be implemented:

  • [ ] autotest and CI Tests for each component
  • [ ] script for signing the firmware file separately.

Reporting Issues

  • We have a channel regulatory on ardupilot discord server , please raise your queries there.
  • Issues can be raised in this thread itself.

Contributing

If one is interested in contributing to the open source effort to make Drone Compliance accessible to people in India, there are different ways they can contribute.

If you have software skills to provide, you can request to join slack group here https://aerobridge.in and contribute to the development. Aerobridge is an opensource effort led by https://github.com/openskies-sh

We are also trying to collect a compendium of knowledge on how one can get drone certified in India, since NPNT is just one component. If one has gone through the entire process or is in the process for getting there drone certified we would love to hear from you, you can share the details via above mentioned channels.

bugobliterator avatar Feb 25 '21 09:02 bugobliterator

Hey @bugobliterator, here's your first bug :sweat_smile:

On setting a pin that is out of range, I get a num tries exceeded log, it should probably spit out an: "Invalid pin! Please use range [1000, 1000000]" kind of log

RTL> setpin 666
RTL> APM: KeyManager: Num Tries Exceeded, You have been locked out!

botmayank avatar Mar 04 '21 18:03 botmayank

Hi All, myself and others in the Aerobridge community have created a security review and risk matrix on this PR: https://docs.google.com/document/d/1wFABoRQUBzJyoVyHStDZAD3WyrqYb2pTzcUr6NSKPxU/edit?usp=sharing

I and other reviewers are not security experts but have done this to the best of our knowledge / understanding, knowing that it may be incorrect. Requesting others in the Ardupilot community to review and comment on the document (and enlighten / correct us).

hrishiballal avatar Apr 20 '21 10:04 hrishiballal