473,656 Members | 2,921 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Real Time Battle and Python

hg
Hi,

I have started to work on a python-based robot, and am interested in your
feedback:

http://realtimebattle.sourceforge.net/
www.snakecard.com/rtb
hg
May 3 '07 #1
2 1868
On May 3, 5:20 am, hg <h...@nospam.or gwrote:
Hi,

I have started to work on a python-based robot, and am interested in your
feedback:

http://realtimebattle.sourceforge.ne...kecard.com/rtb

hg
This is not necessarily a response to your effort, but just a note
(rant) about realtimebattle. It reminds me more of homework in 300 and
400 level college engineering classes than a game. Based upon my
previous effort and realizations, I found realtimebattle coding to be,
from a programming perspective, an exercise in protocol implementation
first. Once the protocol work is done you need to implement control
algorithms for movement and enemy tracking. Think PID algorithms
(Proportional, Integral and Differential). Only when the protocol and
control portions are done can you focus on strategy and play the game.
You should also note, however, that the first two tasks are quite
daunting. And the second is difficult to get right. I found the whole
process to be very tiring and not very rewarding. I don't mean to
discourage you, I just think it would be more fun to write my own game
than to 'play' that one.

A better game, from a programming perspective, would be
"discretetimeba ttle". Where each player controls their robot with
second order parameters (velocity not force), the world has no third
order effects (friction) and the time is discrete. Discrete time
meaneing that the protocol updates every player at regular intervals
with the same information and, in terms of the simulation, each update
represents a set time delta.

I would be interested to know if anybody else has played, or tried to
play, realtimebattle and has similar sentiments.

I do wish you luck though. If you get a robot working you are a far
more dedicated and patient individual than me.

-Matt

May 3 '07 #2
hg
Matimus wrote:
On May 3, 5:20 am, hg <h...@nospam.or gwrote:
>Hi,

I have started to work on a python-based robot, and am interested in your
feedback:

http://realtimebattle.sourceforge.ne...kecard.com/rtb

hg

This is not necessarily a response to your effort, but just a note
(rant) about realtimebattle. It reminds me more of homework in 300 and
400 level college engineering classes than a game. Based upon my
previous effort and realizations, I found realtimebattle coding to be,
from a programming perspective, an exercise in protocol implementation
first. Once the protocol work is done you need to implement control
algorithms for movement and enemy tracking. Think PID algorithms
(Proportional, Integral and Differential). Only when the protocol and
control portions are done can you focus on strategy and play the game.
You should also note, however, that the first two tasks are quite
daunting. And the second is difficult to get right. I found the whole
process to be very tiring and not very rewarding. I don't mean to
discourage you, I just think it would be more fun to write my own game
than to 'play' that one.

A better game, from a programming perspective, would be
"discretetimeba ttle". Where each player controls their robot with
second order parameters (velocity not force), the world has no third
order effects (friction) and the time is discrete. Discrete time
meaneing that the protocol updates every player at regular intervals
with the same information and, in terms of the simulation, each update
represents a set time delta.

I would be interested to know if anybody else has played, or tried to
play, realtimebattle and has similar sentiments.

I do wish you luck though. If you get a robot working you are a far
more dedicated and patient individual than me.

-Matt

I do try to separate the "engine" from the "driver". Yes the engine is a
pain to code and the documentation quite skimpy (have to got through C
headers to understand the command set) ... still I'll try to finish it.

hg
May 4 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
13676
by: Edilmar | last post by:
Hi, First of all, I'm new in Python... I have worked with manu langs and IDEs, like Delphi, VB, JBuilder, Eclipse, Borland C++, Perl, etc... Then, today I think IDEs like Delphi have a excelent environment to develop apps with little time. I saw many people talking about Python like a easy lang to learn and to develop. But I have look at IDEs for Python, or ways
12
9461
by: | last post by:
I've trolled the lists, FAQs, and Net as a whole, but can't find anything definitive to answer this. We're looking for real-time graph capability (bar, line, etc), so that we can display telemetry from a robot system. There are a bunch of packages out there, but many seem to provide only static graphs (e.g. for scientific, financial data, etc). Does anyone currently display real-time telemetry using Python? Can anyone provide any...
2
3700
by: Alberto Santini | last post by:
I ported a Jos Stam's demo about Fluid mech to check the difference of speed between C implementation and Python. I think I achieved good results with Python and there is space to improve, without to extend the program with C routine, I mean. -- Good hack, Alberto Santini (http://www.albertosantini.it/)
30
3295
by: Raymond Hettinger | last post by:
Proposal -------- I am gathering data to evaluate a request for an alternate version of itertools.izip() with a None fill-in feature like that for the built-in map() function: >>> map(None, 'abc', '12345') # demonstrate map's None fill-in feature The motivation is to provide a means for looping over all data elements
1
1770
by: frikk | last post by:
Hey Everyone! I've got a question regarding the capabilities of python in a real time environment. I'll start by saying I'm a little bit flaky when it comes to terminology, so please correct me or ask where it seems I'm not beings specific or using the wrong wording. I am looking into a project for the company I work for. Essentially it involves setting up a real time monitor / signal injector in between a CPU board and a system...
0
1604
by: Johannes Nix | last post by:
Hi, this might be of interest for people who are look for practical information on doing real-time signal processing, possibly using multiple CPUs, and wonder whether it's possible to use Python for audio-type worst case latencies (around 25 ms). I've done that in my PhD work, both with real-time requirements on dual-CPU
2
1737
by: Blubaugh, David A. | last post by:
To All, I have done some additional research into the possibility of utilizing Python for hard real time development. I have seen on various websites where this has been discussed before on the internet. However, I was wondering as to how successful anyone has truly been in developing a program project either in windows or in Linux that was or extremely close to real time constraints? For example is it possible to develop a python...
0
1085
by: Hendrik van Rooyen | last post by:
"Blubaugh, David A." <dblub....elcan.comwrote: I am running some i/o in a thing called an eBox running Slackware Linux for which GPIO port we have made some I/O boards. This is a very weak machine - 500Mhz 486 without fp, 128Mb ram. Its just cheap, which is why we are using it. I can send it 64 bytes, which it then puts out from userland
0
266
by: Kurt Mueller | last post by:
Am 08.10.2008 um 06:59 schrieb Hendrik van Rooyen: OK, this is gives an impression of SPEED. In your application the REAL-TIME requirements are isolated and implemented in the custom controller. And the HMI which has to be fast enough (SPEED, not HARD-REAL-TIME)
0
8297
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8717
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8498
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8600
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7311
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1600
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.