For people who don't turn, check to see if the wheels are in the right order. The correct order of wheels in the code is left front (1), right front (2), left rear (3), right rear (4). Also if your wheels are not spinning but rolling, turn the robot in the direction where the wheels are spinning, also the red line is the direction of the wheels.
@anprabh14 жыл бұрын
Thank you very much! Not changing the anchor parameters caused the wheels to revolve instead of rotate.
@christophkastner13574 жыл бұрын
nice
@coolrobotics3 жыл бұрын
Thank you
@jokercrazy33304 жыл бұрын
For my 4-wheel robot, when I set the velocity for all four wheels to the same value then my robot can move forward as expected but if I would set the velocity for four wheels with different values, for example when I want it to move right or left, it doesn't work so my robot can only go straight forever. Can you guess where I might have gone wrong that resulted in this error?
@coolrobotics4 жыл бұрын
You can set both right wheels with same velocity and left wheel with the same(but can be different then right wheel) in order to steer
@jokercrazy33304 жыл бұрын
@@coolrobotics yes, i have tried to do that but it doesn’t work. Is it because my design or friction or may be something else?
@coolrobotics4 жыл бұрын
@@jokercrazy3330 Have you made any changes in friction
@robotics99652 жыл бұрын
Same my problem 🥲
@bd92494 жыл бұрын
What is the setting it tells that the robot would move in the direction of the sensor and not in opposite direction? Also, could you explain the logic of IF and FOR loop constructs.
@coolrobotics4 жыл бұрын
Direction of robot is defined with sign of velocity is set-velocity. Or if you are doing position controller then value of position you give in set-position.
@coolrobotics4 жыл бұрын
If loop is for making sure there is are no obstacles while we are going forward. And for loop is for checking obstacles through all the sensors.( In our case it is 2)
@bd92494 жыл бұрын
@@coolrobotics What I mean as how to ensure that the direction of move of the Robot is aligned with the position of the distance sensor put on the front i.e. how does it know that the robot should move(assuming + velocity) in the direction the distance sensors are positioned(Front of.the robot)
@jingjing80814 жыл бұрын
in the code about the distance sensor,i am wondering why 950 is used. The code like: “if (ds_values < 950.0) ”, if seting 1000, the car robot turn left wherever there are obstacles or not, and
@coolrobotics4 жыл бұрын
We can choose any value below 1000 because if there is no obstacle it gives the value of 1000. If we choose a very small value it will result in detecting obstacles when it reaches too close to the robot. So you can choose your value and see how the simulation works and make changes accordingly.
@yatishv80634 жыл бұрын
When obstacles is detected then robot turns almost 360° and move but I wanted robot to just take either left or right and move in same direction which it was moving before detecting obstacle. I am not getting wat to change in program to do like that. Plz help me out as soon as possible, don't have much time.
@coolrobotics4 жыл бұрын
For that case you will need to implement navigation algorithms. You will need to know the map before hand and will need to use planners for achieving the goal. Shorter way can be if you see and obstacle make a 90 degree turn. Go straight for some distance again make a 90 degree turn so that you are back on your direction. If you see obstacles again repeat the loop
@coolrobotics4 жыл бұрын
You will need IMU for this application.
@yatishv80634 жыл бұрын
@@coolrobotics Der is a video wch is tutorial 11 wch is about IMU.... I vl try that once. For navigation can I program in Aruduno itself in case of prototype model.
@coolrobotics4 жыл бұрын
If you are good at aurdino sure
@yatishv80634 жыл бұрын
@@coolrobotics Thank you very much for clarification bro
@tomf69204 жыл бұрын
Hi, nice tutorial, whenever i click play the whole robot sinks into the ground as if the ground is like water. Any ideas on how to fix it?
@coolrobotics4 жыл бұрын
Add bounding objects to your nodes
@tomf69204 жыл бұрын
@@coolrobotics hi, I have however it's still falling through the floor
@coolrobotics4 жыл бұрын
Did you add a bounding object of same size as node.
@tomf69204 жыл бұрын
@@coolrobotics I've just changed the physics to have mass of +1 as it was originally -1 and it's now working. However it is moving backwards not forwards aha
@tomf69204 жыл бұрын
@@coolrobotics okay I've moved the sensors to the other side but they dont stop the robot and turn it around it just keeps moving?
@himansusekhardash51402 жыл бұрын
can you make any video regarding the robot should reach the goal point after avoiding obstacles
@kevantrade76494 жыл бұрын
hi,is it possible to do a video on lidar?
@emnaayari82384 жыл бұрын
hi, how can i get a navigation controller to a specific target without collision with obstacles, thanks a lot for help
@bd92494 жыл бұрын
How to mark one tile with some letter('P') or image to denote parking area so that the robot can park only there. Any easy way to find the exact co-oridinates of corners of a tile
@coolrobotics4 жыл бұрын
A very good question... You can use IMU and GPS readings. 1. Keep robot on that tile. (Which you want to mark as P). 2. Save the IMU and GPS data of that point. 3. Compare robot co-ordinates with the tile values. 4. If it is near the value trigger stop.
@bd92494 жыл бұрын
@@coolrobotics Thank You very much for the response. You are really a motivator for a learner like me. I have GPS and IMU filtted in to the robot. Is it possible I can compare the (X,Z) of GPS between the co-ordinates of a tile so as to stop on the designated tile, rather than comparing exactly one GPS co-ordinates as the robot may not reach that 'saved' point exactly but could be nearer. 2) I should the get the distance covered by the robot by multiplying the position sensor value of 1 front wheel(for example) at any given time by the radius of the wheel. Also, how can I rotate the robot on Z Axis by 90 when a certain condition is met e.g. the robot has travelled 30 meter and I would like to make the robot stand upright. Can I apply 0(zero velocity) to both rear wheels to make that possible?
@teetanrobotics53634 жыл бұрын
Video 6,8,9 of the Webots playlist not loading above 360p. I have tried it on multiple computers and multiple networks. Could you please check it out once ?
@coolrobotics4 жыл бұрын
Omg, yes you are right. It had been loading in full HD all these days. Something has surprisingly gone wrong only on these 3 videos. I am looking into the issue, just contacted KZbin. Thank You so much for letting us know.
@teetanrobotics53634 жыл бұрын
@@coolrobotics Hey I need help in adding lidar to the 4 this robot. Could you please tell me the exact steps or if possible make a short video on the same ?
@coolrobotics4 жыл бұрын
You can add lidar. Similar to GPS or IMU sensor. Just make a solid and make lidar as children of that solid
@teetanrobotics53634 жыл бұрын
@@coolrobotics I saw the code for the lidar on the website documentation. It is very short and I am not able to understand how to add it
@GiuseppeGiu964 жыл бұрын
@@coolrobotics I was became mad ahhah, it isn t my proplem only
@marceltorne29853 жыл бұрын
Hi, could you share some info on how to create an OpenAI gym using Webots and then train the RL agent efficiently please? It would be awesome if you could, Thanks!
@coolrobotics3 жыл бұрын
This is a great application. I will suggest you to follow webots discord which link can be found in cyberbotics website You will get expert advise there .
@josephcampugan24392 жыл бұрын
good day, do you have a python version of this tutorial? godbless and stay safe
@coolrobotics2 жыл бұрын
Sorry for that but nope
@josephcampugan24392 жыл бұрын
@@coolrobotics okay sir, thank you
@pal432-m5v10 ай бұрын
My robot passes right through the walls i made from your earlier tutorials.
@alaaskender25023 жыл бұрын
Thank you for great tutorial, when I run the simulation the robot does not move , it stays immobile!!
@enbakomghebremichael54064 жыл бұрын
Could you show as Obstacle Avoidance controller with python
@shridhardodamani27284 жыл бұрын
can you please help me in creating proto file.
@coolrobotics4 жыл бұрын
cyberbotics.com/doc/guide/tutorial-7-your-first-proto You can refer this link. And let me know if any issue.
@shridhardodamani27284 жыл бұрын
@@coolrobotics Thank you , I have referred it. But unable to get proto file. But I have empty proto folder
@valeriasalas47004 жыл бұрын
Is the code available for use?
@coolrobotics4 жыл бұрын
The code is available in the description of the video.