-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split generated crazyflie code into public header and private impleme…
…ntation
- Loading branch information
Showing
6 changed files
with
59 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
This file was autogenerate on 07/28/20 from the following Python config: | ||
from base import config, c_uint8, c_uint16 # type: ignore | ||
@config(name='camera', group='aideck_HIMAX', header="!CAM") | ||
class Camera: | ||
marginTop: c_uint16 | ||
marginRight: c_uint16 | ||
marginBottom: c_uint16 | ||
marginLeft: c_uint16 | ||
format: c_uint8 # noqa | ||
step: c_uint8 | ||
target_value: c_uint8 | ||
ae: c_uint8 | ||
fps: c_uint8 | ||
@config(name='stream', group='aideck_stream', header="!STR") | ||
class Stream: | ||
on: c_uint8 | ||
format: c_uint8 # noqa | ||
transport: c_uint8 | ||
*/ | ||
|
||
#define VERBOSE_RX | ||
#define VERBOSE_TX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{%- from "macros.j2" import typedef -%} | ||
/* | ||
This file was autogenerate on {{date}} from the following Python config: | ||
|
||
{{source | indent(2)}} | ||
*/ | ||
|
||
#define VERBOSE_RX | ||
#define VERBOSE_TX | ||
|
||
{%- for data_t in inputs %} | ||
// --- input {{data_t.name}} | ||
{{ typedef(data_t) }} | ||
// To be implemented | ||
void {{data_t.set_cb}}({{data_t.typename}} *); | ||
{% endfor %} |