Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

$limit & robobasic

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
5 postsPage 1 of 1
5 postsPage 1 of 1

$limit & robobasic

Post by kif » Tue Aug 15, 2006 11:33 am

Post by kif
Tue Aug 15, 2006 11:33 am

hello all;

how is exact syntax on robobasic and the mr3024 to use the command :"$LIMIT("low",hight")for the limit servos ????




I see de manual Robobasic command bus that does not function ?? "syntax error" ???

thank's for advance
hello all;

how is exact syntax on robobasic and the mr3024 to use the command :"$LIMIT("low",hight")for the limit servos ????




I see de manual Robobasic command bus that does not function ?? "syntax error" ???

thank's for advance
kif
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 81
Joined: Mon Jun 26, 2006 1:00 am
Location: Paris

Post by kif » Wed Aug 16, 2006 12:49 pm

Post by kif
Wed Aug 16, 2006 12:49 pm

No idea ?? :(

I want limited my servo deplacement with this command : ex : $limit(00,20,95)
$limit(01,18,99)
etc....

i have error syntax = $limit not good ???
but this command exist in the manual robobasic ???

Best regards
No idea ?? :(

I want limited my servo deplacement with this command : ex : $limit(00,20,95)
$limit(01,18,99)
etc....

i have error syntax = $limit not good ???
but this command exist in the manual robobasic ???

Best regards
kif
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 81
Joined: Mon Jun 26, 2006 1:00 am
Location: Paris

Post by Pev » Wed Aug 16, 2006 2:20 pm

Post by Pev
Wed Aug 16, 2006 2:20 pm

kif wrote:No idea ?? :(

I want limited my servo deplacement with this command : ex : $limit(00,20,95)
$limit(01,18,99)
etc....

i have error syntax = $limit not good ???
but this command exist in the manual robobasic ???

Best regards


Have just had a play the $DEVICE command. This is what I have found.

IF I put

$DEVICE MRC2000

in my code I get a syntax error. If I put

'$DEVICE MRC2000

I don't get the syntax error but I cannot compile the code and when I check the controller type in the RoboBasic GUI it has been set to the MRC-2000 controller.

Working on this basis it would seem that although the command

'$DEVICE MRC2000

appears in green and looks like a comment it is actually actioned when you compile the code. Which is kind of weird.

Can I suggest you try the same with the $LIMIT command and see if it works. That would mean the correct syntax for the command example you gave would be

'$LIMIT 00,20,95
'$LIMIT 01,18,99

They will appear to be comments (i.e displayed in green) but if this command works the same as $DEVICE (the only other command prefixed with a $) then it will be actioned.

Not sure if this is right or will help but hopefully may move this issue forward for you.

look forward to hearing the outcome of your experiments with this command.

Pev
kif wrote:No idea ?? :(

I want limited my servo deplacement with this command : ex : $limit(00,20,95)
$limit(01,18,99)
etc....

i have error syntax = $limit not good ???
but this command exist in the manual robobasic ???

Best regards


Have just had a play the $DEVICE command. This is what I have found.

IF I put

$DEVICE MRC2000

in my code I get a syntax error. If I put

'$DEVICE MRC2000

I don't get the syntax error but I cannot compile the code and when I check the controller type in the RoboBasic GUI it has been set to the MRC-2000 controller.

Working on this basis it would seem that although the command

'$DEVICE MRC2000

appears in green and looks like a comment it is actually actioned when you compile the code. Which is kind of weird.

Can I suggest you try the same with the $LIMIT command and see if it works. That would mean the correct syntax for the command example you gave would be

'$LIMIT 00,20,95
'$LIMIT 01,18,99

They will appear to be comments (i.e displayed in green) but if this command works the same as $DEVICE (the only other command prefixed with a $) then it will be actioned.

Not sure if this is right or will help but hopefully may move this issue forward for you.

look forward to hearing the outcome of your experiments with this command.

Pev
Carl
-------------------------
www.alt-view.co.uk
Pev
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 547
Joined: Sun Feb 26, 2006 1:00 am
Location: UK

Post by kif » Tue Aug 22, 2006 2:16 pm

Post by kif
Tue Aug 22, 2006 2:16 pm

thank's Pev :wink:

But its not good , no effect

:cry:
thank's Pev :wink:

But its not good , no effect

:cry:
kif
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 81
Joined: Mon Jun 26, 2006 1:00 am
Location: Paris

Post by Pev » Tue Aug 22, 2006 2:52 pm

Post by Pev
Tue Aug 22, 2006 2:52 pm

kif wrote:thank's Pev :wink:

But its not good , no effect

:cry:


Hmmmm weird one. All I can suggest is dropping a note to RoboNova Support on the website : http://www.robonova.de

Sorry

Pev
kif wrote:thank's Pev :wink:

But its not good , no effect

:cry:


Hmmmm weird one. All I can suggest is dropping a note to RoboNova Support on the website : http://www.robonova.de

Sorry

Pev
Carl
-------------------------
www.alt-view.co.uk
Pev
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 547
Joined: Sun Feb 26, 2006 1:00 am
Location: UK


5 postsPage 1 of 1
5 postsPage 1 of 1