Replies: 1 comment 2 replies
-
Now I use vrpn_client_ros to get obstacle's position information, then subscribe it in python file.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!I want to make a obstacle avoidance demo, but now I don't know where should I start.
My initial idea is:
Firstly, create obstacle rigid bodies in optitrack and send position information to crazyswarm.
Then, send goTo command to crazyflie.
Finally, when crazyflie executes goTo command, in the crazyswarm the python script calculates whether crazyflie is too close to the obstacle. If so, it will land immediately.
The question are:
1.where should I modify to make a ROS node which Include obstacle location information to be subscribed?
2.How can I do the distance calculation at the same time I use goTo command?
Could you please give me some advice?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions