Welcome, Guest. Please Login.
Surveyor Corporation Surveyor SRV-1
Home Help Search Login

Surveyor Robotics Forum

Welcome to the user support forum for Surveyor SRV-1 robots, SRV-1 robot controllers and SVS stereo vision systems. To register for this forum, please send an email to support@surveyor.com which includes your desired forum user name, your registration email address, and a brief explanation of why you wish to join, and we will create a forum account for you.

Please note that there is a Search button in the forum toolbar for forum topics. Another effective search method for the entire surveyor.com site is to use Google, e.g. "xyz site://www.surveyor.com" where "xyz" is the search topic.



Pages: 1
Send Topic Print
Talking to the robot with C program (Read 1559 times)
teamfocus
YaBB Newbies
*




Posts: 15
Talking to the robot with C program
02/09/08 at 7:11pm
 
Has any one tried talking to the robot using C program. WE are conducting experiments with the robot for calculating the response time. Had if anyone tried we need the skeleton source code for the same.
Back to top
 
 
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: Talking to the robot with C program
Reply #1 - 02/10/08 at 1:49pm
 
Here's the C# program I described by email -  
    http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl?num=1202660645
Back to top
 
 

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
teamfocus
YaBB Newbies
*




Posts: 15
Re: Talking to the robot with C program
Reply #2 - 02/13/08 at 8:31pm
 
Thank you,
 
but we are looking for C implementation and we already have the java implementation , so c# is not what we really want. since we are looking at some real time calculations.
Back to top
 
 
  IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: Talking to the robot with C program
Reply #3 - 02/13/08 at 8:48pm
 
I don't know if this will help you, but there's some code that was written for the original ARM7 SRV-1 by a university research lab in Australia based on our GPL open source code, so you're free to do whatever you want with it.  They interfaced to OpenCV for image processing, and the main issue is that the old SRV-1 interfaced via serial comm port instead of sockets.  However, you are welcome to look at the code to see if there's anything useful.  Most of the commands are the same, though the image resolutions have changed somewhat.
 
    http://www.surveyor.com/tmp/SRV1_MFC_Console.zip
 
Only request is that if you are able to use this code, you post the derivative version.
Back to top
 
« Last Edit: 02/13/08 at 8:52pm by admin »  

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
admin
YaBB Administrator
*****




Posts: 3676
Re: Talking to the robot with C program
Reply #4 - 02/14/08 at 4:55pm
 
I just received another Windows-based control program for the original ARM7-based SRV-1. that was developed for use in a computer science course at Brooklyn College.  It exercises the 'v' vision commands, and seems to have a lot of capability.  Again, it would be worthwhile looking at what would be involved to change the comm interface from serial to sockets.
 
The code is posted here -  
    http://www.surveyor.com/tmp/SVR.zip
 
Here's a quick description ...
 
==============================
 
Please find the source code in the attached ZIP file.
copy it to an empty directory, unzip it and type make.
It creates a Surveyor C++ object that we can send
messages to.
 
There are some simple programs, begin, findball that
are about a simple as I can come up with but actually do
some thing. Also some more complex, kick which
plays a recognizable game of football.
 
A README file tells how to set it up for Linux, Mac
or Windows
 
We are currently using this in CIS 1.5 at Brooklyn College
(the first programming course) and plan to use it in CIS 15
(the second course). I am currently working on some
documentation which I'd be happy to let you have. It is
rather big due to pictures so I thought I'd see if you are
interested before I send it.
 
By the way, when I modified the Windows version
to use native Windows system calls the picture corruption
problem went away, at least for small pictures.
 
==============================
Back to top
 
 

SRV-1 Development Team
Surveyor Corporation
Email WWW   IP Logged
Pages: 1
Send Topic Print