Robot Arm with PS3 Controller and ESP32 | Record and Play feature 🔥

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • НаукаНаука

Комментарии • 123

  • @shajudeen4554
    @shajudeen4554 Год назад +4

    I have issues about connecting my PS3 controller to ESP32.

  • @sumachummar2805
    @sumachummar2805 2 месяца назад +1

    Sir, what is the alternative for adaptor for power supply?
    Or please give a less price adaptor

    • @hashincludeelectronics
      @hashincludeelectronics  2 месяца назад +1

      @@sumachummar2805 you can use any 5v supply which will provide more than 3A current. Try something like this amzn.to/4fotbaS

  • @yuvrajparab3278
    @yuvrajparab3278 2 года назад +2

    please make very simple robotic arm
    by using this parts only ,
    1) Arduino uno,
    2) 4 potentiometer,
    3) 2 button ,
    4) 4axis arm

    • @hashincludeelectronics
      @hashincludeelectronics  2 года назад +2

      Thanks for your comments 👍🏻sure I will try to make this in coming days. It will be very simple and short video though. I can understand the potentiometer use , however what will these 2 buttons do ?

    • @yuvrajparab3278
      @yuvrajparab3278 2 года назад

      @@hashincludeelectronics
      2 button use for record and play function
      watch this video
      ruclips.net/video/0RcYpUzX4UA/видео.html
      and
      explain everything in video
      and use ardiuo uno.

  • @SolehAlYunus
    @SolehAlYunus Год назад +3

    Error = 'vector' in namespace 'std' does not name a template type
    how to fix it sir?

  • @fouzanjaved5441
    @fouzanjaved5441 2 года назад +3

    sir, can you make a 4 dof ps3 controlled robotic arm car and also give me a circuit diagram and the code for the 4 dof ps3 controlled robotic arm car?

    • @hashincludeelectronics
      @hashincludeelectronics  2 года назад +1

      This project is in my list and soon will have video . I am working on it .👍🏻

  • @eatechnical2033
    @eatechnical2033 13 дней назад +1

    Sir I have a problem, my PS3 controller not detected in six axis pair tool current master no device found error, please help me to fix this problem

  • @ErikGabriel-pk3gz
    @ErikGabriel-pk3gz 3 месяца назад +1

    Does it matter what type of cable you use to connect the controller to the computer?

    • @hashincludeelectronics
      @hashincludeelectronics  3 месяца назад

      Yes. I observed the same . Some cables do not work while other works . Not sure if these data cables have required data wires . 👍🏻👏🏻

  • @Adriana-qw7lw
    @Adriana-qw7lw Месяц назад +1

    Olá, uma dúvida, nesse projeto, ao invés de se usar o cabo para que ele possa funcionar, é possível que use uma bateria externa como bateria de Lion ou pilhas, para que a garra funciona sem estar conectada ao cabo?

    • @hashincludeelectronics
      @hashincludeelectronics  Месяц назад

      Yes we can 👍🏻👏🏻

    • @Adriana-qw7lw
      @Adriana-qw7lw Месяц назад

      @@hashincludeelectronics Então é possível conectar todos os cabos jumper que sobraram nas pontas, e conectar por exemplo, com uma base de pilhas? No caso soldar as pontas dos cabos jumper com os fios da base de pilhas. E em seguida colocar as pilhas?

  • @sumachummar2805
    @sumachummar2805 2 месяца назад +1

    Sir can you please suggest me another link where i can get same arm kit. In Amazon, it will take 1 month to deliver

  • @ErikGabriel-pk3gz
    @ErikGabriel-pk3gz 3 месяца назад +1

    Hello, a question if when I want to put the Mac in the program it tells me that it cannot find it and it tries to install it but it does not install, what can I do in that case?

    • @hashincludeelectronics
      @hashincludeelectronics  3 месяца назад

      Please check the video slowly and carefully and follow exact steps 👍🏻👏🏻

  • @mullashabana1835
    @mullashabana1835 Месяц назад +1

    When i connected my ps3 controller to laptop and when i opened my six axis pair tool it is Showing no device found

  • @techplanethk
    @techplanethk 2 года назад +1

    Great! Thanks for the video!

  • @TGV_59
    @TGV_59 5 месяцев назад +1

    Only the gripper works for me, the rest of the servos work only one way, what is the reason?

    • @hashincludeelectronics
      @hashincludeelectronics  5 месяцев назад

      Please check if all servos work without assembling arm 👍🏻👏🏻

    • @TGV_59
      @TGV_59 5 месяцев назад

      @@hashincludeelectronics The drive reserve only works clockwise

  • @ErikGabriel-pk3gz
    @ErikGabriel-pk3gz 4 месяца назад +1

    Hello, If I add more servo motors and add it, for example, to the triangle button, will the x or y axis be added?

    • @hashincludeelectronics
      @hashincludeelectronics  4 месяца назад

      Yes you can add more servos in it 👍🏻👏🏻

    • @ErikGabriel-pk3gz
      @ErikGabriel-pk3gz 4 месяца назад +1

      If you add more servos, only the parts in which they appear change, do you add more pins and more buttons?

    • @hashincludeelectronics
      @hashincludeelectronics  4 месяца назад

      @@ErikGabriel-pk3gz you will have to make changes in code and also use the available pins for connections 👍🏻👏🏻

    • @ErikGabriel-pk3gz
      @ErikGabriel-pk3gz 4 месяца назад +1

      In this part of the code the number 4 indicates the number of servos that you are occupying or what it means
      /This is to move servo to initial position slowly. First 4 steps are initial position
      for (int i = 0; i < 4 &&
      playRecordedSteps; i++)
      {

    • @hashincludeelectronics
      @hashincludeelectronics  4 месяца назад

      @@ErikGabriel-pk3gz let me check and confirm 👍🏻👏🏻

  • @tipibandung4660
    @tipibandung4660 11 месяцев назад +1

    Good job Brother,...

  • @kalaimani08
    @kalaimani08 8 месяцев назад +1

    Hi I have done everything as per the video and connected the PS3 controller with ESP32 but the servos not responding....is there any particular version of PS3 host we need to install in order to establish communication

  • @MyHobbyProjects-mg77
    @MyHobbyProjects-mg77 10 месяцев назад +1

    I have an 12volt 5amps adaptor...can i use it....esp32 module can withstand or not??

  • @kombatmaster1540
    @kombatmaster1540 10 месяцев назад +1

    thank you very much for making this video. is there a way to get this method to work with more then 4 servo motors. and if so how many servos can be added?

    • @hashincludeelectronics
      @hashincludeelectronics  10 месяцев назад +1

      Yes you can add more servos. There are many buttons left in controller . But for that you will have to make changes in code . Please check the video and try to add it 👍🏻👏🏻

    • @kombatmaster1540
      @kombatmaster1540 10 месяцев назад

      @@hashincludeelectronics awesome thank you very much for the info.

  • @MyHobbyProjects-mg77
    @MyHobbyProjects-mg77 10 месяцев назад +1

    In my esp32 module there is only 30pins....is work on that!

    • @hashincludeelectronics
      @hashincludeelectronics  10 месяцев назад

      Please check if all pins are there in your module which are used in this project . If yes then it will work 👍🏻👏🏻please check the circuit diagram to see what all pins are used .

    • @MyHobbyProjects-mg77
      @MyHobbyProjects-mg77 10 месяцев назад

      @@hashincludeelectronics thank you so much

  • @gamingwithprakalp
    @gamingwithprakalp 2 года назад +1

    Very nice brother

  • @MarcosJader1
    @MarcosJader1 Год назад +1

    Hello everything is fine? Would you like to know the generic control you are using? Do you have a specific model. I bought several generics and none can communicate esp32. I'm using ps3controller.h.
    The control I bought it communicates with the cell phone without problem but not like the Esp32. I believe the data package that the control sends is not matching the library. Thank you for your attention. Thanks!

  • @ZarooniZ
    @ZarooniZ Год назад +1

    Ps3 wireless controller cannot connect to esp32 ~ blinking

  • @LohithvarmaGandham
    @LohithvarmaGandham 8 месяцев назад +1

    Sir can I buy the arm kit somewhere else it's not. Available in amazon sir

  • @martinisaac9448
    @martinisaac9448 Год назад +1

    I'm having the same problem - "Compilation error: 'vector' in namespace 'std' does not name a template type" i've read the previous replies and the code is correct and i'm using the 38pin esp32 - any suggestions?

  • @qequs
    @qequs 11 месяцев назад +2

    Solo me funcionan los servis hacia un lado al otro el joystick no responde

    • @hashincludeelectronics
      @hashincludeelectronics  11 месяцев назад

      You need to provide good power supply. It should provide more more than 3A current 👍🏻👏🏻

    • @HivemindZalgo
      @HivemindZalgo 4 месяца назад

      Hey, Qequs, ¿pudiste solucionar este problema? A mi me pasa lo mismo el brazo se mueve hacia un lado pero no hay vuelta atrás

  • @mohammedalyosefey7342
    @mohammedalyosefey7342 9 месяцев назад +1

    Where i can find the arm kit 3d printer diagram

    • @hashincludeelectronics
      @hashincludeelectronics  8 месяцев назад

      You can buy this kit online . Please check the product link in the description 👍🏻👏🏻

  • @muhammadashrafbinazlana19e49
    @muhammadashrafbinazlana19e49 2 года назад +1

    sir its installation esp32 code first or bluetooth mac adress first sir?

    • @hashincludeelectronics
      @hashincludeelectronics  2 года назад

      You should get the Bluetooth mac address first and then upload the final code. for uploading the code into esp32 you have to install esp32 board into your Arduino ide. this is common step.

  • @SpottedEagleOwls
    @SpottedEagleOwls Год назад +1

    Genius

  • @YOUTUBE-AAREX-GAMING
    @YOUTUBE-AAREX-GAMING 7 месяцев назад +1

    Bro ps2x library not found error aa raha

    • @hashincludeelectronics
      @hashincludeelectronics  7 месяцев назад

      You need to install ps3 library . Please check the video 👍🏻👏🏻

  • @MyHobbyProjects-mg77
    @MyHobbyProjects-mg77 10 месяцев назад +1

    Gripper servo alone working bro...other 3 servos are not working!??

    • @hashincludeelectronics
      @hashincludeelectronics  9 месяцев назад

      Please check the video for any missing step 👍🏻👏🏻

    • @creativemt4065
      @creativemt4065 7 месяцев назад

      Bro, I am having the same problem. Did you figure it out. If you did please share your solution. Thank you!

    • @TGV_59
      @TGV_59 5 месяцев назад

      the same problem, did you manage to solve it?

    • @creativemt4065
      @creativemt4065 5 месяцев назад

      @@TGV_59 Nope. and I not sure why? Still trying to fix it. If you got to work please share. Sorry, bro!

  • @kaviarasank7
    @kaviarasank7 6 месяцев назад +1

    i cant able to connect the ps3 joystick to laptop
    what i can do

    • @hashincludeelectronics
      @hashincludeelectronics  6 месяцев назад

      Not exactly sure about that 👍🏻👏🏻

    • @kaviarasank7
      @kaviarasank7 6 месяцев назад

      @@hashincludeelectronics i change the mac id of the joystick but the esp32 does not pair to joystick

  • @darshanpdl
    @darshanpdl 5 месяцев назад +1

    Range ?

  • @ลากหัวคมๆ-ง8ฟ

    How to fix std::vector servoPins = error

  • @physicswallah_Shiksha
    @physicswallah_Shiksha 2 года назад +1

    sir can we use ps4 controller instead of ps3 controller

  • @renatosantos1971
    @renatosantos1971 Год назад +1

    Estou fazendo exatamente igual do vídeo, code, esquema tudo certinho, estou usando uma fonte de 2 amperes mais só funciona um servo os outros 3 não funcionam, alguem pode me ajudar?

    • @guilhermemagalhaes3252
      @guilhermemagalhaes3252 Год назад

      conseguiu resolver amigo ? estou com o mesmo problema

    • @renatosantos1971
      @renatosantos1971 Год назад

      @@guilhermemagalhaes3252 Não consegui mais descobri o problema, só a porta 33 do esp32 é pwm as outras do código são entrada de dados e não saída por isso não funcionam.

  • @liverecon769
    @liverecon769 Год назад +1

    Wroom or Wrover? In the picture you have one and then you recommend another in the comments

    • @hashincludeelectronics
      @hashincludeelectronics  Год назад

      It’s esp wroom 32 module . However while uploading code you need to select wroover board which works on wroom 32 module as well .

  • @Innovativetech-01
    @Innovativetech-01 8 месяцев назад +1

    Total cost

    • @hashincludeelectronics
      @hashincludeelectronics  8 месяцев назад +1

      Please add the cost of individual components to get the total cost . It depends upon where you buy these products and on how much quantity. 👍🏻👏🏻

  • @vishnugl1997
    @vishnugl1997 Год назад +1

    Robot Arm with PS3 Controller and ESP32 | Record and Play feature will run after power off and on

  • @RicardoCosta-uy7sr
    @RicardoCosta-uy7sr 4 месяца назад +1

    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:14:6: error: 'vector' in namespace 'std' does not name a template type
    std::vector servoPins =
    ^~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:14:1: note: 'std::vector' is defined in header ''; did you forget to '#include '?
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:3:1:
    +#include

    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:14:1:
    std::vector servoPins =
    ^~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:28:6: error: 'vector' in namespace 'std' does not name a template type
    std::vector recordedSteps;
    ^~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:28:1: note: 'std::vector' is defined in header ''; did you forget to '#include '?
    std::vector recordedSteps;
    ^~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino: In function 'void writeServoValues(int, int, bool)':
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:45:21: error: 'servoPins' was not declared in this scope
    servoPosition = servoPins[servoIndex].servo.read();
    ^~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:45:21: note: suggested alternative: 'ServoPins'
    servoPosition = servoPins[servoIndex].servo.read();
    ^~~~~~~~~
    ServoPins
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:58:3: error: 'servoPins' was not declared in this scope
    servoPins[servoIndex].servo.write(servoPosition);
    ^~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:58:3: note: suggested alternative: 'ServoPins'
    servoPins[servoIndex].servo.write(servoPosition);
    ^~~~~~~~~
    ServoPins
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino: In function 'void recordRobotArmStep(int, int)':
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:64:7: error: 'recordedSteps' was not declared in this scope
    if (recordedSteps.size() == 0) // We will first record initial position of all servos.
    ^~~~~~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:64:7: note: suggested alternative: 'recordedStep'
    if (recordedSteps.size() == 0) // We will first record initial position of all servos.
    ^~~~~~~~~~~~~
    recordedStep
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:66:25: error: 'servoPins' was not declared in this scope
    for (int i = 0; i < servoPins.size(); i++)
    ^~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:66:25: note: suggested alternative: 'ServoPins'
    for (int i = 0; i < servoPins.size(); i++)
    ^~~~~~~~~
    ServoPins
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:78:3: error: 'recordedSteps' was not declared in this scope
    recordedSteps.push_back(recordedStep);
    ^~~~~~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:78:3: note: suggested alternative: 'recordedStep'
    recordedSteps.push_back(recordedStep);
    ^~~~~~~~~~~~~
    recordedStep
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino: In function 'void playRecordedRobotArmSteps()':
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:84:7: error: 'recordedSteps' was not declared in this scope
    if (recordedSteps.size() == 0)
    ^~~~~~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:84:7: note: suggested alternative: 'recordSteps'
    if (recordedSteps.size() == 0)
    ^~~~~~~~~~~~~
    recordSteps
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:91:34: error: 'recordedSteps' was not declared in this scope
    RecordedStep &recordedStep = recordedSteps[i];
    ^~~~~~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:91:34: note: suggested alternative: 'recordedStep'
    RecordedStep &recordedStep = recordedSteps[i];
    ^~~~~~~~~~~~~
    recordedStep
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:92:32: error: 'servoPins' was not declared in this scope
    int currentServoPosition = servoPins[recordedStep.servoIndex].servo.read();
    ^~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:92:32: note: suggested alternative: 'ServoPins'
    int currentServoPosition = servoPins[recordedStep.servoIndex].servo.read();
    ^~~~~~~~~
    ServoPins
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:102:23: error: 'recordedSteps' was not declared in this scope
    for (int i = 4; i < recordedSteps.size() && playRecordedSteps ; i++)
    ^~~~~~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:102:23: note: suggested alternative: 'recordSteps'
    for (int i = 4; i < recordedSteps.size() && playRecordedSteps ; i++)
    ^~~~~~~~~~~~~
    recordSteps
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:106:5: error: 'servoPins' was not declared in this scope
    servoPins[recordedStep.servoIndex].servo.write(recordedStep.value);
    ^~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:106:5: note: suggested alternative: 'ServoPins'
    servoPins[recordedStep.servoIndex].servo.write(recordedStep.value);
    ^~~~~~~~~
    ServoPins
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino: In function 'void notify()':
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:127:7: error: 'recordedSteps' was not declared in this scope
    recordedSteps.clear();
    ^~~~~~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:127:7: note: suggested alternative: 'recordSteps'
    recordedSteps.clear();
    ^~~~~~~~~~~~~
    recordSteps
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino: In function 'void setUpPinModes()':
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:191:23: error: 'servoPins' was not declared in this scope
    for (int i = 0; i < servoPins.size(); i++)
    ^~~~~~~~~
    C:\Users\Ricardo\Downloads\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller-main\Robot_Arm_PS3_Controller\Robot_Arm_PS3_Controller.ino:191:23: note: suggested alternative: 'ServoPins'
    for (int i = 0; i < servoPins.size(); i++)
    ^~~~~~~~~
    ServoPins
    exit status 1
    Compilation error: 'vector' in namespace 'std' does not name a template type

  • @SolehAlYunus
    @SolehAlYunus Год назад +3

    Error = 'vector' in namespace 'std' does not name a template type
    how to fix it sir?

    • @didzi6728
      @didzi6728 Год назад

      #include

    • @SolehAlYunus
      @SolehAlYunus Год назад

      @Didzi Is it guaranteed that you can?

    • @didzi6728
      @didzi6728 Год назад

      @@SolehAlYunus Yes! To be able to use vectors or other types of containers, you must add the line at the begining of your code.

  • @SolehAlYunus
    @SolehAlYunus Год назад +2

    Error = 'vector' in namespace 'std' does not name a template type
    how to fix it sir?

    • @hashincludeelectronics
      @hashincludeelectronics  Год назад

      Make sure you copy the entire code from github link . Don’t miss any lines in the beginning .

    • @SolehAlYunus
      @SolehAlYunus Год назад +1

      @@hashincludeelectronics I make sure I download it on the Github link you gave me, not even one line is missing. but yeah that's the error like that

    • @hashincludeelectronics
      @hashincludeelectronics  Год назад

      @@SolehAlYunus ok . Add this line at the beginning of code #include

    • @SolehAlYunus
      @SolehAlYunus Год назад

      @@hashincludeelectronics now the error is "vector.h No Such file or directory"

    • @SolehAlYunus
      @SolehAlYunus Год назад +1

      @@hashincludeelectronics where do i get the "vector.h" library file?