Oh great!
Sorry for late reply, I was kinda occupied these few weeks.
Maybe I need to check my code again as it is still not working and your work would definitely help me in this.
Will keep this post updated.
Thanks a lot~
Search found 21 matches
- Thu Apr 27, 2017 4:47 pm
- Forum: Developer Discussions
- Topic: OpenCV hover-assist
- Replies: 34
- Views: 20655
- Fri Mar 24, 2017 5:28 am
- Forum: Developer Discussions
- Topic: OpenCV hover-assist
- Replies: 34
- Views: 20655
Re: OpenCV hover-assist
One useful debug tool is to look at where the Crazyflie think it is by logging the kalman filter state: https://github.com/bitcraze/crazyflie-firmware/blob/master/src/modules/src/estimator_kalman.c#L1289-L1291. If you have a recent client, this is displayed graphically in the LPS tab. It might be u...
- Sun Mar 19, 2017 7:26 pm
- Forum: Developer Discussions
- Topic: OpenCV hover-assist
- Replies: 34
- Views: 20655
Re: OpenCV hover-assist
@pedro.lucas: Your messages kind of hijacked this thread so I have created a new thread to continue the discussion: https://forum.bitcraze.io/viewtopic.php?f=6&t=2342. @twh I am currently looking at autonomous flight with a raspberry-pi camera V2 and opencv. I have that as a side-project and ho...
- Sun Mar 19, 2017 4:59 pm
- Forum: Support
- Topic: The system resumed after watchdog timeout
- Replies: 7
- Views: 4113
Re: The system resumed after watchdog timeout
Is any of the tasks returns without being deleted? It would cause this error. One way to protect the tasks is to add a "while(1);" at the end of there functions to make sure the function cannot return and to delete them using vTaskDelete. I am not sure what you are trying to achieve but d...
- Thu Mar 16, 2017 7:38 am
- Forum: Support
- Topic: The system resumed after watchdog timeout
- Replies: 7
- Views: 4113
Re: The system resumed after watchdog timeout
My design is like, whenever I send a command by using the parameter framework, a corresponding task will be created and set point will be given to the controller and the task will be deleted by itself.
- Thu Mar 16, 2017 7:30 am
- Forum: Support
- Topic: The system resumed after watchdog timeout
- Replies: 7
- Views: 4113
Re: The system resumed after watchdog timeout
Then this is not your code taking too much time but rather your code causing an assert. The file and line that asserted is printed on the next Crazyflie startup. The assert from your copied log is there: static void prvTaskExitError( void ) { /* A function that implements a task must not exit or at...
- Thu Mar 16, 2017 4:36 am
- Forum: Support
- Topic: The system resumed after watchdog timeout
- Replies: 7
- Views: 4113
Re: The system resumed after watchdog timeout
Something is most likely taking to much time. By building the debug build (DEBUG=1) the watchdog will be disabled and you can test if it works then as a first step. I have followed your method and found out it is triggered by the cfassert(). So I started to check which functions have utilised it an...
- Mon Mar 13, 2017 4:08 am
- Forum: Developer Discussions
- Topic: Definition of the 3 axes
- Replies: 1
- Views: 1654
Definition of the 3 axes
Hi all, Could anyone help me to clarify the definition of the 3 axes used in the firmware. I am trying to separate the computation of x-axis and y-axis from the z axis's. For example, one function does position control specifically for x and y axis, the other function does position control specifica...
- Sun Mar 12, 2017 5:20 pm
- Forum: Support
- Topic: The system resumed after watchdog timeout
- Replies: 7
- Views: 4113
The system resumed after watchdog timeout
Hi all, SYS: Crazyflie 2.0 is up and running! SYS: Build 225:ff06aab1d367 (2016.09-225) MODIFIED SYS: I am 0x353534303335510236005B and I have 1024KB of flash! CFGBLK: v1, verification [OK] MPU9250 I2C connection [OK]. AK8963 I2C connection [OK]. LPS25H I2C connection [OK]. DECK_DRIVERS: Found 9 dri...
- Sat Mar 11, 2017 4:43 am
- Forum: Developer Discussions
- Topic: OpenCV hover-assist
- Replies: 34
- Views: 20655
Re: OpenCV hover-assist
Hi, I just implemented the function to send position update to the Crazyflie: https://github.com/bitcraze/crazyflie-lib-python/issues/30. This function allows to update the internal kalman filter with the externally measured position. The exact procedure depends of what you try to achieve. I have a...