Hello, i want to know how to debug the source code on eclipse, i tried to debug but there is error
thanks
How to debug the programme on eclips
Re: How to debug the programme on eclips
Hi Droneman. I think it would help a lot if provided more information about your problem.
What is the error?
Where are you running eclipse (Bitcraze 0.6 VM)?
How are you stepping through the debugger?
How are you connecting to the Crazyflie?
To debug Crazyflie firmware software, you need a device to connect to the Crazyflie. You will not be able to Crazyflie firmware on your PC without a connection to the Crazyflie itself since you cannot run the firmware code on a PC (it needs the STM32 MCU to run on).
What is the error?
Where are you running eclipse (Bitcraze 0.6 VM)?
How are you stepping through the debugger?
How are you connecting to the Crazyflie?
To debug Crazyflie firmware software, you need a device to connect to the Crazyflie. You will not be able to Crazyflie firmware on your PC without a connection to the Crazyflie itself since you cannot run the firmware code on a PC (it needs the STM32 MCU to run on).
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Re: How to debug the programme on eclips
Hello chad, yes i'm using eclipse (Bitcraze 0.6 VM)?
i write some new code in the file stabilzer.c, and i want to debug the program without flashing the crazyflie everytime.
and i have a second question, could you tell me how to put a value for the roll manually without the joystick ?
i want to do an automatic flye without pc-client
i tried to set the power of the motor manually, and it works, now i want to set the value of the roll, could you tell me wich function can affect the value to the roll ?
thanks
i write some new code in the file stabilzer.c, and i want to debug the program without flashing the crazyflie everytime.
and i have a second question, could you tell me how to put a value for the roll manually without the joystick ?
i want to do an automatic flye without pc-client
i tried to set the power of the motor manually, and it works, now i want to set the value of the roll, could you tell me wich function can affect the value to the roll ?
thanks
Re: How to debug the programme on eclips
Hi,
Currently there's no way to simulate the firmware running in the Crazyflie, you will have to flash the firmware to test it. To set the attitude in the Crazyflie have a look at the stabilizer.c file.
Currently there's no way to simulate the firmware running in the Crazyflie, you will have to flash the firmware to test it. To set the attitude in the Crazyflie have a look at the stabilizer.c file.
Re: How to debug the programme on eclips
Hello marcus
thanks i tried to play with altitude, but the barometrer is not well configured , the value of barometere change with a large interfvale that you can't doing a good stability, i did i control command to hold the stability but the barometer sensor is bad configured.
Is there other solution ?
or have you idea to filter the noise ?
thanks i tried to play with altitude, but the barometrer is not well configured , the value of barometere change with a large interfvale that you can't doing a good stability, i did i control command to hold the stability but the barometer sensor is bad configured.
Is there other solution ?
or have you idea to filter the noise ?