Replies: 1 comment 1 reply
-
Hi! I'm not too familiar with Crazyswarm1 itself.. but I know that support for that will be a lot less as the maintainers have moved on (as you noticed). Would it be possible for you to start with crazyswarm2: https://github.com/IMRCLab/crazyswarm2 ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Host of Issues with firmware, chooser, and state estimates. Any Help Appreciated.
Setup:
Razer Blade 15 Laptop running Ubuntu 20.04 on VMware Workstation 16
2x Crazyflie 2.1 with LPS decks and Flowdecks installed
8 LPS Nodes in a 2 square meter room using TDoA3
Channel 100, designations 2 and 6 for dual deck CF’s
Firmware on everything is the latest from the Bitcraze CFclient
Note:
Crazyflies work fine with cfclient and cf python lib from bitcraze On bitcraze VM. Note that I was unable to get cfclient installed on my own VM where crazyswarm is. (Everything is grayed out when I open it.)
Discussions I’ve already read trying to solve this:
#105
#137
#727
What’s going on:
I have had a series of problems with Crazyswarm. It initially worked upon installation but almost immeditely ceased to work afterwards. In chronological order things progressed as follows:
Installed crazyflie in a catkin workspace (I’m dumb sorry). Was working more than right now however. Hoverswarm ran. However running hello world the CF’s failed to take off properly and instead flipped over or sideways crashing down to the ground or flew straight sideways towards the wall (or in one case straight towards my head)
After Going back to the Bitcraze VM and making sure everything still worked there I returned to my normal VM with Crazyswarm. No luck however, still had the same issue.
At somepoint crazyswarm stopped being able to connect. Running chooser.py, I kept getting timeout errors. (see figure 1) Also note that not all CF’s that I put into allcrazyflies.yaml showed up in the chooser gui but it would still show up in timeout errors as seen in the figures.
Eventually did rm -r to my crazyswarm installation in the workspace and installed it in my home directory with the intent of doing the symbolic link. No changes in behavior after doing this.
Ran again yesterday while redoing the crazyradio config steps and briefly got chooser to show battery but still could not get it to work consistently or flash firmware as seen in the figures. Additionally as is seen it cannot find the firmware to flash even during the brief moments things are working.
Switching to the PID controller definitely did not solve my control problem. I ran the hello world script again with the PID controller selected in hoverswarm. Two things happened. Just like how CF6 is appearing in chooser gui but CF2 is not, the same is true for the Hoverswarm visualization. Nevertheless helloworld selected CF2 and proceeded to gain horizontal speed and slam into the wall at high speed ignoring my commands to kill the program (See figures 4 and 5). At this point I am totally at a loss on what to do.
Any help is appreciated!!
Important notes:
CFClient on bitcraze VM says the link quality is adequate, usually above half full. I don’t think that is the issue. Though as seen in figures link quality has low warnings occasionally during Hoverswarm
Initially I thought maybe I need to run chooser while hoverswarm isn’t running, however even this fails often.
All figures are from today and yesterday.
Figure 1: Timeout Error on Every Chooser Button Shown.
It can be seen that the firmware can also not be found
Figure 2: Trying to run list params
Figure 3: Trying to run chooser again after sourcing. Still cannot find firmware 🙁
Notice after closing hoverswarm that at least I can get the battery voltage, this isn’t consistent however. It fails moments later. Still cannot flash firmware.
Figure 4: Rviz Running, occasional link quality warnings. More happened later with the crash
Figure 5: Crash! wouldn’t land when I wanted it to
Beta Was this translation helpful? Give feedback.
All reactions