Anders Søborg

Forum Replies Created

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

    Hi Again

    Is this a question regarding the Mono Brick Communication library or the MonoBrick firmware?

    I think that you (again) asked the question in the wrong forum 🙂

    /Anders

    in reply to: Rubik's cube solver #5133
    Author Image
    Anders Søborg
    Keymaster

    Hi Again

    Your video was shared on MindCubers Facebook page, MonoBrick’s twitter and Facebook page as well as the EV3 Fan Group Facebook page. Let’s see how it goes…

    /Anders

    in reply to: Rubik's cube solver #5113
    Author Image
    Anders Søborg
    Keymaster

    Hi Jacek

    Merry christmas. This is awesome. I will post it right away. Could I maybe steel the code and place in our Git repository – just as an example?

    /Anders

    in reply to: Rotating Motor #5112
    Author Image
    Anders Søborg
    Keymaster

    Hi there

    I moved your question to the correct forum (this is not a question regarding the communication library :-)). Anyway check out the motor example and check out the official documentation found here. Hope this answers your question.

    /Anders

    in reply to: Scary Fac3: Haunted House Building Challenge winner #5063
    Author Image
    Anders Søborg
    Keymaster

    Hi there

    Sooo nice – shared on twitter and facebook and on

    monobrick.dk

    /Anders

    in reply to: Setup wifi with WEP or WPA #5056
    Author Image
    Anders Søborg
    Keymaster

    Hi there

    Nice work. I would like to include this is the upcoming release. In our firwmare we use the following function to generate the wpa_supplicant_wep.conf file.

    static void WriteWpaSupplicantConfiguration (string ssid, string password, bool useEncryption)
    		{
    			MonoBrickFirmware.Native.ProcessHelper.RunAndWaitForProcess("rm",WpaSupplicantFileName); 
    			string encryption;
    			if(useEncryption)
    				encryption = "WPA-PSK";
    			else
    				encryption = "NONE";	             
    			string[] lines = { 
    				"#This file is auto generated by MonoBrick - will be overwritten at startup", 
    				"#ap_scan=1", 
    				"#fast_reauth=1",
    				"# Pers", 
    				"ctrl_interface=/var/run/wpa_supplicant", 
    				"network={", 
    				"  ssid=\"" + ssid + "\"",
    				"  key_mgmt="+encryption, 
    				"  psk=\"" + password + "\"", 
    				"  pairwise=CCMP TKIP",
    				"  group=CCMP TKIP", 
    				"}", 
    			};
          		System.IO.File.WriteAllLines(@WpaSupplicantFileName, lines);
    		}

    You can find function in the firmware startup app found here. Would it be possible for you to extend/rewrite this function to support WEP and then test if it actually works?

    Thanks

    Anders

    in reply to: Webserver #5042
    Author Image
    Anders Søborg
    Keymaster

    Hi there.

    The webserver example found in the master branch is working. Simply compile the project and upload the program to your EV3. When the webserver has started (which takes a while) simply type in http://yourIp:yourPort/documentation to see a list of what is currently supported. Please note that using port 80 is not working so use something like 8080. As you will see from the URL list the webserver is written as a REST service so data is retrieved via JSON – so writing a client that that can interact/control the EV3 is fairly simple.

    /Anders

    Attachments:
    You must be logged in to view attached files.
    in reply to: MonoBrick Tutorial [German] #5033
    Author Image
    Anders Søborg
    Keymaster

    Hi Max

    This is an absolutely amazing piece of work that you have done (I havn’t read all of it and my german is not that great – but 55 page guide is great)… once that you fell that it is done I will place on the front page on the firmware page so it can be downloaded… what about the Visual Studio template that you did is that still working?

    /Anders

    in reply to: Using the NXT Color Sensor with EV3 #5028
    Author Image
    Anders Søborg
    Keymaster

    Hi there

    Use the color sensor example from Git and replace the EV3Color sensor with the NXTColor sensor. Also have a look at the documentation for the NXT color sensor found here

    /Anders

    in reply to: Engine control – move 45°, wait, move 45°, wait #5027
    Author Image
    Anders Søborg
    Keymaster

    Hi there

    I will have this issue solved in the next release – which will be soon…

    /Anders

    in reply to: Setup wifi with WEP or WPA #5023
    Author Image
    Anders Søborg
    Keymaster

    Hi there

    sorry for the late reply – it seems that we don’t support old routers with only WEP or WPA encryption. It could be added but to be completly honest this is not our highest priority at the momment. You Will have to connect without encryption.

    /Anders

    in reply to: Rubik's cube solver #5022
    Author Image
    Anders Søborg
    Keymaster

    Great

    Please let me know how it goes…

    /Anders

    in reply to: Rubik's cube solver #5020
    Author Image
    Anders Søborg
    Keymaster

    Hi Jacek

    Very nice work… maybe you would be interested in sharing the code as part of our Git repository. Also is there a youtube video that I can embed on the firmware page?

    /Anders

    in reply to: Engine control – move 45°, wait, move 45°, wait #5017
    Author Image
    Anders Søborg
    Keymaster

    Hi again

    Ok great – make a pull request on Git – so you can get credit for the improvements… thanks

    /Anders

    in reply to: Engine control – move 45°, wait, move 45°, wait #5014
    Author Image
    Anders Søborg
    Keymaster

    Hi there

    I also noticed that LcdConsole.WriteLine method is not thread safe. There should be lock block:

    I don’t think this is an issue since the kernel module is thread safe. Have you seen this fail?

    And start pooling call in the speedprofile method:

    Great I will have a look at it. I actually think by looking at it that your suggestion is better than mine… I will have a look at it tonight.

    /Anders

Viewing 15 posts - 91 through 105 (of 411 total)
Posted in

Make a donation