LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

movement On dani

DaNI has encoders, which I believe are used for some PID control on the velocity setpoints.  If you look at the velocity setpoint control for DaNI, you will be able to see the encoder data, which then gives you position, which you can use to specify a distance for the robot to travel.

0 Kudos
Message 11 of 30
(1,637 Views)

Thank you Karl, yes DaNI has encoders and we know perfectly how those encoders work. The thing is that we want to do something like the following:

     open the communication with DaNI

     open the communication with the FPGA

     initialize the encoders ( make the count equal to zero)

  1)   read the encoders

     if the count is less than a constant go to point 1; if not stop the DaNI.

That is all.

PS/ Is it the block diagramm a right way to think (in terms of the labView software)?

Thank you.

manolo

0 Kudos
Message 12 of 30
(1,637 Views)

That sounds about right.  Does that code not work?  Can you post the code you have?

0 Kudos
Message 13 of 30
(1,637 Views)

I will do it Karl. Let me see if I can connect to the robot.

Thank you and sorry for the late response. I was in class.

manolo

0 Kudos
Message 14 of 30
(1,637 Views)

please, how can I attach a file here?

Thank you.

manolo

0 Kudos
Message 15 of 30
(1,637 Views)

Reply and use advanced editor.

0 Kudos
Message 16 of 30
(1,637 Views)

Thank you

0 Kudos
Message 17 of 30
(1,637 Views)

I need to go to class,,later on I will send the code.

Thank you

0 Kudos
Message 18 of 30
(1,637 Views)

Alternatively, just take a screenshot.

0 Kudos
Message 19 of 30
(1,637 Views)

exampleVI.jpg

Good morning Karl, here it is.

The arrow is broken. Why?

Thank you.

manolo

0 Kudos
Message 20 of 30
(1,637 Views)