cleanflight | Clean-code version of the baseflight flight controller firmware

 by   cleanflight C Version: CLFL_v4.2.0-RC3 License: GPL-3.0

kandi X-RAY | cleanflight Summary

kandi X-RAY | cleanflight Summary

cleanflight is a C library typically used in Internet of Things (IoT), Arduino applications. cleanflight has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. You can download it from GitHub.

Cleanflight is flight controller software for multi-rotor and fixed wings. The Cleanflight project, and related projects are used on the majority of flight controllers used around the world. There is no other software used on as many flight-controllers!.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              cleanflight has a medium active ecosystem.
              It has 2492 star(s) with 1384 fork(s). There are 313 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 1734 have been closed. On average issues are closed in 509 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of cleanflight is CLFL_v4.2.0-RC3

            kandi-Quality Quality

              cleanflight has no bugs reported.

            kandi-Security Security

              cleanflight has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              cleanflight is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              cleanflight releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cleanflight
            Get all kandi verified functions for this library.

            cleanflight Key Features

            No Key Features are available at this moment for cleanflight.

            cleanflight Examples and Code Snippets

            No Code Snippets are available at this moment for cleanflight.

            Community Discussions

            QUESTION

            Interpreting keypresses sent to raspberry-pi through uv4l-webrtc datachannel
            Asked 2017-Jul-28 at 18:10

            I apologize if this doesn't make sense since I'm still a newbie with using a raspberry pi and this is my first time posting on StackOverflow.

            I am making a web app that lets me stream video to and from a raspberry pi while also letting me send keycodes. The sent keycodes would ultimately let me control servos on a drone. After scouring the internet, I figured that the simplest way to stream 2-way video is by using uv4l so I have it installed along with uv4l-webrtc on my raspberry pi. I hooked up some GPIO pins to a flight controller and I am using pigpio to send PWM signals to it, which I then monitor using CleanFlight.

            Right now, I can manipulate with keypresses the roll, pitch, etc. of the flight controller using a python script if I access the pi remotely using VNC, but I would like to ultimately be able to do this through my custom web page that is being served by the uv4l-server. I am trying to use the WebRTC Data Channels, but I'm having some trouble understanding what I would need to do to recognize the messages sent through the data channels. I know that the data channels are opened when a video call is initiated and I've tried the test in this link to see if I can indeed send keycodes to the pi (and I can).

            My problem right now is that I have no idea where those sent messages go or how I can get them so I can incorporate them into my python script. Would I need to make a server that would listen for the keycodes being sent to the pi?

            tl;dr I have a python script on a raspberry pi to control servos on a flight controller using keypresses and a separate webpage that streams video using WebRTC, but I have no idea how to combine them together using WebRTC data channels.

            Thanks to @adminkiam for the solution. Here's a version of the python script that now listens to the socket. It's essentially a variation of this code by the person who made pigpio:

            ...

            ANSWER

            Answered 2017-Jul-28 at 12:27

            When a WebRTC data channel is created between UV4L and the other WebRTC peer (i.e. a browser, Janus Gateway, etc...), UV4L creates a full-duplex Unix Domain Socket (/tmp/uv4l.socket by default) from/to which you can receive/send messages on the Raspberry Pi. Your python script should just open, listen and read to the socket for the incoming messages from the e.g. web application and/or write the messages to the same socket for the web app to receive them. An example doing this in C++ is under the link to the tutorial you pointed out in your question:

            Source https://stackoverflow.com/questions/45364877

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install cleanflight

            Cleanflight documentation - https://github.com/cleanflight/cleanflight/tree/master/docs

            Support

            Cleanflight documentation - https://github.com/cleanflight/cleanflight/tree/master/docs
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/cleanflight/cleanflight.git

          • CLI

            gh repo clone cleanflight/cleanflight

          • sshUrl

            git@github.com:cleanflight/cleanflight.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link