kauailabs / kauaibotsfirst2010

Automatically exported from code.google.com/p/kauaibotsfirst2010
1 stars 0 forks source link

Write code for Aim command #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The Aim command will rotate the robot so that there is a straight line from the 
robot to the target.  Thus, the Aim command must direct the Drive subsystem to 
rotate to a specified angle.  The angle to be rotated should be "zero degrees", 
assuming the IMU is properly zeroed.

Original issue reported on code.google.com by scottlib...@gmail.com on 31 Jan 2014 at 8:08

GoogleCodeExporter commented 9 years ago
The Aim command will also set the ankle angle and the tensioner distance to 
match the currently understood distance to the target.  The distance to the 
target will be read from the Wall Ranger.

In addition, the Dashboard Status "aimed" should be conditioned appropriately, 
so that the driver/shooter know that the robot currently thinks it is aimed 
correctly.

Original comment by scottlib...@gmail.com on 31 Jan 2014 at 8:28

GoogleCodeExporter commented 9 years ago
It may make sense to have the Aim command reuse the "RotateToTarget" command in 
order to accomplish its goal.  This may be a good opportunity to compose a 
"Command Group" that includes the RotateToTarget command.

Original comment by scottlib...@gmail.com on 31 Jan 2014 at 8:30

GoogleCodeExporter commented 9 years ago

Original comment by scottlib...@gmail.com on 31 Jan 2014 at 8:52

GoogleCodeExporter commented 9 years ago

Original comment by scottlib...@gmail.com on 31 Jan 2014 at 8:56