Giter Club home page Giter Club logo

cleanflight's People

Contributors

borisbstyle avatar chris-penny avatar dave-pitman avatar digitalentity avatar disq avatar echelon9 avatar fusterjj avatar hydra avatar johniebraaf avatar larryho5 avatar ledvinap avatar luggi avatar martinbudden avatar mj666 avatar nebbian avatar nighthawk32 avatar nzmichaelh avatar payne92 avatar pierre-a avatar pimvanpelt avatar pulsar256 avatar readerror67 avatar schugabe avatar steveamor avatar stone avatar thenickdude avatar tracernz avatar treymarc avatar tricoptery avatar trollcop avatar

Watchers

 avatar  avatar

cleanflight's Issues

Renaming command vtx to vtxaux

@sblakemore
This one is minor.
It may be a matter of taste, but the vtx command resembles to me something more broad and powerful(?) than aux switch definitions; like the serial command specifying device configuration.
I'm more comfortable with "vtxaux", but since the change causes compatibility problem for existing users of the singularity fc, I would leave the decision up to you.

Rename file io/vtx.[ch] to io/vtxrc.[ch]

@sblakemore
I saw your work on separation of device independent things in io and drivers directory, which was on my work list also. Upon doing so, you have created vtx.[ch] in both io and drivers directory.

Why don't we change the ones in io directory to vtxrc.[ch]? They avoid name collisions, and better express what is inside of them, imo.

It may also be nice to change function/object names in these files from vtxXXX() to vtxRcXXX() for more clarity.

Introduction of an compile time option VTXRC

@sblakemore
My initial use case was for micro builds where lots of people still use F1s in which space is a premium. For such targets, it would be nice to have an option to drop RC-based control and just use CLI variables to choose a TX frequency.

The option would be called VTXRC. Without VTXRC, init() will just call a VTX initialization function where the TX frequency is statically decided from vtx_{mode,band,channel,mhz}. With VTXRC, full RC-based control will be compiled in.

Use case discussion: Simultaneous hardware and software SPI?

@sblakemore
I understand that you have introduced function pointers and a container for the pointers vtx_t to handle entry points into device dependent functions.

While it is cool, I can't think of the use case in which hardware and software (bit-banged) SPI co-exists and the software selecting them dynamically upon initialization.

Some compile time option, say VTXSPI and VTXBB would suffice, imo.

Do you have a use case of simultaneous hardware and software SPI?

Power control

@sblakemore
Is there any pointer to publicly available bare vtx module with power control?

IIRC, I have seen standalone modules that switch between two power levels, but not the bare RF module.

I'm also interested in how we can power on/off the RF module. There's a PA control register in RTC6705, but manipulating bits in the register do nothing; there may be a correct sequence?
An external facility such as solid state relay, or pololu 's -SHDN equivalent in the regulator circuit?

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.