Skip to content

Error on cli.getImage() #10

@9and3

Description

@9and3

Hello!

I am sorry for posting again.. I just would like to understand every small wrinkle of the nimbus 3d software in order to use at its best. I really do think this is a wonderful piece of sensor. It is really allowing us to push our researches far, so thanks for the Nimbus 3d once again!

Having said that, I got often a rather boring error when I try to fetch the image data from the client with

header, (ampl, radial, x, y, z, conf) = cli.getImage(invalidAsNan=True)

The terminal says this:

The coroutine raised an exception:
Traceback (most recent call last):
  File "/home/as/.local/lib/python3.8/site-packages/nimbusPython/NimbusClient.py", line 223, in _pollQueue
    image = await asyncio.wait_for(self._imageQueue.get(), timeout=self._rcvTimeout)
  File "/usr/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError

It never occurs once the raspberrypi andd nimbus are freshly started after a reboot. But if I stop the camera and start again, either I got this message, either the point cloud is of much poorer quality than the one after a fresh reboot of the raspberrypi. See the images down below to understand what I mean:

Poor-quality point cloud:

Screenshot from 2021-09-25 22-58-40

High-quality point cloud (firsst launch after reaspberrypi reboot):

Screenshot from 2021-09-25 23-04-03

Once again (hope for the last time:) ), many thanks for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions