Subscribing to camera service

Hey all,

I am attempting to subscribe to the camera service using the kivvy example camera app (or really any eventclient). When I run this, the feed is blank. I have not changed the code. I also am trying to run some of the other examples here and cannot seem to properly subscribe to any of the services using the eventClient. When I try the cameraClient, gpsClient, etc. (all pulled from the examples on the farm-ng-amiga/py/examples github) they all just sit and wait but never get any data. However, when I check the teleop app the camera feed displays just fine.

Do I need to start the service prior to subscribing to it? Is that what the teleop application does?

Any help is very much appreciated. Thanks in advance.

Here is what I have tried thus far:

  1. Running these clients on the brain (via ssh), running these clients on my local and specifying my device’s IP address in the service config file.
  2. Scanning the brain’s open ports to check which ports services may be running on (with which the few that responded to a TCP connect, none sent data when I subscribed with EventClient) - It is worth noting here that there were no responses on the ports that were indicated in the service config files to be the ports for the camera services.
  3. Pinging the oak cameras using the ping function in the settings of the brain app (which was successful)
  4. Pinging the oak cameras IP address directly while sshed into the brain (which was successful)

Hi Jake,

So, what I believe is wrong with it is that you are working with the Brain OS 2.3.1 examples, while your Brain is running Brain OS v3.0. the folder for those examples is at: GitHub - farm-ng/farm-ng-amiga-3.0

You will see that it is not well documented, and we are probably rolling that version back to 2.3.1, but reach me out at support@bonsairobotics.ai to have a quick talk on the pros and cons there and we can decide together which version is better suited for you application.

Hey Marcelo,

I reached out to the support email with a follow up on this question. Im very curious about the pros and cons of migrating.