User talk:Duggabe: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Install UHD from source)
(Initial creation)
 
(75 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== "Recycle Bin": content we no longer link to that we may eventually just delete ==
== Analysis of Zammad helpdesk software ==


* [[Guided_Tutorial_GNU_Radio_in_Python|Programming GNU Radio in Python]]
Our intended use of the Zammad software is to handle all emails received by <code>grcon@gnuradio.org</code>, <code>tickets@gnuradio.org</code>, and <code>sponsor@gnuradio.org</code>. It assigns a ticket number to each initial customer interaction and tracks the progress of the response, keeping subsequent emails within the same ticket as a "thread".
* [[TutorialsRemoteGUI|Remote GRC Operations]] - needs updating!
* [[UsingVim|Using VIM plugins for GNU Radio development]]
* [[TutorialsQTGUI|QTGUI Tutorial]] - A tutorial on how to develop Python GNU Radio applications.
* [[Guided_Tutorial_Extras_Sample_Rates#E2.3._A_Note_on_Resampling]] - covered by Understanding sample rate
* [[TutorialsCoreConcepts|Core concepts of GNU Radio applications]] - content used in other pages
* [[TutorialsWritePythonApplications|WritePythonApplications]] - content used in other pages
* [[OutOfTreeModulesConfig|Tutorial on how to configure OOT packages to find and link against GNU Radio]] - for 3.7; also, most of the content is covered in Writing blocks in C++
* [[TutorialPythonFunctions|Writing a Python Function for GRC]] - for 3.7; content used in other pages; it doesn't work as written!
* [[TutorialsDebugging|How to debug your applications]] - not well written; would need major rework and update


== Install UHD from source ==
=== Configuration and Use ===


If you want to use GNU Radio with a USRP, install the UHD package from source using the following instructions, or refer to the [[https://files.ettus.com/manual/page_build_guide.html USRP Manual]] for other options and Operating Systems.
==== Overview Selection Panel ====
UHD sits at the same level as GNU Radio as an independent driver, which gr-uhd references.  So if you want gr-uhd enabled, you <b>FIRST</b> must clone and install UHD.


For this example, we will start in the home directory to parallel the steps in [[InstallingGR#To_install_system_wide]].
The area of the Overviews screen which selects what emails to display currently combines four different filters into one:
* Email source (grcon, tickets, or sponsor)
* STATE (new, open, closed, pending)
* All
* Assigned to me


<pre>cd ~/</pre>
This leads to at least 14 selections. This is not ideal (in my opinion), but can be used for initial trials. A better solution would be to have two or three dropdown menus to do the selection (or maybe Github issues selection style).


The following command line script will install all the required dependencies for UHD:
==== Tags ====
<pre>
sudo apt install git cmake g++ libboost-all-dev libgmp-dev swig python3-numpy python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5 liblog4cpp5-dev libzmq3-dev python3-yaml python3-click python3-click-plugins python3-zmq python3-scipy python3-gi python3-gi-cairo gobject-introspection gir1.2-gtk-3.0 libusb-1.0-0 libusb-1.0-0-dev libudev-dev python3-setuptools
</pre>


Clone the code into your home directory:
If Tags must be selected from a pre-defined list, more options need to be defined.
<pre>git clone git://github.com/EttusResearch/uhd.git</pre>
<pre>cd ~/uhd</pre>


<b>Note:</b> In the following command, change <code>v3.15.0.0-rc3</code> to some other branch or tag if you want to build a different version.
=== Success Requires Full Participation ===
<pre>
git tag -l
git checkout v3.15.0.0-rc3
</pre>


<b>Note:</b> Unlike most build processes, this one builds under the <code>host</code> directory.
For the Zammad software to work for us, every person who processes email for any of the sources (grcon, tickets, or sponsor) must have full read and write privileges, and <b>MUST USE ZAMMAD instead of direct access to the Gmail interface.</b> Mixing the two would lead to confusion and lack of coordination.
<pre>
cd host
mkdir build
cd build
</pre>


<b>Note:</b> In the following command, we will use <code>-DCMAKE_INSTALL_PREFIX=/usr/local</code> to install UHD into the same prefix as GNU Radio.
=== Path Forward ===
<pre>cmake -DCMAKE_INSTALL_PREFIX=/usr/local ../</pre>


<b>Note:</b> In the following command, if your computer's CPU has multiple cores, you can use the argument <code>-j#</code> to speed compilation; <br> e.g., <code>make -j3</code> will use 3 threads in the build. Specify at least one less than the total number of CPU cores so the system does not appear to 'freeze' during the build. If not specified, then a single thread is used for the build.<br>
I propose that I be given 'admin' privileges to create a workable configuration for further testing and evaluation.
 
<pre>make -j3
make test
sudo make install
</pre>
 
If you're running Linux, then always do the following command after installing any library:
<pre>sudo ldconfig</pre>
 
<pre>
sudo uhd_images_downloader
cd ~/uhd/host/utils
sudo cp uhd-usrp.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger
uhd_usrp_probe
</pre>
 
== a dummy section ==
 
== a dummy section ==

Latest revision as of 16:53, 19 February 2024

Analysis of Zammad helpdesk software

Our intended use of the Zammad software is to handle all emails received by grcon@gnuradio.org, tickets@gnuradio.org, and sponsor@gnuradio.org. It assigns a ticket number to each initial customer interaction and tracks the progress of the response, keeping subsequent emails within the same ticket as a "thread".

Configuration and Use

Overview Selection Panel

The area of the Overviews screen which selects what emails to display currently combines four different filters into one:

  • Email source (grcon, tickets, or sponsor)
  • STATE (new, open, closed, pending)
  • All
  • Assigned to me

This leads to at least 14 selections. This is not ideal (in my opinion), but can be used for initial trials. A better solution would be to have two or three dropdown menus to do the selection (or maybe Github issues selection style).

Tags

If Tags must be selected from a pre-defined list, more options need to be defined.

Success Requires Full Participation

For the Zammad software to work for us, every person who processes email for any of the sources (grcon, tickets, or sponsor) must have full read and write privileges, and MUST USE ZAMMAD instead of direct access to the Gmail interface. Mixing the two would lead to confusion and lack of coordination.

Path Forward

I propose that I be given 'admin' privileges to create a workable configuration for further testing and evaluation.