Skip to content

Nanocockpit#156

Open
hmllr wants to merge 6 commits into
bitcraze:masterfrom
hmllr:nanocockpit
Open

Nanocockpit#156
hmllr wants to merge 6 commits into
bitcraze:masterfrom
hmllr:nanocockpit

Conversation

@hmllr

@hmllr hmllr commented May 27, 2026

Copy link
Copy Markdown
Contributor

To include the nanocockpit framework in the bitcraze infrastructure, the gap8 code and python streamer are needed and added here in an example

@gemenerik gemenerik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Couple of small comments.

Start a bash console inside your docker:
```sh
docker run --rm -it -v "${PWD}:/module/data/" -P -e "GAPY_OPENOCD_CABLE=interface/ftdi/olimex-arm-usb-tiny-h.cfg" --device-cgroup-rule="c 189:* rmw" -v /dev/bus:/dev/bus:ro -v /dev/serial:/dev/serial:ro bitcraze/aideck:3.8.1
/bin/bash -c "

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is newline so treated as separate command

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice if users can copy over as-is into their terminals


## Expected results

You can expect a framerate of ~30fps without, and ~60fps with disabling bidirectional CPX (change the CPX_SPI_BIDIRECTIONAL define in config.h for GAP8 and TODO (NINA changes?).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftover TODO. Are NINA changes required?

Install the viewer as a Python package (best you do this in a virtual environment with python 3.9):

```shell
$ pip install aideck_cpx_streamer

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove $ to make copyable into terminal for direct execution, couple more of those below

Suggested change
$ pip install aideck_cpx_streamer
pip install aideck_cpx_streamer

// Himax auto-exposure
// - 0: disabled
// - 1: enabled [default]
#define HIMAX_AE (0)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost my full image clipped white in mildly sunny Sweden with the current defaults, but it also seemed that enabling auto exposure did not fix this for me. Have you had any success with auto-exposure?

OK with merging as is as long as we point to this file, s.t. users can change manual exposure settings.


## Expected results

You can expect a framerate of ~30fps without, and ~60fps with disabling bidirectional CPX (change the CPX_SPI_BIDIRECTIONAL define in config.h for GAP8 and TODO (NINA changes?).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe config.h should be mentioned earlier on to make users aware that they can configure things there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants