A place to talk about anything and everything Omega related
4205
Topics
22776
Posts
@Antony Again, like I mentioned in a previous post, it would be helpful if you gave some background and context on what you're doing.
Following the How to Ask for Help on this Forum guidelines when posting will lead to getting better help from the community.
Without context on whether you're, for example, trying to build your own firmware or trying to find Onion's released firmware, it's difficult to get to the bottom of the issue.
@Antony We use a uci-defaults script to set the hostname based on the mac address
See it here: https://github.com/OnionIoT/source/blob/openwrt-18.06/files/etc/uci-defaults/13_hostname
Go-to resource for frequently asked technical questions
54
Topics
109
Posts
@luz very interesting. Thank you for the contribution.
I did the same thing. But with a different logic.
Run the "master" board
every minute she try, by wifi, to connect to an omega-... connect on ssh (with key accept by default yes) without sshpass.
After a successful connection ssh she inject a script that downloads the .bin from a repository on the LAN and starts the sysupgrade.
(by wifi)
I tested it with 100pz in 2 houres, all automatic. I can create many masters... and do everything faster.
But my version is sh + python script
Onion Omega2+ is the best! €€€
@Electro the getUint16LittleEndian method is used for reading 16-bit integers from the Camera. It's used for reading the camera's configuration/settings. See this search for the getUint16LittleEndian method on the tau camera github repo for details of when it's used.
For your purposes of finding the closest point in the frame, you should look at the readFrame method. It will return a Frame object with distance/depth. See the related documentation entry for more info.
You can see the readFrame method in action, as well as how OpenCV is used to render pictures using the data in the example programs.
Enjoy!