473,385 Members | 1,925 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,385 software developers and data experts.

C++ and Robotics the relations?

Hello. I am a n00b in the field of programming. I studied mIRC, html,
max script, and very little c++ logistics. I was wondering if what
specific areas of c++ might help for robotics. If you have heard of
FIRST. I am a member on one of the robotics teams known as Team 1241. I
was once a junior programmer on their team however I did not live upto
their expectations since my knowledge of c++ was very very very little.
Now I come forth to you asking for your help. Does anyone know what
specific areas of c++ i should study to help program the robot do such
tasks example: going up and down or moving an arm etc.

~Saki

Sep 1 '05 #1
14 5263
Émρēror Śaki wrote:
Hello. I am a n00b in the field of programming. I studied mIRC, html,
max script, and very little c++ logistics. I was wondering if what
specific areas of c++ might help for robotics. If you have heard of
FIRST. I am a member on one of the robotics teams known as Team 1241. I
was once a junior programmer on their team however I did not live upto
their expectations since my knowledge of c++ was very very very little.
Now I come forth to you asking for your help. Does anyone know what
specific areas of c++ i should study to help program the robot do such
tasks example: going up and down or moving an arm etc.


Your majesty:

If you have the ability to contact the team that rejected your attempts
to perform as part of it due to lack of C++ experience, wouldn't it make
more sense to ask that team about the actual knowledge they expect in
one who wants to be part of the team?

AFAIK C++, it does not contain any robotics-specific mechanisms or
features, which suggests that robotics programming is done using some
specific to robotics libraries. That can only mean one thing: you need
to look for those libraries and/or ask people involved with robotics about
them. I know a very good way to find people involved with robotics: post
to a newsgroup that deals with _robotics_, not to a newsgroup that deals
with a general purpose programming language.

V
Sep 1 '05 #2
Study everything, especially the libraries you will be using, read
books, and practice, practice, practice.

Sep 1 '05 #3
"m?eror Saki" <Ni*************@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hello. I am a n00b in the field of programming. I studied mIRC, html,
max script, and very little c++ logistics. I was wondering if what
specific areas of c++ might help for robotics. If you have heard of
FIRST. I am a member on one of the robotics teams known as Team 1241. I
was once a junior programmer on their team however I did not live upto
their expectations since my knowledge of c++ was very very very little.
Now I come forth to you asking for your help. Does anyone know what
specific areas of c++ i should study to help program the robot do such
tasks example: going up and down or moving an arm etc.


Things you need to know about C++ are not specific to robotics.
Study the core language, standard libraries, object-oriented programming and
design patterns.
A good book is Accelerated C++:
http://www.acceleratedcpp.com/.
Also consider Thinking in C++, for which a free pdf version is available:
http://www.mindview.net/Books/TICPP/...ngInCPP2e.html

Things you need to know about robotics are not specific to C++.
Your group most likely uses specific libraries (internally or externally
developed) that you should get familiar with. These could include tools for
motion control outputs, modeling the geometry of robots, rendering, and much
more...

Regards,
Ivan

NB: I work with www.xitact.com, which I think is considering collaboration
with one of the FIRST projects.
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Brainbench MVP for C++ <> http://www.brainbench.com

Sep 2 '05 #4
Émρēror Śaki wrote:
Hello. I am a n00b in the field of programming. I studied mIRC, html,
max script, and very little c++ logistics. I was wondering if what
specific areas of c++ might help for robotics. If you have heard of
FIRST. I am a member on one of the robotics teams known as Team 1241. I
was once a junior programmer on their team however I did not live upto
their expectations since my knowledge of c++ was very very very little.
Now I come forth to you asking for your help. Does anyone know what
specific areas of c++ i should study to help program the robot do such
tasks example: going up and down or moving an arm etc.

~Saki

To more directly answer your question, my recommendation is to become
familiar with what hardware to use. For example, if you are using
serial devices, you will need to know how to write to a serial port.
What you send to those ports is based of the hardware you use.

If you are not already, I would become familiar with the basics of
robotic/RC systems. PWM, Servos, Speed Controllers, etc.. To further
that, start looking into path planning, geolocation, etc...

Someone in this thread also mentioned something about OOP...Robotic
systems can get very complex. OOP is critical from the begining.
--
Lee V. Mangold
Research Assistant
University of Central Florida
Institute for Simulation and Training
lm******@ist.ucf.edu

Sep 11 '05 #5
Steven wrote:
Study everything, especially the libraries you will be using, read
books, and practice, practice, practice.


While I'm not the best coder in the world, a thing I've learned is: do
not read books. Read docs instead. Same time spent reading docs gets
you 2x the knowledge than that of reading books. Plus docs are free,
and books are not. It might seem that chewing-every-thing books are
better for a n00b, but they are not. Quality of self-gained knowledge
is better. With that said, I completely agree on "the libraries you
will be using" part. Just thought I'll let you know before you have
actually started to read books :)

Sep 27 '05 #6
ma************@gmail.com wrote:
Steven wrote:
Study everything, especially the libraries you will be using, read
books, and practice, practice, practice.

