| | determine the degree of turning by using ultrasonic sensor Elizabeth Mabrey
|
| | Is it quick way to determining the # of degree or some value which will help to calculate the distance travelled. more or less like the x= rotation-click.. Is it a way to read how much the motor has turned from a certain point. - Reset motor/sensor (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
| | |
| | | | RE: determine the degree of turning by using ultrasonic sensor Elizabeth Mabrey
|
| | | | Ok... I wrap every sequence of motion control with mutex. I created a movement macro which basically just wrap the command(s) around with acquire and release. By the way, would someone tells me how I'll find out how the mutex datatype implemented. (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
| | | | |
| | | | RE: determine the degree of turning by using ultrasonic sensor Elizabeth Mabrey
|
| | | | Found it... RotateMotor(OUT_C, 100, turn); x = MotorRotationCount(OUT_C); --E -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Elizabeth Mabrey Sent: Tuesday, May 22, 2007 12:57 PM To: (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
| | | | |