Anders Søborg

Forum Replies Created

Viewing 15 posts - 226 through 240 (of 411 total)
  • Author
    Posts
  • Author Image
    Anders Søborg
    Keymaster

    Hi

    I am a little confused…

    Copy the example code above

    What sample code – there are a lot of examples in the programming guide

    Also it seems from the following quote

    but how can i start that on the Brick, nothing happend after pressing “play”….

    That you think that the communication library can run code on the brick. This is not the case. For this you need the MonoBrick firmware. MonoBrick communication library is used for USB, WiFi and Bluetooth communication with the EV3 running the standard firmware.

    Anders

    in reply to: x64 Support? #4195
    Author Image
    Anders Søborg
    Keymaster

    Ok use the test project. It includes the source – then you should be able to build the way you want it. Why is it important that it is x64?

    Also, is there a way to get sensor “change events” instead of polling the sensor data?

    No the EV3 can not “send” an event when a sensor value changes – so polling is the only way.

    Anders

    in reply to: Preparations for GyroBot #4193
    Author Image
    Anders Søborg
    Keymaster

    Hi Jacek

    Yes but it is not possible to use the latest from the Git repository as LCD won’t work since it is for a new image that we are testing… you will have to wait a week or two

    Anders

    in reply to: x64 Support? #4190
    Author Image
    Anders Søborg
    Keymaster

    Hi

    Just download the test project and build your own version – source code will be available from GIT at some point. But are you getting any error using the dll?

    Anders

    in reply to: iOS #4187
    Author Image
    Anders Søborg
    Keymaster

    Download it from the test project…

    Anders

    in reply to: iOS #4185
    Author Image
    Anders Søborg
    Keymaster

    No not at all – but you need to create your own “Connection” class with support for Bluetooth on IOS. Use the bluetooth class as a starting point. Also you might to look at the Android implementation…

    Anders

    in reply to: Communicating between two nxt bricks #4181
    Author Image
    Anders Søborg
    Keymaster

    Hi Chris

    Using two different com ports it should in theory work?

    That should work – but why not communicate directly instead of using a PC as a bridge?

    Anders

    in reply to: Communicating between two nxt bricks #4178
    Author Image
    Anders Søborg
    Keymaster

    Hi Chris

    Why do you want to use a PC as a “bridge” whenyou can make the NXT send a message to another NXT using Bluetooth?

    Anders

    in reply to: Setting up #4177
    Author Image
    Anders Søborg
    Keymaster

    Hi Antonio

    Great video and a nice idea to use Skype to stream video to the PC…shared it on twitter…

    Let me suggest that you delete that part of the guide, or make it clear that it is not necessary.

    As far as I can tell it says on the top of the page: “This guide descries how to establish a WiFi connection with the EV3 LEGO Mindstorms brick using the standard firmware”. It does not mention anything about the MonoBrick Communication library. To determine how the to establish a connection with the EV3 using the standard firmware I created a Wireshark dump that shows how this is done by the software that comes with the EV3. This is what is show and described in details in the guide…

    If I work in a Mac with xamarin / Mono, I can compile the code, BUT, the console program is generated as an .exe for windows. I haven’t found any way to compile it for mac os, even though the compiler is in a mac.

    A exe file compiled for the .NET framework can run on many different operating systems using Mono. Mono is a open source implementation of the .NET framework. It runs on Windows, Mac OS, Linux and even the EV3 (using the MonoBrick firmware). On Mac OS Simply open a terminal and type “mono someFile.exe” then the program will execute. From Xamarin studio it is also possible to run the program. You might need to make Xamarin open a terminal otherwise it the output will be show in the output window of the IDE.

    I would suggest that the guides explain this issue very clear, again for us, amateur programmers 🙂

    I have to draw the line at some point – and I don’t feel that my site should be a guide on how to use Xamarin studio/Mono there are plenty of other sites that already does that…

    I have executed this .exe console program in a virtual machine in mac os (with windows 7 installed with Parallels 9). However, I received this failure to connnect message mentioned before. The firewall is deactivated, by the way.

    Like I said something must be wrong with your network settings…

    I don’t klnow what do you mean with “the library works in MAC”. It compiles, but does not generate a mac console.

    Look at my answer above

    Anders

    in reply to: Setting up #4171
    Author Image
    Anders Søborg
    Keymaster

    Hi

    Your example looks ok. But why are you running the program inside a VM when the MonoBrick communication library works on Windows, Linux and Mac? When you run inside a VM a lot of things can happen with Network traffic – your host machine has different network settings that the OS running in the VM – this might give your problems like UDP traffic being blocked… Furthermore I need to understand the following:

    The ev3 brick is connected to wifi

    That is good and you are all set to go..

    …and I have established a tcp/ip connection with the brick.

    What do you mean by this? How did you do that? The reason I am asking is that you don’t need to do anything other that connecting the brick to your WiFi network and then use MonoBrick communication library to connect to the brick…. but again try not to run the example inside a VM.

    Hope to hear from you soon…

    Anders

    in reply to: Gyro readings corrupted! #4169
    Author Image
    Anders Søborg
    Keymaster

    Hi

    Great…

    Anders

    in reply to: Gyro readings corrupted! #4167
    Author Image
    Anders Søborg
    Keymaster

    Hi again

    A fix has been committed to GIT. There was no error on port 1 but errors on port 2,3 and four. Sorry for that…

    Anders

    in reply to: Gyro readings corrupted! #4166
    Author Image
    Anders Søborg
    Keymaster

    Hmm I will have a look at strait away…

    Anders

    in reply to: Setting up #4164
    Author Image
    Anders Søborg
    Keymaster

    Hi

    Have a look at the programming guide for the MonoBrick communication library… that will show you how to establish a WiFi connection using the MonoBrick communication library…. no need to look at the WiFi guide.

    Anders

    in reply to: Gyro readings corrupted! #4163
    Author Image
    Anders Søborg
    Keymaster

    Hi

    But I did not update the download link yet… you need to get the update from GIT. I don’t know what it is that you are seeing…

    Anders

Viewing 15 posts - 226 through 240 (of 411 total)
Posted in

Make a donation