Crazyswarm Hovering (hello, world).
Posted: Wed Apr 28, 2021 9:15 am
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.
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.