devboard | interactive visual feedback tool for developing user | Frontend Framework library
kandi X-RAY | devboard Summary
kandi X-RAY | devboard Summary
Devboard aims to provide an interactive visual feedback tool for developing user interface code. It's a bit like a development whiteboard. It is a port of the ClojureScript project Devcards. Devboard builds on top of hot reloading tooling to provide a framework-like API for displaying and running small portions of your application at a time.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Process arguments
- Update route
- Define a new namespace
- ensure the Prism and adds it to the highlighted style .
- template render helper
- gets the root DOM
- Define a source link to the destination
- Checks whether a given atom is a valid Atom
- Render the root element
- Creates a set of property .
devboard Key Features
devboard Examples and Code Snippets
Community Discussions
Trending Discussions on devboard
QUESTION
In my project I need to measure distances up to 3-4m, so I am using a HC-SR04P sensor hooked up to an ESP32 dev board.
The code is written without any third-party library (was inspired by a very simple HC-SR04 arduino library, though), in plain C, within a project created from the ESP32 eclipse IDF plugin; no extra libraries or arduino code; just the RTOS.
Everything works fine when the device boots and measurements are pretty accurate, but after a while (can't say exactly what triggers this), the sensor/devboard circuit (can't say which) starts behaving strangely : after the TRIG pulse, the ECHO pin does not go HIGH within a reasonable 1s timeout, and no measurement is performed.
Once this happens, no new measurement is performed again unless reboot/power on; it looks like something happens and somehow there is a faulty state either for the sensor or within the communication code.
A couple of observations :
- sensor is the right version to be powered at 3.3V.
- HC-SR04P uses GPIO2 and GPIO4 for TRIG and ECHO.
- measurements are not required to be frequent, hence the 30s timer for the measurement task.
- at power on, everything works fine.
- after reset by dev board micro-switch, everything works correctly again.
- when timeout occurs, re-init the sensor (settings up GPIOs, etc.), but nothing happens; still timeouts.
For reference, the timing function is below (the HCSR04_Info struct holds only pin and measurement data); it is called from a timed task every 30s.
...ANSWER
Answered 2021-Jan-18 at 21:27This does not generate a pulse of 10 ms; it's 10 us. Probably takes your device into an undetermined state eventually.
QUESTION
I've been reading a lot about Jetson Nano and Google Coral Devboard and in most documentation and papers i've read, the inferencing and deployment are done using prebuilt convolutional neural networks such as AlexNet, Inception, MobileNet and other neural networks used for image classification. From what i understand these microcomputers require that the neural network is converted to a tensorflow model or any framework they accept to perform inferencing of the model.
What i would like to know is: for both Jetson Nano and Google Coral Devboard, can i have my own convolutional neural network that has nothing to do with those convolutional neural networks examplified in the documentation and deploy them to those boards?
...ANSWER
Answered 2020-Dec-23 at 16:12Yes. You can train your own convolutional neural network, even outside Jetson Nano, and save the weights (matrices of floats) inside your Jetson Nano to do the inference. So, inside Jetson Nano, you will only do matrix multiplication to classify whatever you want. Of course, you'll have to duplicate your real model inside the device so that you can use the saved weights to do inference.
QUESTION
I have been using the Google Coral Devboard in a project for a while.
Today, I am surprised to see that using ssh does not work. Something went wrong somewhere.
ssh mendel@192.168.0.111
gives
ssh: connect to host 192.168.0.111 port 22: Connection refused
mdt devices
does find the device though. mdt shell
does not work due to the inherent failure of ssh connection.
I have checked the authorized_keys
file and my own private keys and they match.
I can only connect to the devboard using Serial communication.
I wish to reflash the entire thing and reset the board. However, after using sudo reboot-bootloader
, fastboot devices
sees nothing.
I have tried 4 USB C cables. I have tried using fastboot 0
from the Serial console immediately instead of letting the board boot up. Nothing shows up.
I tried using Windows 10 and WSL yet nothing is showing up.
I just want to either fix the ssh connection issue or simply factory reset the entire thing.
...ANSWER
Answered 2020-Oct-19 at 13:40That' odd, it maybe because the board disconnection from the network. For the ssh/mdt issue, can you share this outputs:
QUESTION
I am using the Coral devboard and the Jetson T2 devboard. In order to send a model to them, the model has to have the extension .pb
Is there a link where the models already have a .pb extension? Currently I am using this link: TF_slim
All the models have the extension .ckpt and that is all. There is no .meta, or anything else. I do not know how to convert to .pb.
I am working in Colab. This is my code:
...ANSWER
Answered 2020-Sep-07 at 17:08There seems to be an error in this URL in tensorflow/models. I submitted a PR tensorflow/models#9207.
QUESTION
I cannot connect to my coral devboard via mdt shell
over OTG USB-C port after following along here. Initially, I had the mendel 'public device cowardly refusal' issue as outlined in an q&answer here. I used serial console and nmtui
to get the devboard on my LAN and I fixed that checking code on my host to match my LAN arrangement (172 instead of 192 block) and that worked to start connection via mdt shell
.
Now, when connecting I get the below error about only allowing a single ssh key. I have ONLY connected via screen
in serial console since I initially flashed the board. No one has ever ssh'd.
ANSWER
Answered 2020-Aug-13 at 15:40can you try using ssh instead of mdt (mdt is just wrapper around ssh)? I believe this is a Catalina problem, Linux and older versions of Mac also works fine, I believe it has to do with their libusb changes. This issue has been reported earlier, here is a quick guide on using ssh:
Create a id_rsa key on your mac with:
QUESTION
I have used "paramiko" to connect from my PC to a devboard, and execute a script. Then I am saving the results of this script in a list (output). I want to extract some values of the list and insert them into Elasticsearch. I have done it manually with the first result of the list. But how can I automate for the rest of the values? Do I need "regex"? Please give me some clues.
Thank you
THIS IS PART OF THE CODE THAT CONNECTS TO THE DEVBOARD, EXECUTES A SCRIPT AND RETRIEVES A LIST=output
...ANSWER
Answered 2020-Jun-18 at 22:40- Remove the line breaks
- Split the text by a common delimiter (
----INFERENCE TIME----
would be a good start I think) - Extract the keys & values using for example
r'(\w+:)\s(.*)'
or a named lookbehind such asr'(?<=Note: ).*'
etc - Parse the numeric values (time, score, temperature, ...) -- you'll thank me later ;)
- Extend the
Model
mapping w/ a keyword datatype -- otherwise the dot will be tokenized away and you'll wonder why you can't search for exact matches nor aggregate on it - Prepare the objects that you'll want to sync
Bulk
upload to ElasticSearch
QUESTION
I have a devboard (Google Coral). There are some scripts in there to perform image classification and object detection.
I want the results of those scripts (model, inference_time, score, image, etc) to be sent/indexed into Elasticsearch.
Also, there is a camera (came with the board) that I can use and take photos (there is a script for it too).
My approach so far has been:
I wrote a script using Paramiko to connect to the devboard. (It is in my PC)
Still, using Paramiko, I executed the scripts which are inside the devboard (turn on camera, wait until spacebar to take photo, make classification, send results to a server)
The results are indexed into Elasticsearch (it is installed in my PC).
I would like to know if there is a better way to do what I have done. What confuses me is that I have to connect to the board to execute a script (takes photo and performs classification). But I also have other script (in my PC) which connects to the devboard to give instructions, collect results and index them into Elasticsearch. Should I have put everything inside the devboard? Should I have used a serial communication? Should I have used subprocesses?
@JGK
...ANSWER
Answered 2020-Jun-19 at 17:00I guess this is more of a design questions than a technical issue :)
I'm not sure if this approach will works for you, but if I was to design this:
1) On the Dev Board, design an http server that is constantly ready to take a GET/image request. If the request is received, take a picture, and return the image + classification results to the client. Here are a couple of similar projects (disclaimer, one is mine): [restor, snowzach/doods, ...]
Note that those 2 servers were designed for different things than what you're trying to accomplish. They are expecting the client to send the image and then return the result. While in your case, your client is expecting both image and result from the server.
2) On the client just send a request, and your server should send back the image + results.
3) On the client side, since you already have the result, send that to elastic search.
QUESTION
This question is related to this one: How to use sockets to send user and password to a devboard using ssh
How can I put CODE A into a function? Explain me what am I doing wrong.
CODE A
...ANSWER
Answered 2020-Jun-17 at 19:47Your first change should be to return ssh:
QUESTION
This question is related to this other one: How to use sockets to send user and password to a devboard using ssh
I want to connect to the devboard in order to execute a script. All the outputs of that script I want to send to a Elasticsearch machine.
I can connect to the devboard (see IMAGE below) using my laptop which happens to have Elasticsearch installed. But, when I want to send data to the devboard, the script shows nothing. What I am doing is:
- As soon as you find mendel@undefined-eft:~$ , send the command: cd coral/tflite/python/examples/classification/Auto_benchmark\n
What am I doing wrong?
...ANSWER
Answered 2020-Jun-17 at 06:12I guess you have to change the
QUESTION
I am using sockets to connect to Coral devboard. I want to connect to the devboard and execute a classification script. Whenever I execute my code (lines below) , it shows "In [3]:" for around 10 seconds as if waiting for something. Then "In [4]" appears. What is it happening? I already sent the user and password.
This is my code:
...ANSWER
Answered 2020-Jun-16 at 19:03I solved it using "paramiko".
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install devboard
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page