Crazyswarm Hovering (hello, world).

Firmware/software/electronics/mechanics
Post Reply
Zixuan Wang
Beginner
Posts: 1
Joined: Tue Mar 23, 2021 9:22 am

Crazyswarm Hovering (hello, world).

Post by Zixuan Wang »

Hello,

I am new to crazyswarm.
After completing Installation and Configuration, I run the test script in simulation mode.
However, an unexpected error occurred.

zixuan@zixuan-Legion-Y7000-2019-PG0:~/crazyswarm/ros_ws/src/crazyswarm/scripts$ python hello_world.py --sim
Warning: No joystick found!
Traceback (most recent call last):
File "hello_world.py", line 22, in <module>
main()
File "hello_world.py", line 13, in main
cf = swarm.allcfs.crazyflies[0]
IndexError: list index out of range


I have several questions.
1. What is the cause of this error and how can I solve it?
2. In order to achieve crazyswarm 3D simulation, do I need to install some additional software?
Thanks,
Zixuan.
kristoffer
Bitcraze
Posts: 630
Joined: Tue Jun 30, 2015 7:47 am

Re: Crazyswarm Hovering (hello, world).

Post by kristoffer »

Hi!

Even though the Crazyswarm is tightly connected to the Crazyflie, it is more likely that you will get better and faster help in the CrazySwarm support channels. I think https://github.com/USC-ACTLab/crazyswarm might be the right place for this.

Good luck!
Post Reply