Answers.Body: <p>I don't have a Lego EV3, but I have created a self-driving car with my NXT brick. I found the instructions from nxtprograms.com, but they are for the NXT. (I'm sure that you can adapt them for the EV3 though). The program is also for the NXT, but nxtprograms provides enough comment blocks that I think you should easily be able to build your own program with the EV3 software.</p>
  
  <p>Here are the instructions:
  <a href="http://nxtprograms.com/NXT2/explorer/index.html" rel="nofollow noreferrer">http://nxtprograms.com/NXT2/explorer/index.html</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-16T19:02:48.790Z
Answers.LastActivityDate: 2018-08-16T19:02:48.790Z
Answers.UserDisplayName: Banana999
Answers.Body: <p>I built mine with an IR sensor on the left, an ultrasonic sensor on the right and some touch sensors in the front and back. It worked really well to get through a track made of wooden blocks and around the room. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-18T20:51:50.257Z
Answers.Text: Can't you share a program instead of just showing off your robot?
Answers.UserDisplayName: mindstormsboi
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-20T13:19:21.520Z
Answers.Text: No-I wouldn't for a couple of reasons: First, I didn't show off my robot-I answered the original question at the top of the post- someone was trying to build a mech to rotate an ultrasonic sensor. I offered another way to do it. Second, it would be unhelpful for me to share my program. A program is specific to the build and you plugging in my program to your build would not work. Lastly, why be rude? I was trying to help. I understand how frustrating building these can be when you get stuck but being insulting isn't going to get you any further. Try asking specific questions if you need help.
Answers.UserDisplayName: Nile
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-20T00:41:34.803Z
Answers.LastActivityDate: 2020-06-16T14:34:05.117Z
Answers.LastEditDate: 2020-06-16T14:34:05.117Z
Answers.UserDisplayName: Nile
Body: <p>I recently got the Lego Mindstorms EV3 kit. I wanted to make a self driving car, but I got stuck on the building part. I saw another question like this, however it was for NXT and had no decent answers. I need to make a rotating disk on top of the robot for the Ultrasonic sensor; otherwise I would need 2 more sensors to avoid hitting walls. Remember that it needs to fit on top of a moving robot, not be a stationary stand! I got the self driving car to work, but because the sensor was not rotating, it could only see in front of it. I do not know if this is possible with the EV3 kit, but if you know how, please let me know! Anyways, thanks for reading this! :D</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-11T14:37:06.527Z
Comments.Text: This question is a bit too broad to be able to provide a good answer. More specific questions like "I built a car, but obstacle avoidance isn't working. This is how it is supposed to work... Here is a picture of my car and here is my program."
Comments.UserDisplayName: David Lechner
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-11T14:37:21.587Z
Comments.Text: Here is a car to provide some inspiration: https://www.youtube.com/watch?v=kAvduVtT748
Comments.UserDisplayName: David Lechner
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-13T20:23:27.230Z
Comments.Text: Seen it done before in Sumo bots, the distance sensor rotating from left to right as a sort of radar dish... Programming can get quite complicated then I can imagine...
Comments.UserDisplayName: Michael Verschaeve
Tags: <ev3>
Title: How to make a Lego Mindstorms ev3 self driving car?
UserDisplayName: ComputerCraft32
ThreadText: # How to make a Lego Mindstorms ev3 self driving car?
  
  (Asked by: username_0 on 2018-08-11)
  
  I recently got the Lego Mindstorms EV3 kit. I wanted to make a self driving car, but I got stuck on the building part. I saw another question like this, however it was for NXT and had no decent answers. I need to make a rotating disk on top of the robot for the Ultrasonic sensor; otherwise I would need 2 more sensors to avoid hitting walls. Remember that it needs to fit on top of a moving robot, not be a stationary stand! I got the self driving car to work, but because the sensor was not rotating, it could only see in front of it. I do not know if this is possible with the EV3 kit, but if you know how, please let me know! Anyways, thanks for reading this! :D
  
  **Tags:** ev3
  > **Comments:**
  > **username_1**: This question is a bit too broad to be able to provide a good answer. More specific questions like "I built a car, but obstacle avoidance isn't working. This is how it is supposed to work... Here is a picture of my car and here is my program."  
  > **username_1**: Here is a car to provide some inspiration: https://www.youtube.com/watch?v=kAvduVtT748  
  > **username_2**: Seen it done before in Sumo bots, the distance sensor rotating from left to right as a sort of radar dish... Programming can get quite complicated then I can imagine...  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2018-08-16. Score: 0 | Accepted answer
  
  I don't have a Lego EV3, but I have created a self-driving car with my NXT brick. I found the instructions from nxtprograms.com, but they are for the NXT. (I'm sure that you can adapt them for the EV3 though). The program is also for the NXT, but nxtprograms provides enough comment blocks that I think you should easily be able to build your own program with the EV3 software.
  
  Here are the instructions:
  <http://nxtprograms.com/NXT2/explorer/index.html>
  
  
  ---
  
  ### Answer by username_4 on 2018-08-20. Score: 0
  
  I built mine with an IR sensor on the left, an ultrasonic sensor on the right and some touch sensors in the front and back. It worked really well to get through a track made of wooden blocks and around the room.
  
  > **Comments:**
  > **username_5**: Can't you share a program instead of just showing off your robot?  
  > **username_4**: No-I wouldn't for a couple of reasons: First, I didn't show off my robot-I answered the original question at the top of the post- someone was trying to build a mech to rotate an ultrasonic sensor. I offered another way to do it. Second, it would be unhelpful for me to share my program. A program is specific to the build and you plugging in my program to your build would not work. Lastly, why be rude? I was trying to help. I understand how frustrating building these can be when you get stuck but being insulting isn't going to get you any further. Try asking specific questions if you need help.  
  
  ---
  
  