Giter VIP home page Giter VIP logo

huskylensarduino's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

huskylensarduino's Issues

Platform IO Library Huskylens

Hello, I'm coming to you because I'm stuck due to the fact that your library on platform IO is not the same as the one on your repository.

An i wanted to know why?

Unknown problem around line 706.

When trying to compile an arduino sketch the following error is displayed.
In file included from C:\Users\Seth\Documents\Arduino\libraries\HUSKYLENS\examples\HUSKYLENS_I2C\HUSKYLENS_I2C.ino:22:0: C:\Users\Seth\Documents\Arduino\libraries\HUSKYLENS/HUSKYLENS.h: In member function 'bool HUSKYLENS::writeFirmwareVersion(String)': C:\Users\Seth\Documents\Arduino\libraries\HUSKYLENS/HUSKYLENS.h:706:43: error: variable-sized object 'data' may not be initialized uint8_t data[length + 2] = {length}; ^ exit status 1 Error compiling for board Arduino Due (Programming Port).
The problematic section appears to be at line 706 which is around here
bool writeFirmwareVersion(String version) { Protocol_t protocol; uint8_t length = version.length(); uint8_t data[length + 2] = {length}; version.toCharArray((char *)data + 1, length + 1); protocol.firmwareVersion.length = length + 1; protocol.firmwareVersion.data = data; protocolWriteRequestFirmwareVersion(protocol); return wait(COMMAND_RETURN_OK); }

Arduino IDE says downloaded zip file does not contain a valid library

I downloaded the HUSKYLENSArduino-master library as a zip file. When I tried to include it in a sketch, the IDE said the zip file did not contain a valid library. I'm not clear on why this is.

I was able to extract the library files from the zip and just put the HUSKYLENS directory directly into my Arduino/libraries directory to get a workable library, but fixing this may make it easier for other developers to use the library.

HUSKYLENS library contains .vscode directory and json files

The HUSKYLENS library contains a .vscode subdirectory with json files that are particular to the author's system. This is likely to confuse other users of VSCode. I think the .vscode directory should be removed from the repository and not checked in, in general.

Huskylens compile error

When compiling the huskylens get started sketch or any of the other examples I get the following error.
I have tried the latest Arduino IDE and previous version, using windows 11, any help appreciated.

C:\Users\gmadd\OneDrive\Documents\Arduino\libraries\HUSKYLENS\HuskyLensProtocolCore.c: In function 'husky_lens_protocol_write_begin':
C:\Users\gmadd\OneDrive\Documents\Arduino\libraries\HUSKYLENS\HuskyLensProtocolCore.c:135:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types]
return &send_buffer;

ESP8266 Compatibility?

Great library, desperate to get working. Am trying to implement a wireless HUSKYLENS system using ESP8266 LOLIN(WEMOS) D1 R2 mini transmitting data via websockets to a central server.
Have searched for a complete list of compatible microcontrollers without much luck so far. Thank you

ERRORS ON COMPILE:
In file included from C:\Program Files (x86)\Arduino\libraries\HUSKYLENS\examples\HUSKYLENS_GET_STARED\HUSKYLENS_GET_STARED.ino:22:
C:\Program Files (x86)\Arduino\libraries\HUSKYLENS/HUSKYLENS.h: In member function 'bool HUSKYLENS::checkFirmwareVersion()':
C:\Program Files (x86)\Arduino\libraries\HUSKYLENS/HUSKYLENS.h:700:5: error: no return statement in function returning non-void [-Werror=return-type]
700 | }
| ^
cc1plus.exe: some warnings being treated as errors
Using library HUSKYLENS in folder: C:\Program Files (x86)\Arduino\libraries\HUSKYLENS (legacy)
Using library Wire at version 1.0 in folder: C:\Users\kiote\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\Wire
Using library SoftwareSerial at version 6.12.7 in folder: C:\Users\kiote\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SoftwareSerial
exit status 1
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.

HUSKYLENs Library

The library currently(4/4/21) does not work. I am not sure of the problem but I have added it to the Arduino library file folder and the examples do not show in the Arduino pull down. Also if you go to the examples folder and load the sketch the HUSKYLENS.h will not load.

Also using the SoftwareSerial.h file is sketchy to use in my opinion is problematic.
Has someone corrupted your files because they do not work for Arduino.

Please let me know because I am excited to start using your Husky board.

Regards,
Don

HUSKYLENS.h contains reference to SoftwareSerial.h that won't run on all boards

The SoftwareSerial library won't build or run on a lot of boards (eg., Adafruit ItsyBitsy M0 Express). Including SoftwareSerial.h in HUSKYLENS.h breaks the HuskyLens library for those boards.

I think it would be better to remove SoftwareSerial.h from the library header and include it directly in the example code, possibly with a comment that it should be removed or commented out if it doesn't fit a given board (I just use Serial1 for UART, or remove it entirely for use with I2C).

Object Recognition - Block Text

Hello.

Is there a way to get the text that appears in the upper left corner of a block when the HuskyLens is set to Object Tracking? So, for example, when the lens detects a Person get the text that says 'person' in the upper left. I looked through the API for HUSKYLENSResult but there wasn't a field for text.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.