Skip to content

Crazyflie demo fixing#8

Open
tdinesh wants to merge 5 commits intomasterfrom
crazyflie_demo_fixing
Open

Crazyflie demo fixing#8
tdinesh wants to merge 5 commits intomasterfrom
crazyflie_demo_fixing

Conversation

@tdinesh
Copy link
Copy Markdown
Collaborator

@tdinesh tdinesh commented Aug 3, 2022

No description provided.

@ljarin
Copy link
Copy Markdown
Collaborator

ljarin commented Apr 4, 2023

@tdinesh does that last change seem correct to you? not really sure what "QuadrotorSafety" was?

@ljarin ljarin force-pushed the crazyflie_demo_fixing branch from 2f0415a to 21961d0 Compare April 4, 2023 20:28
@tdinesh
Copy link
Copy Markdown
Collaborator Author

tdinesh commented Apr 4, 2023

Copy link
Copy Markdown
Collaborator

@ljarin ljarin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything mostly LGTM and I tried it in sim using demo_sim.sh, but it has not been tested in real life, so I am not sure about e.g. the radio addresses or the shell script (which I think may have bugs).

@spencerfolk
Copy link
Copy Markdown

I think my student can check on Tuesday if it works on hardware.

@ljarin
Copy link
Copy Markdown
Collaborator

ljarin commented Apr 10, 2023

@DragonXeno
Copy link
Copy Markdown

@tdinesh @ljarin Dinesh & Laura, it seems like we are running into version issues with PyQt. We are currently running version 5.10.1. If I run 5.12 like it states, I get an error saying the following: "ValueError: PyCapsule_GetPointer called with incorrect name".

When running 5.10.1, we get this message in blue, followed by a timeout error.

Could not import "pyqt" bindings of qt_gui_cpp library - so C++ plugins will not be available:
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui_cpp/cpp_binding_helper.py", line 43, in <module>
    from . import libqt_gui_cpp_sip
ImportError: /home/xeno/.local/lib/python3.8/site-packages/PyQt5/Qt/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /opt/ros/noetic/lib/python3/dist-packages/qt_gui_cpp/libqt_gui_cpp_sip.so)

@DragonXeno
Copy link
Copy Markdown

Update: running the code "pip3 uninstall PyQt5-sip PyQt5" makes the blue code just disappear for some reason. We are still just getting a timeout error.

@DragonXeno
Copy link
Copy Markdown

Everything runs. No error messages, but active robots is empty and motors are not turning on or off. We verified we have the correct address, we can fly the drone with a phone, its communicating with the Vicon system fine, the radio works with cfclient.

Any ideas on why the gui buttons are not working? No matter what button we press, it says true, but nothing happens.

@DragonXeno
Copy link
Copy Markdown

image
Here is the rqt_graph. Looks like /multi_mav_gui is not connected to anything...

@ljarin
Copy link
Copy Markdown
Collaborator

ljarin commented Apr 11, 2023

Were you able to take off with just the single crazyflie and rqt_mav_manager?

@ljarin
Copy link
Copy Markdown
Collaborator

ljarin commented Apr 11, 2023

resolved offline, was unrelated to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants