Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding obstacle message #1

Open
farhanrahman opened this issue Nov 28, 2012 · 2 comments
Open

Adding obstacle message #1

farhanrahman opened this issue Nov 28, 2012 · 2 comments
Labels

Comments

@farhanrahman
Copy link
Member

I wanted to know if you could add a message that generated distance data to the haptic_interface (aka ANAS). I basically need that data to generate a force towards a particular direction. Just for everyone's information the formula that is going to be used to calculate the force is:

F = ((1/d1)^2 + (1/d2)^2))* ( exp (j ( 3pi/2 + (d1-d2) ) ) )

I hope it makes sense. We can talk about it tomorrow.

But ya I need someone to write a message in this repo that will contain distance data generated from both the sensors.

@farhanrahman
Copy link
Member Author

actually I might make that message in haptic_interface, then this node can use the message created there. We can always shift that message to this node later on...

@farhanrahman
Copy link
Member Author

its actually 3pi/2 - (d1-d2)....this is only specially for the case of two laser scanners pointing forwards as in our case...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant