C30 Compiling problems
Moderator: paolo.gai
Re: C30 Compiling problems
Hi again,
lately i've been focusing on other tasks related with my project and that's why I didn't had much time to post.
So far, and thanks to your advice, I managed to test bluetooth on epuck succesfully. Rigth now motors, leds and bluetooth work quite nice under erika but I still have to integrate in the project the camera, the persence sensors and the speakers. Since now i'm quite busy with comunication tasks (one of the objectives is to get one epuck and one lego NXT to team up via bluetooth) focusing again on erika integration can take me a while.
Also, I talked with my bosses and they told me that e-puck libraries are open source (they didn't especify which kind). So as soon as I get a full demo with all sensons + motors working under erika I could provide you with the project if you are stll interested.
Greetings.
lately i've been focusing on other tasks related with my project and that's why I didn't had much time to post.
So far, and thanks to your advice, I managed to test bluetooth on epuck succesfully. Rigth now motors, leds and bluetooth work quite nice under erika but I still have to integrate in the project the camera, the persence sensors and the speakers. Since now i'm quite busy with comunication tasks (one of the objectives is to get one epuck and one lego NXT to team up via bluetooth) focusing again on erika integration can take me a while.
Also, I talked with my bosses and they told me that e-puck libraries are open source (they didn't especify which kind). So as soon as I get a full demo with all sensons + motors working under erika I could provide you with the project if you are stll interested.
Greetings.
Re: C30 Compiling problems
Hi!
This is really nice, and it is really a good news!
If you have some example to provide to the users of ERIKA, that would be really nice... We could also make a wiki page about the work you have done...
Let us know...
Regards,
Paolo
This is really nice, and it is really a good news!
If you have some example to provide to the users of ERIKA, that would be really nice... We could also make a wiki page about the work you have done...
Let us know...
Regards,
Paolo
Re: C30 Compiling problems
Hi again!
Sorry for the delay but I've been busy doing other stuff related with the project that kept me away from the funny ones :)
Finally I've deloped a base project that could be use as an example of EE usage for an epuck as well as sort of useful since can be used to calibrate/test the epuck odometry.
It also has a simple implementation of breitenberg algorithm so they can check out how the IR proximity sensors work under EE (I had to modify the original libraries).
Since the e-puck libraries are some sort of open source (or so they say on the webpage I couldn't find anywere the actual license text) I included locally all the files needed to compile the project so only is necessary to import it under RT-DRUID and build it. However I couldn't include the files "p30f6014A.h" and "p30f6014A.inc" due to copyright issues (Microchips hold the copyright for those files).
"p30f6014A.inc" can be found in C:\Program Files (x86)\Microchip\mplabc30\v3.25\support\dsPIC30F\inc
"p30f6014A.h" can be found in C:\Program Files (x86)\Microchip\mplabc30\v3.25\support\dsPIC30F\h
It's important to note that some of the e-puck libraries have minor modifications (especially the ones written in assembler as it has been discused on this thread) so if anybody wants to use a newer version keep that in mind.
For connecting to the epuck you'll need the hyperterminal utility also attached to this post.
And that's all for now.
If you need anything else just ask. I'll be glad to help even though it can take me some time to get things done as you could see :)
Feel free to include anything you want on the wiki.
Regards.
EDIT: JUST REALIZED THAT AFTER REMOVING SOME DEBUG MESSAGES THE TESTS 1 AND 2 STOPPED WORKING. This happened before, and is caused because the engine need some delay between "set_speed" calls. I'll re-add them and upload the new version ASAP
Sorry for the delay but I've been busy doing other stuff related with the project that kept me away from the funny ones :)
Finally I've deloped a base project that could be use as an example of EE usage for an epuck as well as sort of useful since can be used to calibrate/test the epuck odometry.
It also has a simple implementation of breitenberg algorithm so they can check out how the IR proximity sensors work under EE (I had to modify the original libraries).
Since the e-puck libraries are some sort of open source (or so they say on the webpage I couldn't find anywere the actual license text) I included locally all the files needed to compile the project so only is necessary to import it under RT-DRUID and build it. However I couldn't include the files "p30f6014A.h" and "p30f6014A.inc" due to copyright issues (Microchips hold the copyright for those files).
"p30f6014A.inc" can be found in C:\Program Files (x86)\Microchip\mplabc30\v3.25\support\dsPIC30F\inc
"p30f6014A.h" can be found in C:\Program Files (x86)\Microchip\mplabc30\v3.25\support\dsPIC30F\h
It's important to note that some of the e-puck libraries have minor modifications (especially the ones written in assembler as it has been discused on this thread) so if anybody wants to use a newer version keep that in mind.
For connecting to the epuck you'll need the hyperterminal utility also attached to this post.
And that's all for now.
If you need anything else just ask. I'll be glad to help even though it can take me some time to get things done as you could see :)
Feel free to include anything you want on the wiki.
Regards.
EDIT: JUST REALIZED THAT AFTER REMOVING SOME DEBUG MESSAGES THE TESTS 1 AND 2 STOPPED WORKING. This happened before, and is caused because the engine need some delay between "set_speed" calls. I'll re-add them and upload the new version ASAP
- Attachments
-
- epuckErikaExample.zip
- Example of an application for the e-puck educational robot under Erika Enterprise
- (47.78 KiB) Downloaded 431 times
Re: C30 Compiling problems
Done! and this time is properly tested :P
The project attached to this post is the good one.
Regards.
The project attached to this post is the good one.
Regards.
- Attachments
-
- epuckErikaExample.zip
- (47.85 KiB) Downloaded 453 times
Re: C30 Compiling problems
Hi!
Thanks for your message!
I guess we will do as follows:
- I will remove the Hyperterminal from the forum (it's not open-source and it is copyrighted by Microsoft!)
- We'll include the e-Puck demo you did in the ERIKA SVN, so that others will make use of it.
- After that, it would be nice to contact the e-puck guys... maybe after the release of the 1.6.0!
Ciao,
PJ
Thanks for your message!
I guess we will do as follows:
- I will remove the Hyperterminal from the forum (it's not open-source and it is copyrighted by Microsoft!)
- We'll include the e-Puck demo you did in the ERIKA SVN, so that others will make use of it.
- After that, it would be nice to contact the e-puck guys... maybe after the release of the 1.6.0!
Ciao,
PJ
Re: C30 Compiling problems
Ok, I have just removed the Hyperterminal utility.
I suggest using similar software such as Putty for example...
http://www.chiark.greenend.org.uk/~sgta ... nload.html
bye,.
PJ
I suggest using similar software such as Putty for example...

http://www.chiark.greenend.org.uk/~sgta ... nload.html
bye,.
PJ
Re: C30 Compiling problems
hi!
i m new to RT Druid. I m trying to build a demo project of flex but i m getting the following display..... please help me out.
I have given the correct path for the compiler and assembler.....
C:\Evidence\bin\mymake_cygwin.bat all
MAKE_DIRECTORIES
MAKE_DIRECTORIES (after a clean)
i m new to RT Druid. I m trying to build a demo project of flex but i m getting the following display..... please help me out.
I have given the correct path for the compiler and assembler.....
C:\Evidence\bin\mymake_cygwin.bat all
MAKE_DIRECTORIES
MAKE_DIRECTORIES (after a clean)
Re: C30 Compiling problems
Hello,gagandeep wrote:hi!
i m new to RT Druid. I m trying to build a demo project of flex but i m getting the following display..... please help me out.
I have given the correct path for the compiler and assembler.....
C:\Evidence\bin\mymake_cygwin.bat all
MAKE_DIRECTORIES
MAKE_DIRECTORIES (after a clean)
which version of RT-Druid are you using? "C:\Evidence\bin\mymake_cygwin.bat" is quite old ...
Regards,
Nicola
Re: C30 Compiling problems
Hi!nicola.serreli wrote:Hello,gagandeep wrote:hi!
i m new to RT Druid. I m trying to build a demo project of flex but i m getting the following display..... please help me out.
I have given the correct path for the compiler and assembler.....
C:\Evidence\bin\mymake_cygwin.bat all
MAKE_DIRECTORIES
MAKE_DIRECTORIES (after a clean)
which version of RT-Druid are you using? "C:\Evidence\bin\mymake_cygwin.bat" is quite old ...
Regards,
Nicola
Thanks for replying. I am using Version 1.4.1. Are there any problems in using this version?
Then which one should i use?
Regards,
Gagandeep
Re: C30 Compiling problems
Hello,
RT-Druid/Erika Enterprise 1.4.1 is more than 4 years old. It contains less architectures, less features and was tested to work with compilers of that period.
The current version is 2.0.
You can find it at http://erika.tuxfamily.org/erika-for-mu ... vices.html.
Note that this version is just a zip file that you can unzip wherever you want and use it (even if is not a requirement, is strongly recommended to use a path without white-spaces).
There are two types of packages:
regards,
Nicola
RT-Druid/Erika Enterprise 1.4.1 is more than 4 years old. It contains less architectures, less features and was tested to work with compilers of that period.
The current version is 2.0.
You can find it at http://erika.tuxfamily.org/erika-for-mu ... vices.html.
Note that this version is just a zip file that you can unzip wherever you want and use it (even if is not a requirement, is strongly recommended to use a path without white-spaces).
There are two types of packages:
- CLI packages can be used only from command line/scripts
- IDE packages contains also the GUI
regards,
Nicola
Re: C30 Compiling problems
Hi!nicola.serreli wrote:Hello,
RT-Druid/Erika Enterprise 1.4.1 is more than 4 years old. It contains less architectures, less features and was tested to work with compilers of that period.
The current version is 2.0.
You can find it at http://erika.tuxfamily.org/erika-for-mu ... vices.html.
Note that this version is just a zip file that you can unzip wherever you want and use it (even if is not a requirement, is strongly recommended to use a path without white-spaces).
There are two types of packages:If you want to use the latest tested version, you should periodically update the package, as described at http://erika.tuxfamily.org/wiki/index.p ... d_RT-Druid
- CLI packages can be used only from command line/scripts
- IDE packages contains also the GUI
regards,
Nicola
Thank you for your advice , i switched to latest version 2.0 and it helped me.
Now compilation is completed :) .
Regards,
Gagandeep