Search found 479 matches

by kristoffer
Wed Nov 15, 2017 7:46 am
Forum: Bitcraze
Topic: Problem building in eclipse in Ubuntu 16.04
Replies: 5
Views: 2665

Re: Problem building in eclipse in Ubuntu 16.04

Yes, compiling from the command line is exactly the same thing. A short guide To clean a project (that is to remove all previously built files) to make sure the compiler is not reusing a file that is changed. This is usually not required, but there are some cases where the compiler can not understan...
by kristoffer
Mon Nov 13, 2017 2:21 pm
Forum: Bitcraze
Topic: help for project on Crazyflie 2.0
Replies: 7
Views: 2879

Re: help for project on Crazyflie 2.0

This sounds like an exciting project! You might want to take a look at the code for the z-ranger deck, even if you want to implement your own altimeter you can maybe get some ideas from how the it is designed. The z-ranger is measuring the distance to the ground and is keeping the Crazyflie at a con...
by kristoffer
Mon Nov 13, 2017 1:55 pm
Forum: Loco Positioning System
Topic: lps deck don't work
Replies: 3
Views: 1514

Re: lps deck don't work

The Loco Positioning deck should work out of the box and there should not be any need to configure use pins. Have you tried the system in Two way ranging mode (the default standard mode) with the standard Crazyflie firmware? This setup should work out of the box and is a good way to find out if your...
by kristoffer
Mon Nov 13, 2017 1:47 pm
Forum: Developer Discussions
Topic: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'
Replies: 8
Views: 2985

Re: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'

I think that the use of the setpoint_t has been added to over time, and it has become a bit messy. It could probably be improved :-) The idea is that the setpoint_t describes the desired state of the system, and this include: * absolute roll/pitch/yaw as used in the standard "manual" flying mode * r...
by kristoffer
Mon Nov 13, 2017 12:55 pm
Forum: Support
Topic: [SOLVED] Flashing an LED during autonomous flight with Python API
Replies: 1
Views: 1200

Re: Flashing an LED during autonomous flight with Python API

No, it is not possible to flash the built in LEDs from a python script out of the box. Controlling the LEDs in the Crazyflie firmware is not completely straight forward. The LEDs are controlled as sequences implemented in ledseq.c. You could maybe: 1. remove one of the LEDs from the sequence handlin...
by kristoffer
Mon Nov 13, 2017 9:31 am
Forum: Loco Positioning System
Topic: Multiple flight with loco positioning system
Replies: 1
Views: 1052

Re: Multiple flight with loco positioning system

Hi! Yes it is possible but still considered experimental. It requires some extra configuration and the firmware of the Crazyflie must be recompiled with some flags, it is also not fully supported by clients and tools. Protocols and and APIs may change and break compatibility in the future. Please se...
by kristoffer
Fri Nov 10, 2017 10:09 am
Forum: Developer Discussions
Topic: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'
Replies: 8
Views: 2985

Re: A question about 'modeDisable', 'modeAbs' and 'modeVelocity'

You can find the main control loop in stabilizerTask() in stablizer.c. The first part is about getting and understanding the current state of the system (the actual position, pitch, roll, yaw and so on) and the desired state (the wanted position and/or roll, pitch, yaw). getExtPosition(&state); stat...
by kristoffer
Fri Nov 10, 2017 9:35 am
Forum: General discussions
Topic: Issue with motors
Replies: 4
Views: 1975

Re: Issue with motors

Hi Robert! Manufacturing defect sounds bad! Please drop us an email on support@bitcraze.io, we will help you there. We would also like to understand the reason for this problem and how we can avoid it in the future. Would it be possible for you to include a few photos in the email? Sorry for the inc...
by kristoffer
Fri Nov 10, 2017 9:11 am
Forum: Loco Positioning System
Topic: Precision increase?
Replies: 4
Views: 2256

Re: Precision increase?

@szx0112 I read that z-range can only works up to 1 meter which may not be the case for me (I need to design the trajectory of a cf in a 4*3*3 space). I think the flow deck can do longer distance but may have some issue for non-flat ground surface (I need put several obstacles in the space). We use ...
by kristoffer
Fri Nov 10, 2017 8:45 am
Forum: Developer Discussions
Topic: Accessing the RadioController inputs
Replies: 16
Views: 5902

Re: Accessing the RadioController inputs

@thasu
Another option for getting data out of the Crazyflie is to use the log sub system (https://wiki.bitcraze.io/doc:crazyflie: ... h:logparam)
It is not possible to display it in the eclipse terminal though.