|
|
In lugnet.robotics.rcx.robolab, Mark Friedman wrote:
> Does anyone have any experience using Robolab with a Spybotics kit? I just got
> a couple of old Spybotics kits for my son this past Christmas and would love to
> program them with him using Robolab. I have lots of programming experience,
> although I am new to Robolab, Spybotics and robotics in general. Any tips or
> links to useful information would be appreciated.
>
> Thanks in advance.
>
> -Mark
I don't know if RoboLab will work with Spybotics, but if you have prior
programming experience NQC may be a better option. It works great with
Spybotics.
Jetro
|
|
|
Does anyone have any experience using Robolab with a Spybotics kit? I just got
a couple of old Spybotics kits for my son this past Christmas and would love to
program them with him using Robolab. I have lots of programming experience,
although I am new to Robolab, Spybotics and robotics in general. Any tips or
links to useful information would be appreciated.
Thanks in advance.
-Mark
|
|
|
In lugnet.cad.dat.parts, Philippe Hurbain wrote:
|
Linmix once said to me that he couldnt find a LDraw model of the
Spybotics... so I decided to cope with
that beast.
Here is the prevue:
The LDraw files are available from
LDraw Parts
Tracker. Dont forget all the subfiles!
Some LDrawers may wonder how I created the smooth front cover shape. I
started with a few hires 1-4edges, inlined them and modified their horizontal
alignment with MLCad:
Then I created stripes of polygons between each pairs of lines using
Coverer tool.
Missing conditional lines between the stripes were created using Lee
Gaiteris Edger to obtain the
nice smooth shape (using LDView smooth curves option).
Enjoy,
Philo
|
Philo,
Congratulations! This is a fantastic part! LDraw sure has come a long way
since its humble beginnings, and the ground breaking work by James.
Kevin
|
|
|
In lugnet.cad.dat.parts, Scott Wardlaw wrote:
> That is some seriously talented work! Can I ask how long it took you to create
> it?
Hard to tell... I worked on it on and off during 15 days. I would say about 10
hours.
Philo
|
|
|
That is some seriously talented work! Can I ask how long it took you to create
it?
Scott
|
|
|
In lugnet.cad.dat.parts, Philippe Hurbain wrote:
|
Linmix once said to me that he couldnt find a LDraw model of the
Spybotics... so I decided to cope with
that beast.
|
SNIP
Great to see that parts now on the PT. Thank you Philo!
cu
mikeheide
|
|
|
Linmix once said to me that he couldnt find a LDraw model of the
Spybotics... so I decided to cope with
that beast.
Here is the prevue:
The LDraw files are available from
LDraw Parts
Tracker. Dont forget all the subfiles!
Some LDrawers may wonder how I created the smooth front cover shape. I started
with a few hires 1-4edges, inlined them and modified their horizontal alignment
with MLCad:
Then I created stripes of polygons between each pairs of lines using
Coverer tool.
Missing conditional lines between the stripes were created using Lee Gaiteris
Edger to obtain the nice smooth
shape (using LDView smooth curves option).
Enjoy,
Philo
|
|
|
In lugnet.robotics.spybotics, Daniel Wittenaar wrote:
> Based on some code i found around here from John Barnes i rewrote his RCX2Manas
> control.
>
> Now it is cappable to control 3 manas units from 1 single spybot.
!
Then I will add two Spybotics nodes in to the 6 Mana/Legged robot I am building.
When I complete it would someone like to program it?
e
|
|
|
I'm sorry for pulling up such old post.
But i'm a regular spybot & bascom user too.. And i'm busy at the moment with the
same project. Maybe we can help eachother..
I'm also very intressted in the VLL source code in Bascom..
Daniel Wittenaar
Brickbash Robotics
|
|
|
Based on some code i found around here from John Barnes i rewrote his RCX2Manas
control.
Now it is cappable to control 3 manas units from 1 single spybot.
The next NQC code drives the motors of all of them just for demo..
You can build your own motor control scheme by calling the specific motor (em1 -
em6) Followed by EM_OFF, EM_FWD, EM_REV or EM_FLOAT.
Don't forget if you have the motors set to call 'task manas()'
Hopefully it will come handy for somebody.
Greetings,
Daniel Wittenaar
Brickbash Robotics
www.brickbash.nl
//Copyright by John Barnes making this programm for RCX use.
//Editted by Daniel Wittenaar - Brickbash Robotics for Spybotic use.
//For more information about the manas protocol go to
http://news.lugnet.com/robotics/?n=15809
#define MANAS_1 5
#define MANAS_2 6
#define MANAS_3 7
#define EM_FLOAT 0
#define EM_OFF 8
#define EM_FWD 7
#define EM_REV 15
int em1,em2,em3,em4,em5,em6; //Global motor control locations
task main()
{
// This demo starts the manas comms task, then loops forever.
// In the loop, it steps through three control phases setting
// the motors to off, and then paired forward and reverse.
start manas;
while (true)
{
em1=EM_OFF;
em2=EM_OFF;
em3=EM_OFF;
em4=EM_OFF;
em5=EM_OFF;
em6=EM_OFF;
Wait(100);
em1=EM_FWD;
em2=EM_REV;
em3=EM_FWD;
em4=EM_REV;
em5=EM_FWD;
em6=EM_REV;
Wait(100);
em1=EM_REV;
em2=EM_FWD;
em3=EM_REV;
em4=EM_FWD;
em5=EM_REV;
em6=EM_FWD;
Wait(100);
}
}
// The manas task continuously resends the motor settings.
// When the Spybotic is halted, this task stops and the manas
// motors automatically shut off
task manas()
{
while (true)
{
// First ensure serial settings are still ok
SetSerialType(SERIAL_TYPE_USER);
SetSerialBaud(SERIAL_BAUD_4800);
SetSerialChannel(SERIAL_CHANNEL_IR);
SetSerialChecksum(SERIAL_CHECKSUM_SUM);
// Set the first unit two message bytes and send them
SetSerialData(0,MANAS_1*0x10+em1);
SetSerialData(1,em2*0x10+0x10-((MANAS_1+em1+em2)&0xf));
SendSerial(0,2);
// Set the second unit two message bytes and send them
SetSerialData(0,MANAS_2*0x10+em3);
SetSerialData(1,em4*0x10+0x10-((MANAS_2+em3+em4)&0xf));
SendSerial(0,2);
// Set the third unit two message bytes and send them
SetSerialData(0,MANAS_3*0x10+em5);
SetSerialData(1,em6*0x10+0x10-((MANAS_3+em5+em6)&0xf));
SendSerial(0,2);
// Delay for a while so we can resend them regularly
Wait(10);
}
}
|
|
|