Search found 15 matches
- Fri Nov 06, 2015 3:24 pm
- Forum: Bitcraze
- Topic: Certyflie at Student Demo Cup
- Replies: 0
- Views: 1997
Certyflie at Student Demo Cup
Hello everyone, During a 6 months internship at AdaCore, I reimplemented the Crazyflie firmware using SPARK, a technology based on formal methods used to prove code correctness. Here is a link to a previous topic where I presented the work I was doing: https://forum.bitcraze.io/viewtopic.php?f=6&...
- Thu May 28, 2015 10:33 am
- Forum: Developer Discussions
- Topic: Reimplementation of the Crazyflie firmware in SPARK
- Replies: 3
- Views: 3660
Re: Reimplementation of the Crazyflie firmware in SPARK
Hello Bitcraze community
I've done a blog post explaining all the work I've been doing on the Crazyflie firmware using SPARK on the AdaCore Blog.
For those who are interested, here is the link: http://blog.adacore.com/how-to-prevent- ... sing-spark
Enjoy
I've done a blog post explaining all the work I've been doing on the Crazyflie firmware using SPARK on the AdaCore Blog.
For those who are interested, here is the link: http://blog.adacore.com/how-to-prevent- ... sing-spark
Enjoy
- Fri May 22, 2015 8:47 am
- Forum: Developer Discussions
- Topic: Crtp Protocol - connection procedure between client and CF
- Replies: 1
- Views: 1560
Re: Crtp Protocol - connection procedure between client and
I forgot to mention that I didn't rewrite the LOG/Param subsystem yet: thus, I don't send the TOC to the python client when starting. I don't know if it's mandatory for the client to get the TOC at start...
Thanks in advance for your answers
Thanks in advance for your answers
- Thu May 21, 2015 10:28 am
- Forum: Developer Discussions
- Topic: Crtp Protocol - connection procedure between client and CF
- Replies: 1
- Views: 1560
Crtp Protocol - connection procedure between client and CF
Hello everyone! I have translated the whole CRTP communication protocol in Ada and I'm receiving radio packets in the CRTP_PORT_LINK. The crtpservice module seems to handle a sort of acknowledgement between the Crazyflie and the python client, and the packet channel seems to determine what response ...
- Thu Apr 23, 2015 12:28 pm
- Forum: Developer Discussions
- Topic: LOG subsystem and sections
- Replies: 1
- Views: 1536
LOG subsystem and sections
Hello everyone, I want to implement the Crazyflie LOG subsystem in ADA. I'm trying to figure out how it works in log.h and log.c. I see that the macros used to register Log groups with the variables to be logged (LOG_GROUP_START, LOG_GROUP_STOP) puts all the 'log_s' structures (containing the type, ...
- Wed Apr 22, 2015 9:52 am
- Forum: Developer Discussions
- Topic: console.c: fail to understand some code
- Replies: 5
- Views: 2785
Re: console.c: fail to understand some code
Ok, I see how the things work now.Yes exactly and you would be able to see this in the console output when "<F>" is displayed.
Thank you for your answers
- Tue Apr 21, 2015 9:52 am
- Forum: Developer Discussions
- Topic: console.c: fail to understand some code
- Replies: 5
- Views: 2785
Re: console.c: fail to understand some code
Ok I see. But nothing is done to recover from this situation, right?
So if many calls to 'consolePuts' (via DEBUG_PRINT) are done during startup, when the CF is not yet connected, some of these messages will never be sent to the client python, am I right?
So if many calls to 'consolePuts' (via DEBUG_PRINT) are done during startup, when the CF is not yet connected, some of these messages will never be sent to the client python, am I right?
- Mon Apr 20, 2015 7:25 am
- Forum: Developer Discussions
- Topic: console.c: fail to understand some code
- Replies: 5
- Views: 2785
Re: console.c: fail to understand some code
Nobody can help?
- Fri Apr 17, 2015 3:18 pm
- Forum: Developer Discussions
- Topic: console.c: fail to understand some code
- Replies: 5
- Views: 2785
console.c: fail to understand some code
Hi everybody, I'm currently trying to translate the Crazyflie 2.0 firmware in ADA. Looking deeper in the code, I don't understand this piece of code, located in console.c: static const char fullMsg[] = "<F>\n"; // ... int consolePutchar(int ch) { int i; // ... if (ch == '\n' || messageToPr...
- Mon Apr 13, 2015 9:52 am
- Forum: Developer Discussions
- Topic: CRTP Protocol - Syslink packet dispatching
- Replies: 3
- Views: 2723
Re: CRTP Protocol - Syslink packet dispatching
Well I understant that you want to "convert" the Syslink packet into a CRTPPacket by "filling" the CRTPPacket with the Sysling length (previously decreased, to remove the 'type' component of the Syslink packet). But the problem is that the size of the CRTPPacket struct is 32 byte...