Notifications
Clear all

[Closed] Hi, My name is Jim, I'm from Edinburgh and new to forum.

22 Posts
4 Users
2 Likes
1,615 Views
(@jrrobb)
Member
Joined: 1 year ago
Posts: 10
Topic starter  

@zander Hi Ron,

Sorry I'm giving you a hard time, but this time I carried out your instructions properly and as you see it complied.

Regards,  Jim

Screenshot 2023 05 02 114438

 


   
(@jrrobb)
Member
Joined: 1 year ago
Posts: 10
Topic starter  

@zander Hi Ron,

Sorry for giving you a hard time, but I have now carried out your instructions properly and as you can see it has compiled OK.

Screenshot 2023 05 02 114438

 


   
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6981
 

@jrrobb GREAT, Now we know everything is fine with your basic setup.

The sketch you had trouble with originally came from where? (Give me the link you used to get it so I can try it too)

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
(@jrrobb)
Member
Joined: 1 year ago
Posts: 10
Topic starter  

@zander Hi Ron,

Here is the link to the Mecanum Wheel Robot Car 4wd test.

 


   
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6981
 

@jrrobb Those are source files, are you able to compile them now? In fact after a quick look they appear to be Bill's files. Why did you post them?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
(@jrrobb)
Member
Joined: 1 year ago
Posts: 10
Topic starter  

@zander Hi Ron, These are the only codes I have and they were sent to me when I registered to the forum and initially reported my problem. The files (codes) do not compile, this is the problem that started this conversation.  I have built the robot but cannot proceed beyond the "4wd test" .

I first became intrigued with mecanum wheels and partially dismantled one of my RPi robots to convert it to Bill's model in the tutorial. At first I copied the code using screen shots but couldn't get all of the wheels to work so I completely dismantled the robot and rebuilt following Bill's tutorial. I even bought three more ESP32 from Amazon making sure I got the same model as detailed in the tutorial (ESP32 DevKit C ). However I have found that Arduino does not list this ESP32 DevKit C model. This is the position I am now at. 

Regards,  Jim 

 


   
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6981
 

@jrrobb A small favour, Jim. Code is always called code. There is NO such thing as 'CODES'!

2nd favour. Start a new topic in the appropriate forum if you need to. I doubt you need to though, as there is no problem with Bill's sketches. OR if you need to post further on this, use the Topic @codecage set up for you. 

I have downloaded the same files, and they all compiled ok. Two of them complained about missing libraries, so I just clicked the Library Icon on the left of the IDE, typed the name in the Library Search bar and when it popped up, clicked install.

The key thing to understand is that Bill does actually build all these projects himself, so the safe assumption is they do work. If they do not work, then look for what is different in your environment. As far as I can tell your environment is fine since you successfully ran the little test I gave you.

I just used the DOIT ESP32 board because it seldom matters what board you use unless you want to take advantage of one of the many technical specs of a specific board. AS you can see, it compiles fine but may fail later. That is a separate exercise. Attached is a picture showing all 4 sketches compiling successfully.

If you change your compile warnings to ALL you will get warnings for two of the sketches. These can be ignored as they are just warnings in the library code. Change the waning level back to 'default' and the code will compile fine. Pictures attached.

The pictures show that I used 3 different esp32 boards, that all work so that is not the problem. 

Take one of the 4 sketches, use the DOIT esp32 board (just search on doit as seen in the picture.

After making those changes, do a compile and show me ALL the messages in red. There should NOT be any.

Screenshot 2023 05 04 at 05.48.10
Screenshot 2023 05 04 at 05.38.05
Screenshot 2023 05 04 at 05.50.43
Screenshot 2023 05 04 at 05.50.25
Screenshot 2023 05 04 at 05.56.20
Screenshot 2023 05 04 at 05.59.47

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
Page 2 / 2