How do I find a pre-programmed sketch?

Hi guys,
I´m new to programming in general, so I guess that it´s quite a basic question:

I´ve bought a pre-programmed robot. Now I´d like to change the uploaded programm. But only change it, not completly rewrite it.
Thus I have to find the pre-uploaded sketch without altering it in the first place.
Any ideas on how this works?

Since I fear, that I´ll delete the entire programm, if I´l upload something new, I´m asking you for help.

If you need information about the board, I´m using an ArbotiX and ArbotiX-M.

Thanks in advance :slight_smile:

If the chip is not read protected you can read the code. BUT, all you can make of it is assemble code. So don't expect nice and readable Arduino/C/C++ code. That's just impossible.

So if you are up for a challenge of assembly programming it's a nice project. Otherwise, forget about it.

It´s not read protected and made for changing the code, thus I should have a change of finding it :slight_smile:

But I would be very pleased, if could describe me, how exactly can I find it?

Delta_G:
The truth is that if doing anything with the code once you got it was even close to within your ability, you wouldn't have to ask how to get it.

Completely agree :slight_smile:

Ungolianth:
and made for changing the code

If that's the case I bet they have the code online somewhere (or shared it with you in some way).

Well, I thought there might be an easy way to just look up the code.
Since that´s not the case, I´m just going to go and find the source code somewhere else. :slight_smile:

Thanks a lot!

By looking at the Arbotix website?

http://vanadiumlabs.github.io/arbotix/

ArbotiX Software Setup

To use the ArbotiX with the Arduino IDE we need to add some files to our Arduino sketchbook folder.

Most users will want to download the latest ArbotiX/PyPose, extract the zip file, and copy the contents of the arbotix folder into the sketchbook. This includes the hardware folder, libraries folder and a number of example sketches.

Alternatively you can grab a zipball of the absolute latest, bleeding edge source, or checkout from the github repository, and then locate the files correctly as described above.

Ungolianth:
Hi guys,
I´m new to programming in general, so I guess that it´s quite a basic question:

I´ve bought a pre-programmed robot. Now I´d like to change the uploaded programm. But only change it, not completly rewrite it.
Thus I have to find the pre-uploaded sketch without altering it in the first place.
Any ideas on how this works?

Since I fear, that I´ll delete the entire programm, if I´l upload something new, I´m asking you for help.

If you need information about the board, I´m using an ArbotiX and ArbotiX-M.

Thanks in advance :slight_smile:

I don't think you looked very hard. Google quickly found the site selling the board and it says: As an Arduino compatible board, the ArbotiX can be used with the Arduino IDE. We've also released an open source library and sample programs to help with controlling DYNAMIXEL AX/MX/RX/EX servos. You can find detailed information on setting up the ArboitX here".

Paul

Well, thing is, that the people who set my robot up made a mistake.
I thought it would be easier to search for the mistake (if I would have access to the uploaded sketch), instead of restarting the entire process of installing.
Seems like I´ve been wrong.

But yes, I knew where to find the code.

Ungolianth:
Well, thing is, that the people who set my robot up made a mistake.
I thought it would be easier to search for the mistake (if I would have access to the uploaded sketch), instead of restarting the entire process of installing.
Seems like I´ve been wrong.

But yes, I knew where to find the code.

I bet they started with the sample code, also.

Download the sample and print it. Markup sections that look like the section may be doing what your robot currently does correctly.

What is left is where you need to concentrate to see if what ever mistake they made may lie in that code.

Paul

Ungolianth:
It´s not read protected and made for changing the code, thus I should have a change of finding it :slight_smile:

But I would be very pleased, if could describe me, how exactly can I find it?

Are you asking us how to use google, or how to email the company you bought your robot from? Are you asking us how to navigate a website?

I googled "arbotix source code". A couple of clicks took me here, ArbotiX-M Robocontroller, where there's an actual video, and then here http://learn.trossenrobotics.com/arbotix where there's a quick start guide. There's also a link to this here: http://forums.trossenrobotics.com/showthread.php?7971-ArbotiX-1-6-Files-Libraries&p=71992#post71992 which is the files for the latest IDE (1.6).

Are you able to copy and paste those links into your browser, or did you need me to hyperlink them?

Ungolianth:
Well, thing is, that the people who set my robot up made a mistake.

At which point we have to play a game named "which is more likely?".

PaulMurrayCbr:
Are you asking us how to use google, or how to email the company you bought your robot from? Are you asking us how to navigate a website?

Are you able to copy and paste those links into your browser, or did you need me to hyperlink them?
At which point we have to play a game named "which is more likely?".

What the hell?
Had a bad day, hu?
Not my fault, though!

I just came here with a sincere question, which was, how to find out which EXACT source code is uploaded on the robot.
Not to find just one possible code of the existing hundreds of source codes...
I´m sorry, if I haven´t made that clear.

To the rest of you: Thank you so much for helping and behaving like a decent human being :slight_smile: