Search found 26 matches

by wydmynd
Mon Aug 19, 2019 11:56 am
Forum: Developer Discussions
Topic: force multiple decks?
Replies: 1
Views: 25

force multiple decks?

Hi, Due to the known SPI sharing issue with flow and sd card decks, I am trying to make a modified uSD deck. it has no OW memory so I want to force it using - CFLAGS += -DDECK_FORCE=bcUSD problem is, I already use some autonomous code on a "virtual deck" which is forced. can you force 2 decks? thanks!
by wydmynd
Sun Jul 14, 2019 8:30 am
Forum: Support
Topic: cannot flash firmware - cannot connect to bootloader
Replies: 1
Views: 113

cannot flash firmware - cannot connect to bootloader

hi I cannot connect to bootloader to flash firmware. I can connect to the drone in FW mode - (via USB) --- SYS: Crazyflie 2.0 is up and running! SYS: Build 0:a1d5aac6f3e6 (2019.02) MODIFIED SYS: I am 0x2035355237485008004D0039 and I have 1024KB of flash! CFGBLK: v1, verification [OK] DECK_DRIVERS: F...
by wydmynd
Wed Jul 03, 2019 1:15 pm
Forum: Developer Discussions
Topic: implementing collision avoidance in FW
Replies: 11
Views: 1312

Re: implementing collision avoidance in FW

the cause was sending lots of debug messages (about 30hz) using DEBUG_PRINT when a PC is not connected will cause a crash
by wydmynd
Tue Jul 02, 2019 6:23 am
Forum: Autonomous flight
Topic: Autonomus flight with pointcloud (vispy)
Replies: 9
Views: 1085

Re: Autonomus flight with pointcloud (vispy)

the multiranger_push is probably sending commands that are blocking keyboard commands.

If you start using threads , you can probably organize the code better.
by wydmynd
Mon Jul 01, 2019 1:18 pm
Forum: Developer Discussions
Topic: implementing collision avoidance in FW
Replies: 11
Views: 1312

Re: implementing collision avoidance in FW

it gave me about 100 warnings (mostly about variable casting, and none of them from code I actually wrote..)
but I disabled "treat warnings as errors" and compiled with DEBUG=0

next time I have this problem I will report back
by wydmynd
Wed Jun 26, 2019 1:48 pm
Forum: Developer Discussions
Topic: implementing collision avoidance in FW
Replies: 11
Views: 1312

Re: implementing collision avoidance in FW

OK , I have done alot of testing and have some success! I succeeded in making the CF stop whenever it encounters obstacles. But it is doing it with a high-level position command , so it works when I use a high-level controller. This required changing the go_to function in crtp_commander_high_level.c...
by wydmynd
Sun Jun 23, 2019 6:28 am
Forum: Developer Discussions
Topic: NRF Firmware esb.c Packet Counters
Replies: 3
Views: 172

Re: NRF Firmware esb.c Packet Counters

interesting project! please keep us updated on progress :)
by wydmynd
Wed Jun 19, 2019 2:36 pm
Forum: Developer Discussions
Topic: implementing collision avoidance in FW
Replies: 11
Views: 1312

Re: implementing collision avoidance in FW

I found crtpCommanderHighLevelGetSetpoint https://github.com/bitcraze/crazyflie-firmware-experimental/blob/857c1e64ec91eaa5b0e2799447dffcb75343ea27/src/modules/src/commander.c#L87 I assume it allows polling the current go_to setpoint. but if I want to pass all commands through my code I will have to...
by wydmynd
Wed Jun 19, 2019 1:23 pm
Forum: Developer Discussions
Topic: implementing collision avoidance in FW
Replies: 11
Views: 1312

Re: implementing collision avoidance in FW

Thanks! it works! I was focused on the compiling and running I missed this functionality in the code. regarding your comment on high level control, from my experience you can send low level set points to a drone running high level controller, but after the command finishes executing the drone will r...
by wydmynd
Tue Jun 18, 2019 9:57 am
Forum: Developer Discussions
Topic: implementing collision avoidance in FW
Replies: 11
Views: 1312

Re: implementing collision avoidance in FW

Hi again! I tried to follow the instructions. for the first method (push.c as a "virtual deck") first I tried cloning the proper branch of crazyflie-experimental and building it, but there were many errors. So I started from a fresh VM , added only the push.c file in the deck/driver/src folder added...