While I'm not the best coder in the world, a thing I've learned is: do
not read books. [...]


That could be the reason (or a symptom of a reason) why you're not the
best coder. Although, you may be right, if all you aspire to be is
a coder, why bother reading books? They just interfere by trying to
teach you how to _engineer_ your software... Nah. One can't become the
best of anything if one dismisses at least one source of knowledge.

Did you hear one about this guy who did something stupid, and his wife
is scolding him, "You're an idiot! You're such an idiot!! If there was
a contest of idiots, you'd take the second place!" The guy, "Hey! Why
only the _second_ place?" The wife replies, "Because you're such
an idiot!"
Sep 27 '05 #7
Victor Bazarov wrote:
...you're such an idiot!"


Interesting reaction.

Once one of my friends had that book from "expert series". It's called
"mastering hdd secrets" or something. I've opened it at random page,
you know, just out of interest. There was a picture of hard disk with
compass needles all over it. I took another random page. Half of it was
shitty humor. Like in your post (So I see you've learned something from
books :). I thought than, even old good InterList had more info on
HDDs. But, on the other hand, you read books - you don't know what
InterList is.

Another book on JavaScript, that I had once... I've downloaded 6MB
JavaScript pdf reference from (now de-funct) Netscape developers
portal, and I threw that paper piece of shit out for good.

Well, I don't say I'm right, though... Everyone has to go his own way.

Sep 28 '05 #8
ma************@gmail.com wrote:
[snip]
Once one of my friends had that book from "expert series". It's called
"mastering hdd secrets" or something. I've opened it at random page,
you know, just out of interest. There was a picture of hard disk with
compass needles all over it. I took another random page. Half of it was
shitty humor. Like in your post (So I see you've learned something from
books :). I thought than, even old good InterList had more info on
HDDs. But, on the other hand, you read books - you don't know what
InterList is.

Another book on JavaScript, that I had once... I've downloaded 6MB
JavaScript pdf reference from (now de-funct) Netscape developers
portal, and I threw that paper piece of shit out for good.

Well, I don't say I'm right, though... Everyone has to go his own way.


