Search found 14 matches

by skyfall
Tue Aug 18, 2020 2:47 am
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

Yes it seems like I did not run Make Clean and Make all before Make Cload. Made a careless mistake right there. Manage to get the correct reading from the read_geometry.py and execute the example script successfully. Thanks a lot, Kimberly and Kristoffer! Will explore the example codes and modify th...
by skyfall
Mon Aug 17, 2020 10:28 am
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

This is the data I get from get_bs_geometry.py {.origin = {-2.773810, -2.199236, 1.834268, }, .mat = {{0.728328, -0.482620, 0.486432, }, {0.383960, 0.875410, 0.293653, }, {-0.567550, -0.027105, 0.822892, }, }}, {.origin = {2.383540, 0.506718, 1.828065, }, .mat = {{-0.786229, 0.534507, -0.310074, }, ...
by skyfall
Mon Aug 17, 2020 8:00 am
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

Yes, I followed according to the instructions from the Lighthouse Positioning system documentation. When I run the read_geometry-mem.py at the same position where I collaborated the base stations, it gives me a different coordinates from the get_bs_geometry.py value.
by skyfall
Fri Aug 14, 2020 4:30 pm
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

I would say that the crazyflie is relatively new though. I only got it out of the box when I started this project. As for the firmware, must I download both the firmware-cf2-2020.06.zip and firmware-tag-2020.60.zip? This is because I only downloaded the firmware-cf2-2020.06.zip from GitHub.If both z...
by skyfall
Fri Aug 14, 2020 8:25 am
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

They do take off, but then it will fly randomly and crash eventually. Since the swarmcircle involves 2 drones, I moved on to work on the hl-commander-swarm example first with 1 drone to see if the positioning working or not. It produces same outcome though unfortunately. Here is the code: # -*- codi...
by skyfall
Fri Aug 14, 2020 3:27 am
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

I have read through the guide again already. Here is the data that I got from the plotter: StateEstimate2.JPG Everything seems constant, but when I run the code, the drone still doesn't seem to work still. An 'Error no LogEntry' problem also came out while executing the script. bitcraze@ubuntu:~/pro...
by skyfall
Thu Aug 13, 2020 9:20 am
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

Here is the result of the stateEstimate.x/y/z that I get when the drone is stationary at the centre of the play area. Not too sure how to interpret the graph though.
StateEstimate.JPG
by skyfall
Thu Aug 13, 2020 8:44 am
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

Previously, I was using both the LH deck and Flow Deck, which only 1 was working. I tried to remove the Flow deck, utilizing only the LH deck, but the results seemed to be worst. Both the drone didn't execute as expected. Following is the modified code for 2 drones for the swarmSequenceCircle.py: # ...
by skyfall
Thu Aug 13, 2020 3:38 am
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

Tried running the example code already with 2 drones, but then only manage to get one of the drones flying properly. The other one managed to take off, but then it lost control after a while and fell eventually. In the code, it states that the layout must be as follows: > ^ + v < How do I know which...
by skyfall
Wed Aug 12, 2020 8:43 am
Forum: Lighthouse positioning system
Topic: Drone Swarming with HTC Vive
Replies: 27
Views: 9544

Re: Drone Swarming with HTC Vive

For the swarmSequenceCircle.py, it states that it is the script for 5 Crazyflies. As such, I will need to comment the extra 3 URL/Params right let's say I am testing with 2 Crazyflies first?