Jump to content

Lemures

Active Members
  • Posts

    149
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Lemures's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. Well, velocity IS a vector, but sure. In this case I suppose they amount to the same thing. Working on too much today while I post on this thread, so sorry if I'm not coming across clearly. I'll poke around some more and see if I can write a simple "bouncing balls" simulation where the balls randomly change their velocity, then extract the data from some "frame" in the middle and pass that on to whatever I need to code it in. I happen to be most familiar with AutoIt at this time (member since 2003, holy crap) and need to start learning C and python, so I could probably just write the data creator in autoit and then start learning one of those others to parse it out and do stuff with it.
  2. JohnOne, I've put together a terrible little diagram that hopefully explains better what I'm looking at doing. Your program may indeed be of use, I'll look into it, because I could use it to give me the frames to analyze (for anything) AND to give me the time differential between each frame. http://imgur.com/Lm5NpTA
  3. Melba23, correct. I'm looking at putting some object avoidance on an arduino for fast moving objects with difficult to predict trajectories, but I'm still at the stage of learning how to hook up the resistors to not fry the components . There will eventually be quite a bit of coding with this, so I'm starting that now. One step there is to learn trajectory analysis and prediction in 2d, and then eventually moving that to 3d. In TagPro, the balls (other players) can appear from off screen coming in at really pretty much any velocity, and that can and WILL be changing because the other players are, well, playing. I want to compare successive position reads to predict the next position of the target (ball). However, because those can change, I need to put probability and uncertainty weights on everything, so I can generate what would essentially be a 2d heat map of probable collisions. Once I feel I can make this constantly changing heat map, I can transfer it to whatever physical platform it is on (e.g. a quadcopter with ping pong balls thrown at it) and figure out how to get that platform to move accordingly. In short, I mostly just need an array of JUST positions of objects (that's all a camera would see) that are moving in 2d where the objects are moving, and their trajectory can be predicted with weighted probabilities of new trajectories (something flung towards the camera) in order to attempt to avoid it. TagPro provides a pretty good platform for this data that I need in order to start working with this, I just don't know how to pull that data out. If you're aware of anything else that may serve as a better source of data, please let me know.
  4. I've been looking at the flash game TagPro (Picture, Gameplay, Website), in which you basically have 8 people controlling the motion of balls on the screen (limited viewing area). I need to practice trajectory analysis and prediction of different types to compare their relative effectiveness', and I think TagPro would be an interesting platform from which to work because it provides unpredictable movement in a relatively simple environment. The problem is, I can do the math, but I have no idea where to even begin when it comes to grabbing the position's of the balls on the screen. If I have those, I could compare subsequent position updates to get trajectory's and velocity's (and this is what I need to practice). Do you have any suggestions for accurately grabbing this data, and quickly enough to be of relevance? I'm sure some people could just read the actual data to get the positions of the balls, but I have no idea how to do that. Thanks!
  5. Ah hah! I'm an idiot, I was doing something so stupid that I'm embarrassed to even admit it, lol. It is working now. Thanks!
  6. I'm unable to get this working. When I run this code, it doesn't do anything. Any ideas? (Win7)
  7. Ah. I ended up using Execute(). I had forgotten that that existed. Thanks!
  8. I have to write a small program for a class, and ultimately what I need it to do is to evaluate a user's function at certain values. The functions won't be terribly complex. For example, I want an InputBox to pop up, and the user would input, say, "3(x^2)-4x+6". Then my program would evaluate it at certain values (x=0, x=1, x=2, etc) and do something with the results. Is there an easy way to have the user input a string and have autoit convert it into a function that can be evaluated?
  9. Sorry for the bump, but I still have not found any method of doing either of these. Can anybody help to point me in the right direction?
  10. I'm looking for a way to hijack the actual functionality of the show desktop gem button. Specifically, upon clicking it, instead of having it just show the desktop, I wish to have it do something of my own bidding.
  11. Because at times, depending upon how my workspace needs to be set up for a particular task, it is better to have one or the other, as opposed to simply combine when full. I've tried it, and it just doesn't work the way I need it to. Good idea though. Also, I am highly interested in finding a way to hijack the Windows 7 show desktop gem. Any ideas?
  12. I wish to create a program that allows me to easily switch between "large icons + always combine" and "small icons + never combine". When using my computer, if I have very few things open, I'd like to have my taskbar like pre-Win7 OS's, where I can see the full label, they don't combine, etc. If I have many things open, it would be nice to be able to switch to having my open applications represented by only icons, and to have them combined. 1. Is there any way to hijack Windows 7's "show desktop" button in the lower right hand corner to toggle this functionality? 2. I have found the registry settings I need to change these settings, but how do I force a refresh on the taskbar so that it reloads the settings from the registry? The only way I can think of is to have autoit quickly open the properties of the taskbar then click OK, but, I'd rather just be able to straight up force a refresh. Any ideas?
  13. The TCPConnect also takes about half a second per, even with the timeout. Maybe I'm doing something wrong. Oh well. I'm starting to think nmap is my only real option, I can get through the port range in a little over a minute if I get the settings right. Still, I'd rather do it in autoit.
  14. I'm not certain if I want to run 16,000+ processes at the same time... :-\
  15. I've tried the INetGet command exactly as you've described, and it takes nearly a second per port. Way too long. I'll be the only one on the network, so I'm not worried about grabbing others' data. The easiest way, I think, is to scan for open ports. I'm considering just setting up a batch file with nmap, having it drop all of the open ports to a txt file, then reading in that txt file. *shrug*. Not sure yet. Everything is just too slow. Yes, I could manually type in the port, but I want this to be as automated as possible.
×
×
  • Create New...