... | ... | @@ -28,6 +28,11 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="7777", MODE="0664" |
|
|
|
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", ATTRS{idProduct}=="0101", MODE="0664", GROUP="plugdev"
|
|
|
|
|
|
**Instal Python module USB**
|
|
|
|
|
|
`sudo apt-get update`
|
|
|
`sudo apt-get install python-pip #if you don't have pip installed already`
|
|
|
`sudo pip install pyusb`
|
|
|
|
|
|
**SETUP ROS**
|
|
|
|
... | ... | @@ -49,9 +54,10 @@ Run the following commands, by changing <distro> with the name of the installed |
|
|
|
|
|
`mkdir ~/crazyflie_ws /sandbox`
|
|
|
|
|
|
`source ~/crazyflie_ws/setup.bash`
|
|
|
|
|
|
`rosws set ~/crazyflie_ws /sandbox`
|
|
|
|
|
|
`source ~/crazyflie_ws/setup.bash`
|
|
|
|
|
|
For a detailed explanation of the meaning of each of the commands, see
|
|
|
|
... | ... | @@ -64,9 +70,32 @@ http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment |
|
|
|
|
|
`roscreate-pkg crazypkg std_msgs rospy roscpp`
|
|
|
|
|
|
Download the crazyflie_ws folder from gitlab and copy the content of the crazypkg folder (crazyflie_ws/sandbox/crazypkg/) into the crazypkg folder of the workspace created in the previous step (~/crazyflie_ws /sandbox/crazypkg).
|
|
|
Download the crazyflie_ws folder from gitlab and copy the following content of the crazypkg folder (crazyflie_ws/sandbox/crazypkg/) into the crazypkg folder of the workspace created in the previous step (~/crazyflie_ws /sandbox/crazypkg):
|
|
|
|
|
|
gui
|
|
|
|
|
|
include
|
|
|
|
|
|
launch
|
|
|
|
|
|
lib
|
|
|
|
|
|
log
|
|
|
|
|
|
Run the following commands
|
|
|
msg
|
|
|
|
|
|
nodes
|
|
|
|
|
|
scripts
|
|
|
|
|
|
src
|
|
|
|
|
|
CMakeLists.txt
|
|
|
|
|
|
|
|
|
Run the following commands from the crazypkg folder
|
|
|
|
|
|
`source ~/crazyflie_ws/setup.bash`
|
|
|
|
|
|
`rospack profile`
|
|
|
|
... | ... | |