ROBOTC.net forums
http://www.robotc.net/forums/

Unexpected Robot Behaviour
http://www.robotc.net/forums/viewtopic.php?f=75&t=8071
Page 1 of 1

Author:  wahk [ Thu Feb 27, 2014 12:24 am ]
Post subject:  Unexpected Robot Behaviour

Hi,
In this demonstration, the robot is attempting to grab a red ball. In the 1st program (program1), the robot stopped short and missed the ball and the robot remained in the position as expected.

In the 2nd program (program2), the robot managed to grab the red ball. After grabbing the ball, the robot is expected to remain in that position but as you see in the simulation, the robot starts turning instead. I believe this is not correct.

Cheers,
Wah

Attachments:
RVWdemo3.zip [4.14 KiB]
Downloaded 584 times

Author:  wahk [ Thu Feb 27, 2014 1:35 am ]
Post subject:  Re: Unexpected Robot Behaviour

Forgot to mention that this is simulated on the curriculum companion table/REMOTE CONTROL/Mine Removal Challenge with the Rembot (grabber) robot.

Author:  romes [ Thu Mar 13, 2014 3:23 pm ]
Post subject:  Re: Unexpected Robot Behaviour

I had this happen to me, as well. When I would command the gripper to close (motor[motorA] = 100;), that would close the gripper and cause one of the wheels to turn backwards. I had to add this code to stop the wheel from turning (motor[motorA] = 0;). Don't forget to include some wait time after each command.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/