Well yes and no.. Android can run both java and C++ applications these days. Ios uses Obj-C based application. Both are cross compiled from a functional language easily. Like Javascript or Swift, Haskell and so on.. =)
Den 2016-11-29 kl. 17:52, skrev Nicklas Karlsson: > Telephone I though't use Java and I have kept away from Java since I do not > consider it the best of programming languages for several reasons. Secondary > reason is I have limited amount of time. > > > On Tue, 29 Nov 2016 17:40:29 +0100 > Andreas Pettersson <[email protected]> wrote: > >> Well, web ui's and realtime web applications is kinda what i do for a >> living. Most IOS and Android applications today so called apps are made >> as a webapplication and converted into an "app" through som native cross >> compiler basicly. >> >> But I havent really had more experience with linuxcnc than i modified an >> existing UI for plasma tables.. >> Dont think there should be a problem running a live Web UI if you use a >> good base service for the package handling between the client and the >> server. And a proper message queue between linuxcnc and the server >> application. >> >> If you would remove the step or servo signal generation from the >> linuxcnc box it should have ample of processing power for doing >> secondary tasks. Isn't that the reason we use the mesa cards in the >> first place? removing hardware load?! >> >> But with that said... i dont think i would run my 2 ton knee mill from a >> tablet any day soon.. but my router or plasma table absolutely. =D >> >> // A >> >> Den 2016-11-29 kl. 17:30, skrev Nicklas Karlsson: >>> I was thinking about splitting in two and use ordinary user interface, web >>> ui is usually horrible to use although it may have some uses because there >>> is no need to install software. >>> >>> >>> On Tue, 29 Nov 2016 17:21:49 +0100 >>> Andreas Pettersson <[email protected]> wrote: >>> >>>> awesome, i gonna take a look at the C++ examples. >>>> thought it could be a challenge of making a webui for a device running >>>> linuxcnc on a lattepanda or a beaglebone black from there. And using a >>>> mesa card for removing the load from the lightweight controller easily. =) >>>> >>>> // Andreas >>>> >>>> >>>> Den 2016-11-29 kl. 16:40, skrev Sebastian Kuzminsky: >>>>> On 11/29/2016 07:34 AM, Andreas Pettersson wrote: >>>>>> Would there be something that limits one to implement a UI for LinuxCNC >>>>>> as a restful service >>>>>> in say Python - that would listen to like port 8080 and take commands >>>>>> like >>>>>> >>>>>> /moveXAxis/positive/10/mm >>>>>> >>>>>> Why, cuz i want to. And i guess one could bind a zeromq realtime >>>>>> component into it or something like that >>>>>> being able to abstrac it to a RTC based UI on a tablet or a phone. >>>>> Yep, this is totally doable. >>>>> >>>>> The LinuxCNC motion control core talks to the user interfaces via a >>>>> message passing system called NML. Multiple UIs can be connected to the >>>>> motion controller at the same time, as is commonly done with (for >>>>> example) Axis and halui. >>>>> >>>>> Your web-based UI would look and act (to the motion controller) just >>>>> like any other UI, and the motion controller wouldn't know or care that >>>>> it presents a web interface instead of a graphical user interface on the >>>>> other side. >>>>> >>>>> New UIs can most easily be written in C, C++, or Python. >>>>> >>>>> All the UIs live in src/emc/usr_intf/. The simplest C/C++ example is >>>>> probably halui, though i'd recommend using the shcom library (also in >>>>> src/emc/usr_intf) for writing new C/C++ UIs. >>>>> >>>>> The simplest Python example might actually be some of our test programs, >>>>> for example tests/abort/feed-rate/test-ui.py. >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Emc-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Emc-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Emc-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
