Tag Info

Hot answers tagged

4

The problem can be restated: 360 / 20 = 18 deg / sec = 1 deg / .056 sec One degree is the smallest increment provided by the rotation sensors. NXT-G has a timer sensor with 1/100th second resolution. In pseudo-code: Set a motorPower variable to 10 Start a timer Loop until rotationDegrees >= 360 If timeElapsed * 18 > rotationSensorDegrees ...


3

As far as I remember there is no possibility within NXT-G to programmatically execute another program. Moreover, as I understand it the default firmware simply doesn't have that possibility (the command to start a program is a direct command which must be sent via bluetooth and can't be used in a program). Maybe other programming languages using other ...


3

The ultrasonic cannot detect the color of objects. It's just to detect the distance between the sensor and an object in it's line of sight. To find objects in the surrounding area of your robot you have to look all around. This is simply done by rotating your robot or your sensor. When you measure a distance in a certain range (best results between aprox. ...


2

I am working on a project called ev3dev that runs Debian on the EV3. We are not quite to the point that we support "all the Robot EV3 functionalities", but we are getting very close. We are also using a version 3.3.0 Linux kernel, which is more up to date than the other EV3 firmware projects that I know of (which use a 2.6.33 kernel). If you would like to ...


2

This can usually be achieved on the EV3 with a bootable SD card - you would set that up with a new firmware image and a loader that copies it across to the brick. The leJOS team have ported their codebase to the EV3 - so with a bootable SD card you can indeed load a modified version of the firmware onto your EV3 brick. You can then use their WiFi stack to ...


2

No, it appears that you need to use the EV3 software to program the EV3 kit, as per the FAQ on the LEGO site: http://mindstorms.lego.com/en-us/News/ReadMore/Default.aspx?id=476781 The EV3 sensors also won't work with the NXT brick either. Though, I'd imagine if you're getting an EV3 kit, it should come with the EV3 software.


2

My FLL team wrote a light sensor myblock that converts the raw value to a number between 0 and 100. They run it on the EV3 so they can use their existing NXT light sensors. It should work on the NXT brick as well. Here is the video they posted to explain how it works. http://youtu.be/I7Bqvk-uMLk


2

I think that it mean that the virtual machine running on the EV3 brick has encountered an unknown instruction. Perhaps your program has become corrupted or there is an block that is not configured correctly. I would copy and paste your blocks into a new program and see if it works. If it does not, start a new program from scratch or just copy a little bit ...


1

Nothing is halting the "02" loop. It is running forever. The problem with the second loop is that "brown" is the default. The switch looks for "white" and anything else uses the "brown" side of the switch. I suspect you want the lower half of the switch statement to be "any color but brown". If so, the "default" button needs to be selected for the ...


1

From your description, it seems you use a motor block which just tells the motor to start running. This works, but since your program then comes at an end, all motor activities are stopped immediately. To solve this, you have to make sure your program doesn't terminate immediately. You could either use a wait block, with a fixed timer after which the ...


1

Regarding the white square on the ground, the robot can not sense this using the ultrasonic sensor. This is because the ultrasonic sensor uses echolocation to navigate (hence the name "ultrasonic") If there is a white square on the ground such as a piece of paper which is essentially 2 dimensional, the sensor will not 'notice' the square. Try another method, ...


1

You need to be using the standard MonoBrick Communication Library if you want to connect remotely to the EV3. You would then need to have the following using statement at the top of your code: using MonoBrick.Ev3 I believe you are referencing the MonoBrick EV3 Firmware which doesn't need to connect to the brick as it is the brick.


1

In the MINDSTORMS EV3 software you can Zoom in and out to be able to view your complete program (there are magnifier icon and an 1:1 on the top right) You can also create MyBlock ... select a group of block that do something specific like rotate till object detected - then click on Tool in the menu - then on MyBlock Builder -- once a MyBlock is created ...


1

No. Unfortunately there are no shortcuts. EV3-G can not open programs written in NXT-G. To quote Lego: 9.5 I have a LEGO MINDSTORMS NXT2.0 (8547) set; will there be an upgrade/conversion kit from NXT to LEGO MINDSTORMS EV3 (31313)? No, but LEGO MINDSTORMS EV3 offers backward compatibility to NXT. You can therefore use your NXT Intelligent Brick ...


1

In NXT-G if you place a block after another block it will run in succession. To get two motors running at the same time you can place two motor blocks, one at the start and the other just above or below. Drag the sequence beam (the white Technic beam) to the second block to complete the circuit. Don't forget to make sure the motor blocks are controlling ...


1

It depends on the programming language, but assuming you're using NXT-G then the Move block may be sufficient. The Move block is designed to coordinate 2 motors so that they both rotate at the same speed over a distance. The Move block has settings for speed/power of the motion. There is a forward/backward setting. There is also a steering setting, which ...


1

Yes, global. 5 variables may be 4 more than required. I think one is enough. Set intSensor = 0 Loop until intSensor > 0 If leftButton then intSensor = 1 If rightButton then intSensor = 2 If enterButton then intSensor = 3 If bumped1 then intSensor = 4 If soundVal > 50 then intSensor = 5 End Loop If intSensor = 1 then ...


1

The move steer and move tank blocks take 5kb each while the large motor block takes 4kb. If you have a long string of move blocks in your program, it will take up big chunks of memory. We've gotten around that in the past with using myblocks. Myblocks are only copied to the NXT once and called each time it is needed in the program. A pivot myblock might take ...



Only top voted, non community-wiki answers of a minimum length are eligible