473,396 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How do you drive-by-wire a car using Python ?

Hello everybody,

Our entry in the DARPA Grand Challenge race uses Python as a
programming language. For those of you who are interested, we are
beginning to put some of our code on our blog.

Before being autonomous, our vehicle (a four wheel drive Jeep) has to
first be driven by wire, i.e. use controls through a computer in order
to command the different steering, acceleration/braking actions.

This entry shows you the lighter version of the code we use to do this
drive-by-wire

http://pegasusbridge.blogspot.com/20...car-using.html

(please note the disclaimer)

Cheers,

Igor.

Jul 19 '05 #1
4 1482
ig********@gmail.com wrote:
Hello everybody,

Our entry in the DARPA Grand Challenge race uses Python as a
programming language. For those of you who are interested, we are
beginning to put some of our code on our blog.


Here is a shot of a Pythonic DARPA Grand Challenge autonomous vehicle
pausing to do garbage collection:
http://www.shoalhaven.nsw.gov.au/cou...ting_bin_1.jpg

Tim C
Jul 19 '05 #2
Please note we had to avoid trash cans when the DARPA folks came to
visit us. Our vehicle aims at being a garbage avoidance system instead
:-)

Igor.

Jul 19 '05 #3
In article <11**********************@f14g2000cwb.googlegroups .com>,
ig********@gmail.com <ig********@gmail.com> wrote:
Please note we had to avoid trash cans when the DARPA folks came to
visit us. Our vehicle aims at being a garbage avoidance system instead
:-)

Igor.


Python clearly is unsuitable for Grand Challenges, as I believe I once
heard someone in a hallway say that it doesn't properly release garbage
back to The System, and, anyway, it doesn't recognize every spelling for
garbage used in any other language. Python must be for weak girlie men.
Jul 19 '05 #4
Cameron,

Good point, I know you are a newbie :-). Let me help you out, just tell
the guy in the hallway that for the recognition of the spelling for
garbage in any other languages we use the zipfile module as pointed out
in
http://pegasusbridge.blogspot.com/20...ve-part-i.html
"...Using the Right Classification Approach

One of our approach to make classification of images for the purpose of
road following as well as obstacle avoidance is based on defining some
type of distance between drivable and non-drivable scenes. There are
many different projection techniques available in the literature. Let
us take the example of the "zipping-classifier" mechanism and how we
are using it for obstacle avoidance. This technique uses a compressor
like Winzip or 7-zip to produce some type of distance between files
(here images.) A very nice description of it can be read here...."

Hope this helps :-)

Cheers,

Igor.

Jul 19 '05 #5

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

Similar topics

7
by: GregT | last post by:
I program in C#. Is there a way to determine which of the local machine's logical drives are associated with CD drive(s)?
7
by: GregT | last post by:
I program in C#. Is there a way to determine which of the local machine's logical drives are associated with CD drive(s)?
1
by: Steve Marshall | last post by:
Hi All, Apologies if this has come up before, but how can I set up something that will notify me when a removeable drive (like a USB drive or CompactFlash card) is inserted into its slot? ...
4
by: Jim Carlock | last post by:
function CreateMyDataBaseFile($FQFN, $UID, $PW) { $db = "sqlite:" . $FQFN; $sql = "CREATE TABLE Customers(name1 TEXT, name2 TEXT);"; $dbh = new PDO($db, $UID, $PW); $dbh->exec($sql); $dbh =...
3
by: Killer42 | last post by:
Hi all. Summary Plugging flash drive into work PC, no drive appears. Details First of all, I have searched TheScripts for an answer. The closest I found was this article which covered...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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...
0
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,...

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.