by i-Bot » Sun Jul 22, 2007 10:36 am
by i-Bot
Sun Jul 22, 2007 10:36 am
It is unlikely that the Robobasic command takes command line agruments to do what you want.
It would need to load the .bas file, compile it to intermediate code or an obj file, download to the controller, then run it.
If you are OK in VC++, you could write a simple program to download .obj files. These can be created by Robobasic or some other program you make. You cannot use VC++, directly since the intermediate code for the RN is very simple and not the .NET CLR.
The communication to the robot is also a problem if you want to go wireless. The protocol from PC to RN is done byte by byte in ping pong between the two ( except in actual download). This makes is very very slow if you put bluetooth in that link, even if you raise the link speed.
It is normal on the RN to write a robobasic program which contains poses or simple routines, and then command those over the ERX/ETX link from an external program
It is unlikely that the Robobasic command takes command line agruments to do what you want.
It would need to load the .bas file, compile it to intermediate code or an obj file, download to the controller, then run it.
If you are OK in VC++, you could write a simple program to download .obj files. These can be created by Robobasic or some other program you make. You cannot use VC++, directly since the intermediate code for the RN is very simple and not the .NET CLR.
The communication to the robot is also a problem if you want to go wireless. The protocol from PC to RN is done byte by byte in ping pong between the two ( except in actual download). This makes is very very slow if you put bluetooth in that link, even if you raise the link speed.
It is normal on the RN to write a robobasic program which contains poses or simple routines, and then command those over the ERX/ETX link from an external program