Yours is the fallacy of hasty generalization (cf.
http://www.nizkor.org/features/falla...lization.html).
Just because a few technical books that you've read were bad doesn't
mean all technical books are equally bad. See the FAQ for suggestions
on good ones.

Cheers! --M

Sep 28 '05 #9
mlimber wrote:
ma************@gmail.com wrote:
[snip]
Once one of my friends had that book from "expert series". It's called
"mastering hdd secrets" or something. I've opened it at random page,
you know, just out of interest. There was a picture of hard disk with
compass needles all over it. I took another random page. Half of it was
shitty humor. Like in your post (So I see you've learned something from
books :). I thought than, even old good InterList had more info on
HDDs. But, on the other hand, you read books - you don't know what
InterList is.

Another book on JavaScript, that I had once... I've downloaded 6MB
JavaScript pdf reference from (now de-funct) Netscape developers
portal, and I threw that paper piece of shit out for good.

Well, I don't say I'm right, though... Everyone has to go his own way.


Yours is the fallacy of hasty generalization (cf.
http://www.nizkor.org/features/falla...lization.html).
Just because a few technical books that you've read were bad doesn't
mean all technical books are equally bad. See the FAQ for suggestions
on good ones.


Right,

and just because the few times (thank goodness) that I touched a hot stove I
got burnt doesn't mean that all hot stoves are equally dangerous.

Well, I guess it all depends on what you consider "too small" a sample. Just
keep in mind that enlarging the sample incurs costs, and there is a point
where those costs make it unreasonable to do so. That also happens with
book recommendations. If all books recommended by someone turn out to be
bad, I will just stop taking that persons suggestions serious.
Best

Kai-Uwe Bux
Sep 28 '05 #10
Kai-Uwe Bux wrote:
mlimber wrote:
Yours is the fallacy of hasty generalization (cf.
http://www.nizkor.org/features/falla...lization.html).
Just because a few technical books that you've read were bad doesn't
mean all technical books are equally bad. See the FAQ for suggestions
on good ones.
Right,

and just because the few times (thank goodness) that I touched a hot stove I
got burnt doesn't mean that all hot stoves are equally dangerous.


As the cited description of the fallacy states, "[A] Hasty
Generalization, like any fallacy, might have a true conclusion.
However, as long as the reasoning is fallacious there is no reason to
accept the conclusion based on that reasoning."
Well, I guess it all depends on what you consider "too small" a sample. Just
keep in mind that enlarging the sample incurs costs, and there is a point
where those costs make it unreasonable to do so. That also happens with
book recommendations. If all books recommended by someone turn out to be
bad, I will just stop taking that persons suggestions serious.


Agreed.

Cheers! --M

Sep 28 '05 #11
mlimber wrote:
Yours is the fallacy of hasty generalization...
Just because a few technical books that you've read were bad doesn't
mean all technical books are equally bad. See the FAQ for suggestions
on good ones.


You can equally state directly opposite. E.g.,

"You have failed to generalize your experience...
Just because a few technical books that you've read were good doesn't
mean all technical books are equally good. See the amazon.com for
suggestions on bad ones."

There are lots, fuckin huge loads of shit in book stores, forgive me my
rude language (and this isn't even my language, but duh). It just does
not make any sense to read 10 books to find only 1 of them is good,
when everything you ever need to do this small piece of code is right
here in well-designed hypertext help file you've got.

Sep 28 '05 #12
ma************@gmail.com wrote:
mlimber wrote:
Yours is the fallacy of hasty generalization...
Just because a few technical books that you've read were bad doesn't
mean all technical books are equally bad. See the FAQ for suggestions
on good ones.
You can equally state directly opposite. E.g.,

"You have failed to generalize your experience...
Just because a few technical books that you've read were good doesn't
mean all technical books are equally good. See the amazon.com for
suggestions on bad ones."


Right, and that would also be a fallacy -- the fallacy of composition
(cf. http://www.nizkor.org/features/falla...position.html). I did
not commit it, however.
There are lots, fuckin huge loads of shit in book stores, forgive me my
rude language (and this isn't even my language, but duh).
Forgiving your rude language (which belongs to no one but you), we all
agree that there are indeed bad books out there.
It just does
not make any sense to read 10 books to find only 1 of them is good,
when everything you ever need to do this small piece of code is right
here in well-designed hypertext help file you've got.


The question is, Is "*everything* you ever need to do" in that one
hypertext file? For me, I daresay, it would not be simply because a
single, small resource can't cover everything I need to know about. You
don't have to read every book out there to find out which ones are
good. You can get advice from trusted sources, e.g., magazine reviews,
your colleagues, your project manager, and perhaps even people on this
newsgroup.

Cheers! --M

Sep 28 '05 #13
mlimber wrote:
The question is, Is "*everything* you ever need to do" in that one
hypertext file? For me... small resource can't cover everything
I need to know about. Hey, it was not about "everything I need to know about", it's about
"to know enough to start working with this system/tool/programming
language/library/etc". Don't take it where it doesn't belong to.
You
don't have to read every book out there to find out which ones are
good. You can get advice from trusted sources, e.g., magazine reviews,
your colleagues, your project manager, and perhaps even people on this
newsgroup.

"I trust noone... not even myself." /allegedly J. Stalin/

Sep 29 '05 #14
Hello. I am a n00b in the field of programming. I studied mIRC, html,
max script, and very little c++ logistics. I was wondering if what
specific areas of c++ might help for robotics. If you have heard of
FIRST. I am a member on one of the robotics teams known as Team 1241. I
was once a junior programmer on their team however I did not live upto
their expectations since my knowledge of c++ was very very very little.
Now I come forth to you asking for your help. Does anyone know what
specific areas of c++ i should study to help program the robot do such
tasks example: going up and down or moving an arm etc.



~Saki
I would like to suggest hard ware oriented functions that deal directly with the hard ware (i.e. video card, parallel port, sound card) these functions would haft to use memory addresses in the form of:

type char far *farptr ;

Where farptr is set to the hard ware address. The values in this address would then be used to control motor functions in the robot. If you wanted to make an arm move you would haft to tell that servomotor to move, to do this you need to place the appropriate bit in the register/memory the motor would receive that bit and move accordingly. Unfortunately I dont have any functions that deal directly with this sort of hard ware.
Jul 16 '06 #15

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

Similar topics

1
by: sunk | last post by:
Team phantasm www.phantasm1.com is looking for expert programer to join our team for the next Darpa Grand challange. If you have alot of stamina and can apply your skills and are interested in...
1
by: Jef De Rycke | last post by:
Hi access group, I have written code to create relations between tables according to a corresponding relations information table. At first I thought my code was not working properly because...
2
by: clintonG | last post by:
Does anybody know what (if anything) Microsoft has been thinking about robotics? The LAMP camp is making real progress ,. <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information...
1
by: Randy Fraser | last post by:
How do I create a relationship on muliple columns in an untyped dataset. Why does this not work. da.Fill(ds) ds.Tables(0).TableName = "DesignSummary" ds.Tables(1).TableName = "FormulaSummary"...
11
by: Isaac T Alston | last post by:
Basically, I'm thinking about building a robot which can be controlled by programs which I write, I'm going to interface to the robot through the parallel port (like in this tutorial here:...
2
by: Joe | last post by:
Hi I have a dataset with 3 tables and 2 relations Is there a way to when I am at 1 row to tell if there is a relation on that row ??? I have the code hardcoded but try to make it work if the #...
2
by: Joe | last post by:
Hi I am going to receive a dataset downstream and I will not know the the fields number of field relations number of relations So I have to be flexible to take unknown data and be able to...
6
by: Padu | last post by:
Hi, I'm developing a remote control panel for a mobile robot I'm developing. The robot carries a PC that runs a C# app to control the platform. The robot's PC has a wi-fi card. I'm not concerned...
10
by: stolte | last post by:
Hey all, I'm using a US robotics wireless router, and I want to connect a HP Color Laserjet 1600 to it for use as a network printer. I followed the directions from the USR website carefully...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.