Search found 7 matches
- 31 Mar 2014, 16:14
- Forum: Mindstorms Projects
- Topic: line follower with mutex and three sensors, obstacle avoid
- Replies: 2
- Views: 17567
Re: line follower with mutex and three sensors, obstacle avoid
thanks for that howard! i think that i will try to program the robot without using mutex. i have read about "nested" statements? "if()" and "else()". i managed to get the robot to move around the outside of a square it will go both ways around the square with little pro...
- 31 Mar 2014, 09:40
- Forum: Mindstorms Projects
- Topic: line follower with mutex and three sensors, obstacle avoid
- Replies: 2
- Views: 17567
line follower with mutex and three sensors, obstacle avoid
hello i want to build a robot that, when you clap robot starts moving if light sensor sees dark turn right if light sensor sees light turn left if ultra sonic sensor sees object avoid object when you clap robot stops moving this is my pseudo code(im still practicing this) this is my full code so far...
- 16 Mar 2014, 16:53
- Forum: Mindstorms Software
- Topic: motor problems
- Replies: 11
- Views: 37276
Re: motor problems
hello thanks for your help, im going to use the rotatemotor command instead as that does exactly what is want without the extra fuss. I am having a problem though with a line follower program. I can get the robot to follow the line and turn but it wont turn back the other way. im thinking that if i ...
- 12 Mar 2014, 14:35
- Forum: Mindstorms Software
- Topic: motor problems
- Replies: 11
- Views: 37276
Re: motor problems
hello I am still having the same problem. it will move slightly in the fwd direction then full movement in the other direction. this is what im using, I have tried the offex bit in different positions and no change. the wait(100) does nothing either as I have changed this, removed it and still nothi...
- 08 Mar 2014, 12:42
- Forum: Mindstorms Software
- Topic: motor problems
- Replies: 11
- Views: 37276
Re: motor problems
that's great, thanks for your help. I will try that reset thing. I haven't looked at much else really. I got the set secondhand recently and read a copy of NXC that uses a tribot which you modify with the sensors. it didn't mention anything like resetting or motor counters which has my mind going at...
- 07 Mar 2014, 23:51
- Forum: Mindstorms Software
- Topic: motor problems
- Replies: 11
- Views: 37276
motor problems
hello im new here I have tried to program a motor to rotate left to right and repeat. initially I couldn't get it to go both ways. then I could get it to go both ways. im not sure what I did. I have learnt that you have to save the file before it will compile or download. I want to connect the ultra...
- 07 Mar 2014, 23:35
- Forum: Mindstorms Software
- Topic: Basic Loop Program
- Replies: 2
- Views: 9714
Re: Basic Loop Program
hello have you managed to get this working yet? the only thing I would suggest is an if statement or while statement but that is using "nxc"(not exactly C). I don't know how the programme for ev3 works. you want to put in something that says "if this is true, go forward". if fals...