Search found 290 matches

by whoenig
Thu Feb 14, 2019 9:45 pm
Forum: Bitcraze
Topic: `what(): LIBUSB_ERROR_TIMEOUT ` Error on Roadrunner (Only on USB)
Replies: 2
Views: 68

Re: `what(): LIBUSB_ERROR_TIMEOUT ` Error on Roadrunner (Only on USB)

Feel free to open an issue in github for crazyflie_ros or crazyflie_cpp. I have seen this issue before with USB and a regular Crazyflie. Here is a change that reduces the probability of issues occurring, but does not entirely fix the problem: https://github.com/whoenig/crazyflie_cpp/commit/2d3557ee8...
by whoenig
Wed Feb 13, 2019 5:52 pm
Forum: Loco Positioning System
Topic: cmd_vel in crazyflie_controller_bridge.py
Replies: 1
Views: 62

Re: cmd_vel in crazyflie_controller_bridge.py

For new setups I think it is best to use the TDoA 3 mode. Then, you shouldn't need lps-ros at all. Instead, all the sensor fusion/state estimation is done on-board the CFs EKF. You can use crazyflie_ros or the crazyswarm with the PID or mellinger controller for velocity control. The controller in cr...
by whoenig
Wed Jan 30, 2019 11:35 pm
Forum: Support
Topic: Flow deck + high level control under ROS
Replies: 1
Views: 45

Re: Flow deck + high level control under ROS

test_high_level.py was only tested together with https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_demo/launch/external_position_vicon.launch, which in turn runs https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_demo/scripts/publish_external_position_vicon.py#L14-L23. Since...
by whoenig
Fri Jan 18, 2019 11:08 pm
Forum: Support
Topic: [SOLVED] Crazyflie ROS Stack "cmake failure"
Replies: 2
Views: 87

Re: Crazyflie ROS Stack "cmake failure"

Hi,

The book chapter is a bit outdated. You will need to initialize and update the git submodules, see https://github.com/whoenig/crazyflie_ros#installation for the updated instructions.

For crazyflie_ros related problems, it is best to open an issue on github to get help.
by whoenig
Wed Jan 09, 2019 7:45 pm
Forum: Bitcraze
Topic: Real Time Control of Crazyflie with ROS
Replies: 4
Views: 506

Re: Real Time Control of Crazyflie with ROS

Hi, The article "Flying Multiple UAVs Using ROS" was originally written in 2016 and does not contain information about cmd_hover/cmd_position or goTo because those were developed afterwards. Unfortunately, there is no newer documentation right now. cmd_position sets the current setpoint of the CF to...
by whoenig
Fri Dec 14, 2018 5:56 am
Forum: General discussions
Topic: data export by windows PC client
Replies: 5
Views: 232

Re: data export by windows PC client

If you don't need the data in realtime, I suggest using the uSD deck, which already supports synchronous logging at a much higher data rate than what you can get over the radio, see https://wiki.bitcraze.io/projects:crazyflie2:expansionboards:microsd#data_logging. It is even possible to get this dat...
by whoenig
Fri Dec 14, 2018 5:50 am
Forum: Developer Discussions
Topic: PID data conversion
Replies: 1
Views: 122

Re: PID data conversion

The conversion to PWM happens in the power distribution module: https://github.com/bitcraze/crazyflie-firmware/blob/master/src/modules/src/power_distribution_stock.c#L76-L107. There are several controller options in the firmware - which one are you referring to? The "newest" is a nonlinear controlle...
by whoenig
Thu Nov 08, 2018 2:48 am
Forum: Autonomous flight
Topic: Using Mellinger Controller in crazyflie_ros
Replies: 1
Views: 224

Re: Using Mellinger Controller in crazyflie_ros

You can set the parameter "stabilizer.controller" to 2, which enables the mellinger controller on newer firmwares. To test it with crazyflie_ros, take a look at https://github.com/whoenig/crazyflie_ros/issues/112.
by whoenig
Tue Nov 06, 2018 5:17 am
Forum: Support
Topic: Reproducing YouTube Video (Swarming CrazyFlies)
Replies: 10
Views: 1578

Re: Reproducing YouTube Video (Swarming CrazyFlies)

(Discussed via PM).
by whoenig
Wed Oct 31, 2018 12:24 am
Forum: Quadcopters
Topic: how to alter the controller's code
Replies: 10
Views: 1701

Re: how to alter the controller's code

Either works. The main challenge is to find another available pin that can do PWM in HW. The driver itself just configures the pin accordingly. I would suggest starting reading the documentation of the STM32, and trying to understand the existing servo code (you can ask specific questions here of co...