Forum Replies Created
-
AuthorPosts
-
Anders SøborgKeymasterHi
Could you please post your code
Thanks
Anders
Anders SøborgKeymasterHi
Don’t read the value as a string. From the documentation it is clear that you need to use
ReadPosition ()
This will return a Position object which has X, Y, Z valuesAnders
Anders SøborgKeymasterHi
Sound interesting what you are doing. What are you building?
Anyway in the programming guide it says
Create a SCP connection from WinSCP
And there is a screenshot is that what you did?
Anders
Anders SøborgKeymasterHi
Sorry but sound support has not yet been fully implemented… the master branch is for development – so you might find things that are not working or being developed. Actually if you know how to fix the current issue fell free to help out!
Do I need to update to the monoev3image-master from github too?
No need to update/create a new image at this point. But once we release a new version of the dll a new image will also be available..
And is there a short documentation available how to install the monoev3image-master on the sd card?
No sorry – but we might add this in the future…
Anders
Anders SøborgKeymasterHi
Please remember to let us all know how this goes…
Anders
Anders SøborgKeymasterHi
Sorry for the low activity on this subject – I think that most people use MonoBrick with C#. Anyway my experience with Python/IronPython is close to nothing. But it must be possible to compile a IronPython “Hello world” program and get a exe file. Are you able to to that? If yes then transfer that program to the EV3 and run it from a shell. Then you should see the console output in the shell. Then the next step would be to use some of the functions from the MonoBrick.dll… Please let me know how it goes
Anders
Anders SøborgKeymasterHow are things going did you manage to get it working?
Anders
Anders SøborgKeymasterGreat
Anders
Anders SøborgKeymasterHi
As for the test, firstly I tested this using UDP where the EV3 is a server and the Ubuntu is a client….
You kind of lost me here… what is it you are trying to do? Are you not using MonoBrick communication library on Linux/Ubuntu to connect to a EV3 brick running the standard firmware?
When you connect the EV3 to your WiFi network it will broadcast UDP messages to show that it is alive… are you receiving these? If not your PC might be blocking UDP traffic or the router might be set to block UDP and/or block broadcast messages.
Anders
Anders SøborgKeymasterHi
Thanks for using MonoBrick Firmware. I hope you like it
It seems to be doing what I expect, but I would expect something easier.
It seems pretty easy to me – am I missing something?
Anders
Anders SøborgKeymasterHi
The EV3 can get a UDP message from Ubuntu but Ubuntu can’t receive a message from the EV3 yet.
How did you test that?
How can I check if my PC is blocking UDP messages?
The best way is to test whether or not data is being send back and forth between the PC and the EV3. Use wireshark for this. You should see something like the dump that can be downloaded from the guide…
Anders
Anders SøborgKeymasterHi
Try to check out this guide. As you can see the EV3 broadcasts UDP messages on the WiFi network. Are your computer blocking these messages somehow?
Anders
Anders SøborgKeymasterHi
Yes. I am trying to make a segway with the help of color sensor and a PID control.
If you building/programming a robot that depends on a real-time control loop – don’t use the MonoBrick communication library….
Your system will never be “hard” real-time since you are communicating over either Bluetooth or WiFi…. in your case you need a fast response which you can not achieve. You have a very slow sample-rate and furthermore a sample-rate which you can not guarantee…Yes, I think it might be a problem with the kernel modules.
Please post your MonoBrick firmware code in the appropriate forum so the bug can be fixed…
Anders
Anders SøborgKeymasterPlease let me know how it goes. I would really like to support more sensors
Anders
Anders SøborgKeymasterYes – that is actually possible. However IP filtering has not been implemented but should be fairly strait forward. But if you don’t know how to implement this yourself then a workaround could be to connect one brick at a time – when MonoBrick is connected the EV3 will stop broadcasting its IP address. So you need to
1. Connect the EV3 to the WiFi network
2. Connect to the EV3 using MonoBrickRepeat this three times
Anders
-
AuthorPosts
Follow