Dear Crazyfliers,
How does the joystick axis position and set point information send to crazyflie? I am unable to find it in Controller.py file. There is only button cases.
In addition, where can I find the self_takeoff function?
"if i == 2 and data.buttons == 1 and self._takeoff != None:
self._takeoff()"
Thanks!
SlouchyCat
Where to find xbox joystick controller?
-
- Member
- Posts: 30
- Joined: Mon Oct 10, 2016 3:56 am
Re: Where to find xbox joystick controller?
Hi,
I assume you are talking about the ROS client? It looks like it from your copy-paste
The gamepad is read by the joy node started there for example: https://github.com/bitcraze/lps-ros/blo ... ch#L31-L33
You can see how things are "cabled" together with "rqt_graph" in ROS. The code you copy-pasted is run on a topic that comes from this joy node.
/Arnaud
I assume you are talking about the ROS client? It looks like it from your copy-paste
The gamepad is read by the joy node started there for example: https://github.com/bitcraze/lps-ros/blo ... ch#L31-L33
You can see how things are "cabled" together with "rqt_graph" in ROS. The code you copy-pasted is run on a topic that comes from this joy node.
/Arnaud