2

Author Topic: Re: 50 dollar robot building error  (Read 1709 times)

0 Members and 1 Guest are viewing this topic.

Offline ZevooTopic starter

  • Jr. Member
  • **
  • Posts: 26
  • Helpful? 1
Re: 50 dollar robot building error
« on: November 28, 2014, 11:15:47 AM »
So I have been following every step required to program the robot.
1. Add photovorev1.c to the project
2. Add SoRUtils
3. Set the external make file as 'makefile'
4. push rebuild solution

And I get an error:

I remember being able to build the project without problem but unfortunately I used a wrong Hexfile to program my robot so it didn't work. xD
Now that I know which one to use I cant build the code ;'( Help!
« Last Edit: November 29, 2014, 09:33:25 PM by Zevoo »

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
Re: 50 dollar robot building error
« Reply #1 on: November 30, 2014, 05:55:38 PM »
Looks like some kind of config error - last image contains a 'path not found' error.
Hard to comment further as I don't use Atmel Studio
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline jkerns

  • Robot Overlord
  • ****
  • Posts: 270
  • Helpful? 12
Re: 50 dollar robot building error
« Reply #2 on: November 30, 2014, 06:56:29 PM »

3. Set the external make file as 'makefile'

Is it necessary to use an external makefile? Usually Atmel Studio builds just fine without playing around with makefiles. Are you following instructions for Atmel Studio or some other build environment?
I get paid to play with robots - can't beat that with a stick.

http://www.ltu.edu/engineering/mechanical/bachelor-science-robotics-engineering.asp

Offline ZevooTopic starter

  • Jr. Member
  • **
  • Posts: 26
  • Helpful? 1
Re: 50 dollar robot building error
« Reply #3 on: December 01, 2014, 09:01:45 AM »
I'm just following the fifty dollar robot tutorial which tells me to include the makefile. When I remove the makefile this is what I get:

Offline jkerns

  • Robot Overlord
  • ****
  • Posts: 270
  • Helpful? 12
Re: 50 dollar robot building error
« Reply #4 on: December 01, 2014, 10:13:21 AM »
It looks like it is not finding files where it expects to find them - mismatch between where they got unzipped and where Atmel Studio is looking? Perhaps you could keep adding the .c and .h files it can't find to your project until it has found them all. Or, sort out where it is looking and where the files are actually located.
I get paid to play with robots - can't beat that with a stick.

http://www.ltu.edu/engineering/mechanical/bachelor-science-robotics-engineering.asp

Offline ZevooTopic starter

  • Jr. Member
  • **
  • Posts: 26
  • Helpful? 1
Re: 50 dollar robot building error
« Reply #5 on: December 01, 2014, 10:21:07 AM »
I tried it before and it didnt seem to work but Ill try again and see if it works....

how can I change the location of where the atmel studio is suppose to be looking for the files though?

Offline ZevooTopic starter

  • Jr. Member
  • **
  • Posts: 26
  • Helpful? 1
Re: 50 dollar robot building error
« Reply #6 on: December 01, 2014, 12:45:42 PM »
I have first added the files that are on the picture. I built the code and it output an error SINGAL(SIG ADC) which I got a fix for before ISR(ADC vect). Rebuilt the code and it was successful. Uploaded the HEX file that was made when I built the code. Uploaded it to the robot but the robot didn't even move.  Then I realised that I didn't add the rest of the files shown on the same picture. Rebuilt the code and I got the following errors shown on the 2 picture.

 


Get Your Ad Here