
anthony
USA
Asked
— Edited

Hello,
First a little background: I have to do a senior project for my class. The thing is it had to use the raspberry pi. So I chose to use the raspberry pi and the Ez-Robot for my project. I have windows IOT on my raspberry pi and have the universalbot sdk/project. I have looked through the code and didn't find a class for the sonar.
My question is How would i get values from the sonar using the universalbot application? And do I have to do anything special in order to recieve the value from there? Any help would be appreciated. Thank YOU.
@DJ,
The UWP code does not compile, the main culprit is a TcpClient class.
i presume you coded for a replacement for the Net.Sockets.TcpClient not available when using UWP Apps, it uses SocketStream.
The problem is the UWP TcpClient does not have the same signature methods, unless you rewrite the calling code.
don't stress with that, when you have a break or an opportunity, take a look to the base codes, and if you find a solution let me know.
tcpclient is part of the uwp package. it's included in the source.
I know but does not compile unless is a UWP project.
I guess i'm having a hard time understanding what you're asking. On the first page you asked for UWP and XAMARIN but now you're saying you don't want UWP?
If you can clarify it would be super useful to assist further
I removed the System.Drawing reference in the latest mono package. Get it from the Software->Mono link at the top menu of this website.
Thank you for the prompt response. I have decided to go with the mono sdk on raspian jessie. Though after installing the complete mono package , and tring the test file I Get this error:
Any ideas on what might have caused it?
Without posting the code that you are using, it's impossible to diagnose. Please provide the code that you are attempting to compile. Also, the recommended distribution for raspberry pi is Debian, as stated in the mono page.
Mono is an open source project that has no real owner - or at least no one accountable for their mess ups. You will find that working with open source software will result in a nitemare of headaches
but we'll get you rock'n.
Post the code and we'll start from there
The code I am using is exactly from the download page of mono-sdk. I also ran the test on the included example file and it gave the same error. It is occurring when it is creating a new instance of the ez-robot.