Hardware to Software incorporation/interaction [closed] - robotics

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I have taken interest in basic hardware interaction with software.
What's a good language to start learning to control hardware? Can Java do the job?

As others have suggested, C or C++ is the "Proper" way to start as interacting with hardware can be done very directly due to the pointer structure (You can access arbitrary memory adresses).
If you haven't used C or C++ before i would suggest that you tried an arduino board as it would give you the feel of the C syntax and at the same time give you a very well documented board to play around with.
http://arduino.cc/
You should even be able to interface to the board in Java and C#
http://playground.arduino.cc/Interfacing/Java
http://playground.arduino.cc/Interfacing/csharp

This depends on the platform. If you have a good java API for your device, it works well enough. In general though C or C++ are the languages of choice when it comes to hardware. The reason for that is that they are able to directly access arbitrary memory addresses through the pointer construct. This is in most cases the way to interact with hardware. This is not directly possible in java.

Related

How SQUISH automation tool is better than APPIUM? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
how to choose between these two automation tool how Squish is better tool
These tools are simply different and its up to you to decide which suites better your needs & budget:
Appium
open-sourced and it costs nothing.
no support engineers to help you with developing tests and telling how to use Appium in a better way. Its only you to search information in docs and forum, ask questions and spend your own time.
no test recorder, you can simulate similar actions and test locators with appium-desktop, but thats it
requires knowledge of at least 1 programming language (java, python, js, ruby, etc.) to write the tests.
SQUISH
proprietary software with individual licence costing ~7k EUR a year
you can contact support engineers, you already paying for it.
test recorder will help in case you are not familiar with programming
In terms of stability & easy to use it more person & application specific, so I would say: check the points above and made your choice.

What type of apps can we create within Linux using Swift (Open Source) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
With the announcement release of Swift as open source a question came to my mind. Apparently the language/compiler supports Linux besides the obvious Apple different operating systems, but what kind of apps can really be created in Linux?
What type of apps can we create within Linux using Swift, iOS, OSX, etc. apps or only Linux apps?
Or better yet, since this may be to early the question could be... what kind of apps are we going to be able to build in Linux in the future?
Swift is a programming language, not to be confused with a software library, such as UIKit, or an Integrated Development Environment (IDE), such as Xcode or Microsoft Visual Studio.
To put it succinctly, I think in the near future we can only expect to write in Swift the kind of applications we are able to write in C and C++ on Linux. The downside of Swift: it's tricky to integrate with C and C++ code. See, e.g., http://www.swiftprogrammer.info/swift_call_cpp.html and http://www.swiftprogrammer.info/callback_void.html. The advantage: it's simpler to use than C and C++.

Is there any way to plot and analyse data with swift? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to build an iOS application where you can easily view and interact with geophysics data (well logs, seismic sections etc), which usually come as huge matrices in SEGY format or similar.
Is there any way I can do this with swift? Also I need to extract statistics and and perform mathematical operations. Is there any scientific use of swift at all?
Sorry if I'm being vague, it's a fairly new idea and I would love to do it on iOS instead of using C/matlab/python etc.
There's nothing native to Swift, but you could always use third party frameworks for anything.
Of course, science power of Matlab won't be achievable by iOS, since the language is not intended for that, so you'll have to write some math functions on your own.
For charts, I used CorePlot, but now there's a better alternative written completely in Swift, called ios-charts.

Who decided that computers must be 32-bits? Why not 31-bits, or 42-bits? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm just wondering what's special with 32 and 64 that they became the chosen "bit-size"? You know I hear these things like 32-bit. I can't get what's special with these numbers? What if I want to build a PC that's 57-bits??
You know I hear these things like 32-bit. I can't get what's special
with these numbers? What if I want to build a PC that's 57-bits??
32 and 64 are multiples of 8. And to my knowledge this all has roots in Industry Standard Architecture (ISA). Which then leads to the Extended Industry Standard Architecture (EISA).
Which boils down to this: It’s the same reason there are light bulb socket standards & nut/bolt standards. If you want to build a “57-bit” system, good luck with that. You would have to build a machine from the literal ground up based on a 57-bit standard which you will have to come up with. The original IBM PC architecture was built around the Intel 8088 chip which itself was based on an 8-bit standard. And since that architecture was based on an open standard—which happened to be 8-bit—manufactures followed that standard & even developed their own to assure interoperability.

Has anyone compiled iGraph, graph layout library, for iOS? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is it possible to compile iGraph, graph layout library for iOS?
I haven't. I don't know anybody who has. But I've also never heard of it before.
The website claims it is written in C/C++, so in theory you should be able to get it running on iOS. You may need to make some modifications.
Looking more closely at the documentation, it appears to be a plain C API (even better!) so it should be fairly easy to compile for iOS. You will probably have to edit the Makefiles to have it cross-compile for ARM (instead of Intel).
However, the source code is published under the GNU GPL. There are clauses in the GPL that conflict with clauses in the Apple Developer Program Agreement (I forget the specifics but it should be easy enough to research). This means that if you got it working in an app, you couldn't put it on the App Store without either Apple or the iGraph developers offering you different terms.
Not sure about iGraph, but I've been thinking of trying Core Plot.
It's a graph plotting 3rd-party iOS framework.
Not a lot of documentation, but you can see some apps that already use it if you browse their site.
Not sure why you got voted down. Happens.
Edit:
Oh, in that case, this question might help: https://stackoverflow.com/a/5074186/1126783

Resources