I think the PSP will control it via web; the serial (TCP teminal) port is connected to the local router and the robot itself.
A.
Search found 51 matches
- Tue Mar 09, 2010 9:52 pm
- Forum: PSP Development
- Topic: psp controlled robot!
- Replies: 3
- Views: 6877
- Tue Mar 02, 2010 12:14 am
- Forum: PSP Development
- Topic: [Solved] Error on compiling LTE mod sample
- Replies: 2
- Views: 5972
Hi, first of all, remove the -I from INCDIR, and -L from LIBDIR, I don't think this is the main issue, but for cleanness... ;-) then, are there any other source files needed for this project .c, .c++, .cpp, etc.)? I fso, then add the relevant .o in the line OBJS, just leaving a space between them. H...
- Mon Mar 01, 2010 4:47 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
ok, finally, considering what is a relative, absolute and with or without drive for the libc, and having performed a bunch of tests with different paths (I guess I covered all the possibilities...) I see __psp_path_absolute perfectly suits my needs. Anyway, talking a bit about it has been nice. Chee...
- Sun Feb 28, 2010 6:13 pm
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
- Sun Feb 28, 2010 5:27 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
I think you should post the function once done, since it sounds helpful :-P I'll certainly do. Just few days to see if I can also get the relative paths work for different devices, storing them during chdir's. I have really done almost nothing after the last release (due to so many exams), but I've...
- Sat Feb 27, 2010 9:26 pm
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
Hi there, Of course not! well, thanks for trusting... :-D It was just that I had posted about getcwd here twice, and didn't got an answer xD yeah, I see, but getcwd is one thing, but expanding a relative path prepending the getcwd result and then resolving all the . and .. entries is another. good l...
- Sat Feb 27, 2010 6:45 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
I don't see why can't you use getcwd. I do use it. The thing is that I _want_ to expand relative paths (including . and ..) to absolute ones, no matter whther they exist or not. So far, realpath doesn't suit my needs, as it returns NULL for non existen paths. __psp_path_absolute returns wrong resul...
- Sat Feb 27, 2010 6:15 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
- Fri Feb 26, 2010 5:44 pm
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
- Fri Feb 26, 2010 5:15 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
realpath
ok, as I said, it works... but... is it correct, that if I try to explode a path that doesn't exist, it returns NULL? I see in the man pages that it's buggy, so does this behavior fall into the word "buggy"? If it _is_ so, I think I'll stuck with my implementation; maybe extend it a little...
- Thu Feb 25, 2010 6:25 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
ehm... it works. :-Djimparis wrote:Oh, you said C, not C++.
Wrap the prototype:Code: Select all
extern "C" { char *realpath(const char *path, char *resolved_path); }
Thank you... gonna save tip this for future issues.
- Wed Feb 24, 2010 7:10 pm
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
here's the compilation log (hope it's what you asked) rm -f empty.elf empty.prx main.o /home/batman/Projects/PSP/library/utils.o /home/batman/Projects/PSP/library/fileutils.o /home/batman/Projects/PSP/psplib/pspapplication.o /home/batman/Projects/PSP/psplib/pspcrt.o PARAM.SFO EBOOT.PBP EBOOT.PBP psp...
- Wed Feb 24, 2010 6:07 pm
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
- Wed Feb 24, 2010 5:49 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
It's there... maybe you have an old newlib or you're using psplibc or something. try: psp-nm /usr/local/pspdev/psp/lib/libc.a | grep realpath this is what I got: realpath.o: 00000000 T realpath Don't have a clue of what this may mean, but looks like I have it... so I need to compile the application...
- Sun Feb 21, 2010 11:42 pm
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
- Sat Feb 20, 2010 5:52 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
- Sat Feb 20, 2010 5:23 am
- Forum: PSP Development
- Topic: fopen VS. sceIoOpen ?
- Replies: 20
- Views: 26463
included the case after a suspend mode ? I have always been told that before going to suspend mode I need to save my open files (together with theis file positions, of course), if any., and then allow suspend. When resuming from suspend (there is the callback...) reopen the files that were open and...
- Tue Feb 16, 2010 7:58 am
- Forum: PSP Development
- Topic: fopen VS. sceIoOpen ?
- Replies: 20
- Views: 26463
I've tried sceIoOpen as I have used fopen. However, this results in error: 0x8002032c this looks like the dwd (current working directory) has not been set. I don't know how to set it, (I had a thread few days ago about somenting smilar which I solved my way...) But from the params passed to your pr...
- Sun Feb 14, 2010 6:09 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
Thank you both for the answer. actually, I don't need to change the directory, so sceIoChdir has no use for me. Finally I ended up writing a function from scratch; it _does_ know the base folder to use in case of relative paths (the running folder I can get from argv[0], and that would eventually ch...
- Sat Feb 13, 2010 4:43 am
- Forum: PSP Development
- Topic: paths
- Replies: 35
- Views: 57027
paths
Hi all, sorry to ask maybe a stupid question, but I'm dealing with paths and filenames, and would like to know if there si a function for expanding a relative path to an absolute one. I'm "pretty" new to the "C" language, and after having find'd grep'd the pspdsk and the internet...
- Wed Feb 10, 2010 11:54 pm
- Forum: PSP Development
- Topic: threads
- Replies: 7
- Views: 6029
You could write your own callback mechanism using a thread that checks the keys and on changes calls another function (your callback function). yes, indeed that is what I was finally worging on, today... seems the only possibility. Anyway, as I see I cannot have two threads working at the same time...
- Wed Feb 10, 2010 6:15 pm
- Forum: PSP Development
- Topic: threads
- Replies: 7
- Views: 6029
Can I ask why you want that? It doesn't seem all that useful. of course you can ask; just because I would like to implement something like a keys (and not only) buffer The callback for the analog joystick sounds like a bad requirement - how far should the nub move before you get a callback, for ins...
- Tue Feb 09, 2010 7:36 am
- Forum: PSP Development
- Topic: threads
- Replies: 7
- Views: 6029
- Tue Feb 09, 2010 7:31 am
- Forum: PSP Development
- Topic: freetype
- Replies: 6
- Views: 4558
Re: freetype
Ben, And remember: intraFont does NOT render truetype fonts, but the PSPs internal *.pgf fonts, which you get to see in the XMB, dialogs, etc.) uh... sorry, I didn't read carefully... thought that the fontloader thing referred to the intrafont stuff. So, I think I found everything out and nothing fa...
- Tue Feb 09, 2010 5:52 am
- Forum: PSP Development
- Topic: threads
- Replies: 7
- Views: 6029
threads
Hi all, sorry for the topic, but couldn't find anything better. Here's what I need: a procedure that is being constantly called every certain amount of time (I don't care about how often, provided I can count on it being every frame-start, or 60 times a second... I think it should be enough). I gues...
- Tue Feb 09, 2010 5:37 am
- Forum: PSP Development
- Topic: freetype
- Replies: 6
- Views: 4558
freetype
ok guys, thanks for the tips. I took a look at the pgefont library, and was able to find out what I needed to get started: load library, load face, load 255 glyphs... Now, I have some questions: 1. is it true that I have to instantiate a face for every size I need, and then have all the glyphs "...
- Fri Feb 05, 2010 4:09 am
- Forum: PSP Development
- Topic: freetype
- Replies: 6
- Views: 4558
Hi. Thanks both to BenHur and Carl0sgs. I'll try both solutions, but will probably go for the intrafont one. I just definitely need to use a TTF font, so if intrafont allows me to, I'll go for it. Be prepared to further questions... actually, I do everything with a framebuffer graphic library I made...
- Thu Feb 04, 2010 5:22 am
- Forum: PSP Development
- Topic: freetype
- Replies: 6
- Views: 4558
freetype
Hi guys,
I would like to have a look at this library for a project I am currently on, but I see it's not that easy... :-(
Could ayone point me to some tutorial and/or code snippet just to start out with something? Like just rendering a word on the PSP screen using a TTF (or similar) font.
TIA
A.
I would like to have a look at this library for a project I am currently on, but I see it's not that easy... :-(
Could ayone point me to some tutorial and/or code snippet just to start out with something? Like just rendering a word on the PSP screen using a TTF (or similar) font.
TIA
A.
- Thu Jan 28, 2010 5:28 pm
- Forum: PSP Development
- Topic: Building PRX using Code::Blocks without makefile
- Replies: 12
- Views: 14111
Have you been successfull in having C::B do all the things for you without any external makefile? I am using C::B as well, and would be interested in this...DirkJanssen wrote:Thanks that made a lot clear :D Have converted it to codeblocks now, will let you guys know if it worked! :D thanks again
Cheers, A.
- Sun Jan 10, 2010 7:09 am
- Forum: PSP Development
- Topic: Downloading a Text File
- Replies: 7
- Views: 4979