03-05-2014 07:38 AM
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.
03-05-2014 09:17 AM
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
03-05-2014 09:50 AM
That sounds about right. Does that code not work? Can you post the code you have?
03-05-2014 11:59 AM
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
03-05-2014 01:08 PM
please, how can I attach a file here?
Thank you.
manolo
03-05-2014 01:10 PM
Reply and use advanced editor.
03-05-2014 01:12 PM
Thank you
03-05-2014 01:14 PM
I need to go to class,,later on I will send the code.
Thank you
03-05-2014 01:15 PM
Alternatively, just take a screenshot.
03-06-2014 06:35 AM

Good morning Karl, here it is.
The arrow is broken. Why?
Thank you.
manolo