Emergency stop Function for cfclient #698
Replies: 1 comment
-
Hi! This is an area that we are currently working on (an extended supervisor and arming functionality, see bitcraze/crazyflie-firmware#1272). One of the features will actually be an emergency stop button in the client (I think it is almost done, but might not be part of the PR yet). Perhaps it does not make sense for you to work on the same feature, but I have a suggestion for a similar project. What I suggest is to write a separate emergency stop application, essentially a window with a big red emergency stop button(-ish). This would be a small program that a user can run on a computer that broadcasts an emergency stop message to all Crazyflies using a second radio. The idea is to completely separate the emergency stop functionality from the application that controls the Crayzflie (like a script or Crazyswarm). In 2017 we built a physical emergency stop button (see https://www.bitcraze.io/2017/05/demo-for-icra-2017/) and what I have in mind is an application that is doing the same thing. You can find the code from 2017 in the repo that is linked in the blog post, most of it will probably still work :-) What do you think, would this be an interesting project? I would be happy to point you in the right direction for where and how to implement it. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am still a beginner but want to create a series of youtube tutorials to help fellow beginners be able to get started with programming the Crazyflie. But I require some technical help with it. Thank you in advance for helping out!
I wanted to make an emergency stop when I press the Enter button on my laptop. I saw that in one of your tutorials "Crazyflie Logging and parameter framework tutorial" 8min 40s: https://www.youtube.com/watch?v=chWrNh73YBw&list=PLj9XMmQVSr-C-ZXeWWyZgeZ7C4g6A5nPj&index=9
you guys did something similar. However, the video is 9 years old and I saw that most of it is completely different now. I saw that there is a variable emergencyStop now. Can I also add a param group with it and change it or is it smarter to create a new Parameter? And how can I let cfclient listen for key presses to enable emergency stop? (pressing the button or changing in parameters page is a bit slow)
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions