Search found 7 matches

by sAz
Thu Jan 21, 2021 4:41 pm
Forum: Support
Topic: Error when using the address 0xE7E7E7E7E4
Replies: 1
Views: 22

Error when using the address 0xE7E7E7E7E4

Hi everyone, I am connecting to 6 drones at the same time. When I use the address 0xE7E7E7E7E4 for one of the drones I get the messages below. These messages are prompted non stop so I have to press ctrl+c to stop the program. [2] SYS: ------------------------- [1] SYS: ------------------------- [3]...
by sAz
Fri Dec 18, 2020 1:45 pm
Forum: Support
Topic: PC-Communication vs p2p
Replies: 3
Views: 608

Re: PC-Communication vs p2p

Ok I see. So p2p packets are competing with pc-packets (if I am not wrong). That means that one communication type blocks the other right? If one communication type blocks the other, than how is it possible to use p2p and pc-communication at the same time? Is there some prioritization? Yes I tried t...
by sAz
Thu Dec 17, 2020 1:05 pm
Forum: Support
Topic: PC-Communication vs p2p
Replies: 3
Views: 608

PC-Communication vs p2p

Hi everybody, I was experimenting p2p communication and drone-pc communication for a while. I was trying to find out why pc-drone communication causes high p2p-packet loss. I also tried to understand if p2p communication can disturb pc-drone communication. For that I have written the following funct...
by sAz
Thu Dec 17, 2020 12:28 pm
Forum: Support
Topic: Error 7 when adding id=2 (Block too large)
Replies: 3
Views: 143

Re: Error 7 when adding id=2 (Block too large)

For logging I do the following: uris = [ 'radio://0/80/2M/E7E7E7E7E0', 'radio://0/80/2M/E7E7E7E7E1', 'radio://0/80/2M/E7E7E7E7E2' ] def log_stab_callback(uri, timestamp, data, log_conf): global recording_pos_dict global recording_pos_dict_est x = float(data['drone.psX']) y = float(data['drone.psY'])...
by sAz
Wed Dec 16, 2020 2:11 pm
Forum: Support
Topic: Error 7 when adding id=2 (Block too large)
Replies: 3
Views: 143

Error 7 when adding id=2 (Block too large)

Hi everyone, I get the message Error 7 when adding id=2 (Block too large) every time I try to log the following data: lg_vars = { 'drone.id' : 'uint32_t', 'drone.psX' : 'float' , 'drone.psY' : 'float', 'drone.psZ' : 'float', 'drone.esPsX' : 'float', 'drone.esPsY' : 'float', 'drone.esPsZ' : 'float' }...
by sAz
Fri Dec 11, 2020 6:29 pm
Forum: Developer Discussions
Topic: [solved] Logging Data from a Swarm
Replies: 3
Views: 233

Re: Logging Data from a Swarm

This solution works fine. However my script would look like this: ... if __name__ == '__main__': cflib.crtp.init_drivers(enable_debug_driver=False) # initialize drivers factory = CachedCfFactory(rw_cache='./cache') with Swarm(uris, factory=factory) as swarm: swarm.parallel_safe(log_position) while T...
by sAz
Tue Dec 08, 2020 3:48 pm
Forum: Developer Discussions
Topic: [solved] Logging Data from a Swarm
Replies: 3
Views: 233

[solved] Logging Data from a Swarm

Hi everyone, I am running a collision avoidance algorithm on the drones that I have and I would like to plot the flight trajectory of each drone. To this purpose I am trying to log the position of each drone during the flight. I am using the following script for flight control: # imports and other d...