HighCharts for Arduino platform - highcharts

Arduino programmer; I have a NANO33 programmed to read National Weather Service and Air Now AQI data and show it on a 16X2 LCD screen. I’m using HTTP and JSON to read and parse the received responses using C++. Now I want to display all the data using HighCharts. I see that HighCharts supports the Python platform; does it also support the Arduino?

You can find all information about available official and community wrappers at the following website: https://www.highcharts.com/blog/wrappers/ .
Take note that Highcharts is a JavaScript library based on SVG rendering, dedicated to displaying graphs in a browser. You can also generate raster and vector images using an export module (https://www.highcharts.com/docs/export-module/export-module-overview).
Perhaps the solution would be converting chart images to Arduino array using some LCD Image Converter.

Related

How to generate ".svo" file from rosbag for ZED SDK

I would like to generate a point cloud from stereo videos using the ZED SDK from Stereolabs.
What I have now is some rosbags with left and right images (and other data from different sensors).
My problem comes when I extract the images and I create the videos from them, what I get are the videos in some format (e.g. .mp4) using ffmpeg, but the ZED SDK needs a .svo format, and I don't know how to generate it.
Does it exist some way to obtain ".svo" videos from rosbags?
Also, I would like to ask, (once I get the .svo files) how could I get the point cloud using the SDK if I am not able to use a graphic interface? I am working from a DGX workstation by using ROS (Melodic and Ubuntu 18.04) in Docker and I am not able to make rviz and any graphic tool to work inside the Docker image, so I think I should do the point cloud generation "automated", but I don't know how.
I have to say that this is my first project using ROS, ZED SDK and Docker, so that's why I am asking this (maybe) basics questions.
Thank you in advance.
You can't. The .svo file format is a propriety file format that can only be recorded to by using a ZED and their SDK (or wrapper), can only be read by their SDK/wrapper, and only be exported by their SDK/wrapper.
To provide some helpful direction, I suggest that all functionality & processing you would like to get out of the images, by processing with or making use of the SDK features, can be done with open source 3rd party trusted community software projects. Examples include OpenCV (which bundles many other AI/DNN object detection or position estimation or 3D world reconstruction algorithms), PCL, or their wrappers in ROS, or other excellent algorithms whose chief API and reference is their ROS node.

A free sample web app for drawing GeoJSON

I am trying to figure out how much time can it take to develop a sample web app that loads maps in GeoJSON format from the server and draws them in the browser with JavaScript.
I have no experience of working with GeoJSON or drawing geospatial data with JavaScript and my idea is that the starting point to develop the app can be a JavaScript component that draws GeoJSON as demonstrated here, where my GeoJSON looks like this.
If you use a tool like HERE XYZ Studio you upload GeoJSON data to style it, edit data in tabular form, etc. and can get the embed code to publish it in your web app.
There are a few tutorials, in particular the one that shows you step-by-step "Mapping Seismic Activity" from publicly available GeoJSON might be a good start. The other tutorials show you how to do it with Leaflet or Tangram if you wanted to try building your own visualization with a different rendering library.

convert image to maptiles using gdal2tiles

I need to split an image into tiles that fit for map in different zoom levels.
I tried with Gal2tiles but I was not able to get tiles.
I am using PNG image for splitting to tiles.
I developed GDAL2Tiles couple of years back as a student project. It is a command-line utility with available manual http://www.gdal.org/gdal2tiles.html and a step-by-step tutorials online - one of them made by people from Google: https://developers.google.com/kml/articles/raster
In case you are not familiar with command-line you can easily try the MapTiler http://www.maptiler.com/ - the significantly improved and rewritten tool for creating map tiles. MapTiler comes with a user-friendly graphical user interface and is easy to install - on Windows, Mac or Linux.
See a video tutorial for a demonstration of usage:
http://youtu.be/eJxdCe9CNYg

Is it possible to make SVG charts in iOS?

Is it possible to use something like SVG in native iOS applications? Or is it just a web standard?
If it's not possible, what are the other options for making vector charts in a iPhone app?
SVG is part of the HTML5 spec and Apple makes quite a marketing point about how they are standard compliant, so you should be able to display SVG in Safari.
I don't know enough about native iOS development to know if there is an SVG parsing library available.
Yes, you can use one of the SVG rendering libraries to display SVG that you dynamically generate. I recently used SVGgh, which I wrote, in a project for a client to display some data charts. I don't know that there are any libraries to make it easier to build the actual charts, but making simple bar and pie charts are fairly easy if you are conversant with SVG.

using LEADTOOLS to convert doc to pdf

I am playing around with Leadtools to see how it might benefit me but i am a little frustrated with their documentation regarding how the process works. I am creating a library with methods that take an input file, convert it to pdf, add a qrcode to the file and save it and then reading the qrcode again.
Does a pdf have to be converted to an image before leadtools is
able to read the qrcode?
Does leadtools allow converting from
doc to pdf and then adding the qrcode or do i have to convert it to
an image as well?
Is there anywhere I could look at code
samples of how I can go about doing what I talked about other than
the leadtools site itself?
I am sorry to hear that you are having difficulties, but I will do my best to get you pointed in the right direction.
To answer your questions:
A1.) Yes, the PDF will need to be rasterized before the LEADTOOLS barcode engine can be used. Our barcode engine will only work with raw image data. Once the file is decompressed into raw data, we will not access the file any further.
A2.) Yes, you can rasterize Microsoft Word documents using either our file I/O methods or with the LEADTOOLS Virtual Printer. Once you have the raw image data, you can pass it to the barcode engine to write the QR code into the data. Once the barcode is written, you can then compress the image into any supported format, including (raster) PDF. You can also create a searchable PDF by running the resultant image through an OCR engine & outputting to PDF.
A3.) The LEADTOOLS SDK has a main barcode demo that should illustrate the ability of the SDK to handle the features you describe here. There are also tutorials in the help file, and various projects on our support forums. We have also created a couple different CodeProject articles here:
Multi-Platform Barcode with LEADTOOLS 18
How to Read Barcodes from Images using LEADTOOLS
You haven't mentioned here what programming language you are developing with or what the specific problem are that you have encountered. Without knowing either of those, it's difficult to get more specific into any methods or other resources to check out. For a simple raster conversion of a Microsoft Word Doc to PDF and writing a barcode, I think this would probably take between 10-15 lines of code.
If you have not already, I would highly recommend sending an email to Support#leadtools.com or open a live chat with the LEADTOOLS Support team from LEADTOOLS.com. We can get into more specifics there and help you more directly with any issues you are encountering.
Walter Bates
LEADTOOLS Developer Support
I tried adding this as a comment, but it is apparently too long for that. So I have added it as another answer.
Even if you are building a DLL, I would suggest starting out building a simple demo with a view of the image so you can see what exactly is happening to the image. Once you are comfortable that the image is being modified the way you want, then implement that code in your own library.
Also, I would recommend testing out the toolkit with the provided main demos. The demos are there to illustrate the different options you have access to in the code. If you can accomplish what your application or library will need to do through the demos, then it would be worth your time to begin coding specifically what you need. You might even need to use multiple demos to verify the tools can accomplish the goals that you have. You have all the toolkit code for the demos, so you can take them apart and use the specific pieces that you need in your application.
If you are having trouble identifying which demos to try out or whether the toolkit has the specific functionality that you need, your best bet is to contact Tech Support directly to ask. We are here to help get you pointed in the right direction.
To get down to brass tacks, the source of the image data is not all that important from the perspective of the barcode engine. It needs a RasterImage handle (raw image data) to write the specified barcode. Whether the image data is created on the fly, read from file, or generated from a scanner, it does not make a whole lot of difference.
To find the main .NET barcode demo, I would start out by going to the LEADTOOLS shortcuts. To get there, go to the Start menu -> LEADTOOLS -> Help and Demos. The shortcuts are broken down by programming language, feature, and then the base toolkit. You should be able to find the WinForms .NET barcode demo here:..\Shortcuts.NET Class Libraries.NET Framework\01 Imaging\07 Barcode
Our toolkit example is a .NET WinForms project, but it will work in ASP.NET also.
Here are some links to tutorials if you want to dig right into the code:
Loading and Displaying an Image in WinForms
Reading Barcodes
HOW TO: Load and Display an Image with WebImageViewer
There was also this recent code tip posted illustrating how to read and write UTF-8 characters in a QR barcode.
We provide both .NET 2.0 and .NET 4.0 DLLs for our barcode engine. Both of these work within Visual Studio 2012.

Resources