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!
Related
So, I'm currently working on a roblox game and roblox automatically made a leaderstats for me. I coded my own but it still goes with roblox's leaderstats not mine how can I fix this?
here's the picture of the leaderstats
Roblox doesn't create leaderstats for you, use the search all (CTRL/Command Shift F) and search for leaderstats and see what script created it.
It is almost defently created by a free model or a plugin. Check free models for scripts and look at what your plugins do.
I can't find anything that can help me with this, and even tried to get answers from people on a discord server, but was still unable to find how to do this. If you find the answer, please provide the code, and where to put it. Thanks!
I did a bit of research and found a couple of things that might help you.
First, there is a roblox scripting forum that might be a bit more helpful for you
here.
Second, you'll need to do two things.
a) get the cameraAngleX and cameraAngleY
b) pass those two the humanoid:move function Link to docs
You would then call the humanoid:move function however many times a second you want, which would move the player in the desired direction.
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:
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?
When i try to start a simulation that has been successfully executed before. I get two errors. Fist of them is a Model error. Second is the title. Here are the details:
Since i'm pretty much beginner in MATLAB, i tried to do some research in order to solve the problem, but the instructions wasn't simple enough to understand. What i really want to do is, execute the simulation, see how it works, and imitate the running function.
Sorry if the question is to lame to ask, but like i said, i had to start somewhere.
Marty, it's nice to see you still struggling to learn some cs stuff.
Now, listen to me carefully. That's not a real bug or something that happened because of your wrongdoings.
That's just one of the few things that happens when you use outdated software. Let me guess, u used MATLAB 9, right? Well, i guess this was your problem. Try version 10 instead.
We'll meet again.