I'm new in here. Hoping to find someone who can help me out with a project that I'm having right now. It's a Raspberry made robot to solve a wall maze. It's my first time in these kind of robotic stuff so I really need help.
The general idea of this robot is to follow the right wall with an ultrasonic sensor attached on the right part of it. It should go forward until it stops when it detects a wall. Then it should turn to the right to repeat doing the same thing. I also have added an ultrasonic sensor to the front part, so in case it detects a wall it could turn to the left. I was wondering if someone could help me out to code all this.
I've been following this tutorial and everything works fine until that part: https://pythonprogramming.net/turning-raspberry-pi-car/
After that, I don't know how to do the rest of the code to start doing the "do while" and all that complicated stuff. I'll put a photo of the robot so you guys can have an idea of how does it looks like by now:
Related
Long story short, I am tring to run an custom os on REAL hardware. I am using http://www.brokenthorn.com/Resources/OSDevIndex.html this tutorial as guild line(more like copy 99% of there code there). I made it to page 20 there (demo15) and there i got into a problem, its explained there how to read from a flopy, and I have a hard drive in the laptop! so i started working on a ahci and pci driver and it was going pretty well. But then somthing wired happend I discoved that when the kernel size is more than 17kb is doesnt work. I have no idea to why and i have been stuck on it for 5 days now working on it every day. I know its the size that matter and not the code through my experiments with it. But it runs ok in Bochs only not on read hardwear.
Everything works as long as the kernel is less than 17kb and if its not than when its jump to the kernel entry point is stops or start a infinit loop where it restarts itself for some reason. Well wasnt very short story in the end sorry.
Anyway It will be realy helpful if someone has any idea to why its like that or how to fix it.
I know you dont have my laptop so you cant realy test anything but even an idea to why will help my.
my code is on github https://github.com/xXvilckoXx/os, here.
I am working on VS C++ 2010 express.
Sorry for my bad english and thank to everyone who takes his time to try help me or even just reading this post!
Hello everybody!
I'm currently trying to launch .lutro files (ROMs for Mame2003 Libretro). Unfortunately it doesn't work, here's what happens when the ROM is launched :
1- ROM seems at first to launch normally
2- The screen goes black for about 1 second
3- And we go back to the menu where Mame2003 Libretro games are
What is the most annoying thing about this issue is that my final goal isn't even to simply launch a .lutro ROM but a game developped by classmates... But first I need to solve this problem.
I saw a forum online talking about something called "Rewind". Apparently the issue would be related to the game who would be unable to have "savestates" and in order to solve that, we would apparently need to delete a file called nvram.
And here we stumble against another issue... The nvram file maybe is (I still haven't checked) inside the offical .lutro ROMs. But I can assure all of you that there is no nvram files inside the game developped by my classmates, and our game has exactly the same issue as the official .lutro ROMs. So here we go back to the beginning. Maybe the issue is directly in Retropie. Maybe not. I really do not have any way to know that.
That's why I hope that someone who reads this stumbled into the same issue and found a solution.
.lutro files are meant to be launched with libretro-lutro which is a love2d-like game engine, not MAME2003.
My team is using Yarnspinner in Unity to create a text-based game, visual novel style. It works pretty much perfectly, but we're having trouble figuring out how to save and load the dialogue state in the game. It doesn't seem that saving the game state "normally" will properly save the dialogue state.
I've done a lot of research but have found little documentation on how to do this. Given that Yarnspinner is an overall improvement on previous Yarn parsing, I feel like there is likely a built in function somewhere that does this, but I haven't been able to find anything. Does anyone know how to do this, or know any online resources that describe this?
I just installed Google Assistant on my Raspberry Pi 3B as part of a Magic Mirror project I've been working off and on for the past year or so. I can run the assistant fine, except when it responds the first little bit of the response is cut off.
For example I would ask "What time is it" (The time being 10:30 PM for example) and it would respond "30 PM." Additionally whenever this happens the screen will cut out for just the blink of an eye. Not 100% sure these are related but it feels like more than a coincidence to me.
Any help with this little hiccup would be much appreciated!
In addition to the comments, there may be some configuration needed for the HDMI to behave as desired.
Please see the Audio Configuration documents for more ideas.
beginner netlogo user here. I did some basic stuff like creating turtles and making them move in a loop and such. Then I found out in the NetLogo dictionary that by using the command import-pcolors-rgb so that the turtles can interact with them. So I took out a simple floor plan and see what happens. The import was successful. But the layout in NetLogo was incomplete. Like some of the walls are missing. I tried searching for tutorials but I couldn't find one. I also tried my turtle to move forward and forward until it reached a wall. I was expecting it to stop or give me an error but it just passed through. How can I make this happen?
Edit: I've researched some sample simulation models on how they made it like setep by step, or even in youtube. But couldn't find anything.
Tutorials and help would be much appreciated. Thanks in advance!