Search found 115 matches
- Tue Apr 25, 2017 8:02 am
- Forum: Automation, sensing and robotics
- Topic: Introducing my Raspberry Pi robot Piro2
- Replies: 1
- Views: 940
Introducing my Raspberry Pi robot Piro2
Hi all! http://piro.patrickaalto.com/Piro2Small.jpg Some of you may remember my original Piro robot from 2015 (https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=118716). Sadly I had to abandon that robot when moving to a new apartment. However, since summer of 2016 I have been working on a...
- Sun Sep 20, 2015 10:50 am
- Forum: Automation, sensing and robotics
- Topic: I2C-Bus Interference problems when using DC-Motors
- Replies: 2
- Views: 2075
Re: I2C-Bus Interference problems when using DC-Motors
Hi! Sorry to hear about your trouble.. I am using MPU6050 via I2C connection together with two DC motors (ZnDiy-BRY 12V 400rpm gear motor), and I have not had any problems with the I2C bus. I did solder capacitors to the motor poles when I got the motors, but have not done anything else for the pote...
- Sun Sep 20, 2015 6:04 am
- Forum: Automation, sensing and robotics
- Topic: Introducing Piro: My Raspberry Pi robot project
- Replies: 3
- Views: 2721
Re: Introducing Piro: My Raspberry Pi robot project
In case you are interested in following my Piro project, here is the latest video I just uploaded: https://youtu.be/ZyPCkt7Go4s I have still mainly been working on the balancing routine, but I was asked the demonstrate my robot project at work a week and a half ago, so I spent some time adding some ...
- Wed Sep 02, 2015 1:24 pm
- Forum: Automation, sensing and robotics
- Topic: PWM for servos, motors, and LEDs plus plus
- Replies: 71
- Views: 52481
Re: PWM for servos, motors, and LEDs plus plus
I'll continue experimenting, with upping the hardware clock I would get more steps, and if I add some low frequency software PWM to the mix, perhaps that would give sufficient resolution. I'll let you know what I eventually come up with, if you are interested. Pate Just an update to my previous que...
- Mon Aug 31, 2015 6:00 pm
- Forum: Automation, sensing and robotics
- Topic: PWM for servos, motors, and LEDs plus plus
- Replies: 71
- Views: 52481
Re: PWM for servos, motors, and LEDs plus plus
Thanks for the quick reply and ideas, joan! I'll continue experimenting, with upping the hardware clock I would get more steps, and if I add some low frequency software PWM to the mix, perhaps that would give sufficient resolution. I'll let you know what I eventually come up with, if you are interes...
- Mon Aug 31, 2015 3:56 pm
- Forum: Automation, sensing and robotics
- Topic: PWM for servos, motors, and LEDs plus plus
- Replies: 71
- Views: 52481
Re: PWM for servos, motors, and LEDs plus plus
Hello joan! First, big thanks for creating pigpio and making it available! I have been using it in my Piro robot project, and have found it to be very straightforward to use. I am using it to drive the PWM signals to the L298N motor controller driving two DC motors, using 6 GPIOs. I plan to also add...
- Mon Aug 24, 2015 4:18 am
- Forum: Automation, sensing and robotics
- Topic: Introducing Piro: My Raspberry Pi robot project
- Replies: 3
- Views: 2721
Re: Introducing Piro: My Raspberry Pi robot project
Hi Mark! Your PiBBOT (http://ozzmaker.com/2013/04/18/success-with-a-balancing-robot-using-a-raspberry-pi/) page has been pretty much my best reference when working on my Piro, thanks for your good description about filters and step by step guide about the PID algorithm! Those have been a great help ...
- Fri Aug 21, 2015 3:54 pm
- Forum: Automation, sensing and robotics
- Topic: Introducing Piro: My Raspberry Pi robot project
- Replies: 3
- Views: 2721
Introducing Piro: My Raspberry Pi robot project
Hi all! Introducing my Piro robot, using a Raspberry Pi 2 as its CPU. I have always been interested in robotics, but only recently when I got a Raspberry Pi 2 (originally for testing my rpix86 on it) I finally decided to actually build a robot myself. I am more interested in the software side of rob...
- Sun Jun 28, 2015 7:32 am
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released
rpix86 version 0.19 released! This version contains the following fixes and improvements: - Implemented missing FPU opcodes (TradeWars 2002). - Implemented JPE/JPO opcode hacks for TradeWars 2002. - Fixed DMA current register off-by-1 problem (Tyrian 2000). You can download the latest version direc...
- Fri Jun 26, 2015 12:05 pm
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released
Ok, thanks for the video! I hadn't realized you run rpix86 within the X environment. Can you check whether the mouse works when running from the console shell prompt? I believe those two run environments have different mouse emulation, so it is possible that the mouse works better when running rpix8...
- Fri Jun 26, 2015 4:40 am
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released
Sorry, I don't see the video.
Could you perhaps post the video to Youtube and send me a link (in a private message if you wish)?
Or perhaps the video is just waiting for moderation or something?
Pate
Could you perhaps post the video to Youtube and send me a link (in a private message if you wish)?
Or perhaps the video is just waiting for moderation or something?
Pate
- Wed Jun 24, 2015 2:18 pm
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released
Hello Orotomo, welcome to the forum! I think I understand your description of the problem, however, it looks like I would need to take a look at the game itself to be able to figure out what goes wrong. I don't have that game myself, and it seems not to be freely downloadable, so I am not able to he...
- Sat Jun 20, 2015 12:44 pm
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released
Hello bigrip, welcome to the forum! Can you run ls -al commands in your /dev/input and /dev/input/by-id folders, and then copy the result here? I don't need the actual files (and they are virtual files so you could not copy them anyways), I just need to see the names of the files. This might give me...
- Fri Jun 19, 2015 10:37 am
- Forum: C/C++
- Topic: printf not printing doubles (solved!)
- Replies: 14
- Views: 14197
Re: printf not printing doubles (solved!)
@Paeryn: Thanks, it looks like I have completely missed that 8-byte alignment part of the AAPCS! Very embarrassing... Or perhaps I have just forgotten all about it as it has not bitten me until now? Anyways, I'll be sure to remember it from now on. :oops: @PeterO: Yes, you are correct that I should ...
- Fri Jun 19, 2015 5:45 am
- Forum: C/C++
- Topic: printf not printing doubles (solved!)
- Replies: 14
- Views: 14197
Re: printf not printing doubles
Yay, that 8-byte stack alignment was my problem! Result after fixing the stack alignment before the call: 0x427b30c7 DBE3 TOP=0, sw=0000, 0=1.000000, 1=2.000000, 2=3.000000, 3=4.000000 So, it turned out that my question was not that much C/C++ -related after all, it was caused by an ASM/C interopera...
- Fri Jun 19, 2015 5:38 am
- Forum: C/C++
- Topic: printf not printing doubles (solved!)
- Replies: 14
- Views: 14197
Re: printf not printing doubles
This is the objdump result of the log_fpu_c() routine (when giving the literal parameters 1.0, 2.0, 3.0 and 4.0). I added some of my own comments in parentheses. I don't see anything wrong in this call, the doubles are pushed at sp+8, sp+16 etc: 000035b8 <log_fpu_c>: 35b8: e92d4030 push {r4, r5, lr}...
- Fri Jun 19, 2015 4:44 am
- Forum: C/C++
- Topic: printf not printing doubles (solved!)
- Replies: 14
- Views: 14197
Re: printf not printing doubles
@plugwash: This is the actual compile command line (I don't know why I had the -mthumb switches in my old Makefile I posted above): gcc -MMD -MP -MF /home/pi/rpix86/build/rpix86.d -g -Wall -O2 -I/home/pi/rpix86/include -I/home/pi/rpix86/build -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthrea...
- Thu Jun 18, 2015 4:34 am
- Forum: C/C++
- Topic: printf not printing doubles (solved!)
- Replies: 14
- Views: 14197
Re: printf not printing doubles
Thanks for the replies! @experix: This is the whole function: extern char GP_fpu_top; extern short GP_fpu_sw; extern double GP_fpu_regs[]; void log_fpu_c(unsigned char *csip) { printf("%p %02X%02X TOP=%d, sw=%04X, 0=%.6f, 1=%.6f, 2=%.6f, 3=%.6f", csip, *csip, *(csip+1), GP_fpu_top, GP_fpu_...
- Wed Jun 17, 2015 6:30 pm
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released
Hi Raj, welcome to the forum! Sorry, those errors are something that I need to fix. I'll see about adding support for that DSP command in the next version. If you still have the sources for your software, perhaps you could check all the SB DSP commands you used and let me know, so I can make sure I ...
- Wed Jun 17, 2015 2:16 pm
- Forum: C/C++
- Topic: printf not printing doubles (solved!)
- Replies: 14
- Views: 14197
printf not printing doubles (solved!)
Hi! I am having a weird problem in my rpix86 debugging routine.. I can't seem to print double (or float) variables using printf. I can't seem to figure out what i am doing wrong, perhaps you can help? My printf call is currently like this (I hardcoded the values after I could not figure out what is ...
- Fri Jun 12, 2015 4:28 am
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.18 released
@ti84: Sorry, I don't think I have anything better to share than my http://rpix86.patrickaalto.com/gles_video.c example.. It has the VSync synchronization in the last routine. That eglSwapBuffers call forces the framerate to 60Hz. void gles_draw(uint16_t *pixels) { gles2_Draw(screen_width, screen_he...
- Sun May 31, 2015 5:14 am
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released
rpix86 version 0.18 released! This version contains the following fixes and improvements: - Implemented support for FPU opcodes in Real Mode (Trade Wars 2002). - Implemented support for Borland RTM DOS Extender (Jazz Jackrabbit, Tyrian 2000). - Added a new command line switch -noems to disable EMS ...
- Sun May 24, 2015 9:41 am
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released
@ti84: Sorry for the much delayed reply! Yes, the system I use is to have a palette texture (1x256 pixels) and then the actual screen texture (with the texture bytes used as index to the palette texture), with the OpenGL fragment shaders handling the palette texture lookup. For double buffering I us...
- Fri Dec 05, 2014 6:09 am
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released
Hi sinacipigi, and welcome to the forum!
I don't think there is currently a way to disable EMS, but it does not sound terribly difficult feature to add. I'll add this to my TODO list.
Thanks for your interest in my emulators!
Pate
I don't think there is currently a way to disable EMS, but it does not sound terribly difficult feature to add. I'll add this to my TODO list.
Thanks for your interest in my emulators!
Pate
- Fri Nov 21, 2014 5:09 am
- Forum: Gaming
- Topic: STICKY: rpix86 (Raspberry Pi x86 emulator) ver 0.19 released!
- Replies: 253
- Views: 398553
Re: rpix86 (Raspberry Pi x86 emulator) version 0.17 released
Sorry, but rpix86 does not support .SYS files (or CONFIG.SYS contents in general) at the moment. It does not emulate a proper PC startup/boot sequence, it starts with an inbuilt DOS environment, it just uses 4DOS.COM as a command shell. It has been my long term plan to enhance my emulation to create...