树莓派2接受ads-b时遇到的问题

在使用树莓派2运行dump1090时,输入命令sudo apt-get install librtlsdr-dev
时,显示没有发现软件包 librtlsdr,是什么原因

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
怎样对ADS-B信号进行IQ调制,自己尝试着写,发现最后的IQ样本不对?

clear all; clc; % load('E:\ADS-B Receiver-V1\TestData\ABC123.mat'); % load('E:\ADS-B Receiver-V1\TestData\Binary20_24_28.mat'); % Data_Block=round(rand(1,112)); AA = '780123'; Lon = 113.23; Lat = 35.15; Alt = 32500; [Data_Block_odd,Data_Block_even] = Data_Block_Generate(AA,Lon,Lat,Alt); %实现中频10MHz ASK调制 IFCarr_Fre=10e6; Sample_Fre=50e6; %时延 delay_odd=0;%us delay_even=0;%us SNR1=25; [sl1,ADSB_1090ES_Signal_odd1]=ADSB_1090ES_Generate(Data_Block_odd,IFCarr_Fre,Sample_Fre,delay_odd,SNR1); [sl2,ADSB_1090ES_Signal_even1]=ADSB_1090ES_Generate(Data_Block_even,IFCarr_Fre,Sample_Fre,delay_even,SNR1); slu = [sl1,zeros(1,300),sl2]; sl1n=sqrt(10.^(25/10)).*slu + randn(1,12300);%randn 正太分布的随机数 ADSB_1090ES_Signal = [ADSB_1090ES_Signal_odd1,ADSB_1090ES_Signal_even1]; t=0:1/Sample_Fre:1/Sample_Fre*(length(ADSB_1090ES_Signal)-1); %save ADSB_1090ES_Signal ADSB_1090ES_Signal1 ADSB_1090ES_Signal11 ADSB_1090ES_Signal2 ... % ADSB_1090ES_Signal21 ADSB_1090ES_Signal3 ADSB_1090ES_Signal31; %ADSB_1090ES_Data1 = downsample(ADSB_1090ES_Data,4); %ADSB_1090ES_Signal1 = downsample(ADSB_1090ES_Signal,4); %t1 = downsample(t,4); % %ADSB_1090ES_Signal_Hil = hilbert(ADSB_1090ES_Signal); %ADSB_1090ES_Signal_Hili = imag(ADSB_1090ES_Signal_Hil); %sum(ADSB_1090ES_Signal.*ADSB_1090ES_Signal_Hili) %fft_sig = fftshift(fft(ADSB_1090ES_Signal)); %fft_sigh = fftshift(fft(ADSB_1090ES_Signal_Hil)); %N=length(fft_sig); %f=linspace(-Sample_Fre/2,Sample_Fre/2 - Sample_Fre/N,N); %figure; %subplot(211); %plot(f,abs(fft_sig)); %subplot(212); %plot(f,abs(fft_sigh)); %figure; %plot(t.*1e6,20*log10(abs(ADSB_1090ES_Signal_Hil))); %grid on; %title('Hilbert变换后的信号波形');% % % ADSB_1090ES_Signal = downsample(abs(ADSB_1090ES_Signal_Hil),4); % % t1 = downsample(t,4); figure(1); plot(t.*1e6,ADSB_1090ES_Signal,'b'); grid on; % legend('中频信号波形','Hilbert变换后的信号波形'); title('时域波形');xlabel('t/us');ylabel('幅度'); %数字正交调制 % IF1_carrier=10e6; % IFCarr_dem = 2*Sample_Fre - IFCarr_Fre; cosCar_IF1=cos(2*pi*IFCarr_Fre*t); sinCar_IF1=sin(2*pi*IFCarr_Fre*t); %同相分量 ADSB_1090ES_RecI =ADSB_1090ES_Signal .*cosCar_IF1; %正交分量 ADSB_1090ES_RecQ =ADSB_1090ES_Signal .*sinCar_IF1; %构建低通滤波器,截止频率为2MHz %Lowpass=fir1(8,2e6/(Sample_Fre/2));%阶数目前是随意选的 % figure % %低通滤波器的频率响应 % freqz(Lowpass,1); %ADSB_1090ES_RecI_LP=filter(Lowpass,1,ADSB_1090ES_RecI);%同相分量 %ADSB_1090ES_RecQ_LP=filter(Lowpass,1,ADSB_1090ES_RecQ);%正交分量 %希尔伯特变换 ADSB_1090ES_Rec=ADSB_1090ES_RecI+1i*ADSB_1090ES_RecQ; % ADSB_1090ES_Rec=abs(ADSB_1090ES_Rec); % ADSB_1090ES_Rec=sqrt(ADSB_1090ES_Rec); % delay=(30+8)/2; % % the downsample for receive_signal % ADSB_1090ES_Rec_downsample=downsample(ADSB_1090ES_Rec,2); % % the delay adjust for filter % re_detection= ADSB_1090ES_Rec_downsample(delay+1:end-delay); %由于通过滤波器,产生了时延(线性相位) %figure %subplot(3,1,1); %plot(t.*1e6,abs(ADSB_1090ES_RecI_LP));grid on; %title('同相分量');xlabel('t/us');ylabel('幅度'); %subplot(3,1,2); %plot(t.*1e6,abs(ADSB_1090ES_RecQ_LP));grid on; %title('正交分量');xlabel('t/us');ylabel('幅度'); %subplot(3,1,3); %plot(t.*1e6,abs(ADSB_1090ES_Rec));grid on; %title('解调后信号');xlabel('t/us');ylabel('幅度'); %求调制信号的定积分 N = length(t)-1; dt = 1/Sample_Fre; integral_ADSB_1090ES_Rec(1)=0; for i=1:N integral_ADSB_1090ES_Rec(i+1)=integral_ADSB_1090ES_Rec(i)+ADSB_1090ES_Rec(i)*dt; end figure(2); plot(t,integral_ADSB_1090ES_Rec); title('IQ信号'); save ADSB_1090ES_Signal_odd1 有偿求教 加v guxinan520

如何使用PHP中的Google广告词API创建产品组

<div class="post-text" itemprop="text"> <p>I need to create a new product group. I have used below library to do that process.</p> <p><a href="https://github.com/googleads/googleads-php-lib" rel="nofollow noreferrer">https://github.com/googleads/googleads-php-lib</a>.</p> <p>I tried add Shopping campaign to create a new product group. </p> <p><a href="https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201806/ShoppingCampaigns/AddShoppingCampaign.php" rel="nofollow noreferrer">https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201806/ShoppingCampaigns/AddShoppingCampaign.php</a></p> <p>I don't know whether it is correct or wrong. If the method is correct,</p> <pre><code>const BUDGET_ID = 'INSERT_BUDGET_ID_HERE'; const MERCHANT_ID = 'INSERT_MERCHANT_ID_HERE'; </code></pre> <p>I want to know where can i get "BUDGET Id". Otherwise please provide the sample code to create product group using google ad words API.</p> <p>Note: <em>I am new to google ad words.</em> </p> </div>

怎么能把USB驱动移植到zedboard(的ARM)上从而可以用接收无线信号(ADS-B)?

我们想尝试用ARM接收ADS-B1090的信号,通过zedboard内部连接传给pl端再解码再传给pc端显示。之前想直接用pl(fpga)做,但是是使用的DVB-T电视棒接收的无线信号,它是用USB传输的,没办法直接用fpga接收,所以想用ARM转接一下,但是对于驱动移植不太熟悉,或者说对其可行性也不明确,不知道能不能做到,需要先移植linux系统才能实现吗?linux系统下的USB驱动能不能直接用?求大神指导下!!谢谢

使用composer在cakephp 3中安装Facebook-php-ads-sdk

<div class="post-text" itemprop="text"> <p>Ok, im quite lost with Composer and Cakephp 3.0. Im trying to install <a href="https://github.com/facebook/facebook-php-ads-sdk" rel="nofollow">https://github.com/facebook/facebook-php-ads-sdk</a></p> <p>on my project, did all modifications on composer.json:</p> <pre><code>{ "name": "cakephp/app", "description": "CakePHP skeleton app", "homepage": "http://cakephp.org", "type": "project", "license": "MIT", "require": { "php": "&gt;=5.4.16", "cakephp/cakephp": "~3.0", "mobiledetect/mobiledetectlib": "2.*", "cakephp/migrations": "~1.0", "cakephp/plugin-installer": "*", "facebook/php-ads-sdk": "2.3.*" }, "require-dev": { "psy/psysh": "@stable", "cakephp/debug_kit": "~3.0", "cakephp/bake": "~1.0" }, "suggest": { "phpunit/phpunit": "Allows automated tests to be run without system-wide install.", "cakephp/cakephp-codesniffer": "Allows to check the code against the coding standards used in CakePHP." }, "autoload": { "psr-4": { "App\\": "src" } }, "autoload-dev": { "psr-4": { "App\\Test\\": "tests", "Cake\\Test\\": "./vendor/cakephp/cakephp/tests" } }, "scripts": { "post-install-cmd": "App\\Console\\Installer::postInstall", "post-autoload-dump": "Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump" }, "minimum-stability": "dev", "prefer-stable": true } </code></pre> <p>RUnning the composer im having no changes and no installation.</p> <p>What im doing wrong ?</p> </div>

Google AdWords API - 来自本地的Web应用程序

<div class="post-text" itemprop="text"> <p>I'm using the Google AdWords API to retrieve Campaigns from my Client Accounts. </p> <p>Using the latest version of both AdWords and XAMPP on my desktop, I run the getCampaigns.php files and everything works fine. I get the results in the terminal.</p> <p>Now, I need to put this on the web. So I uploaded the library client and put it on my web server and opened the "getCampaigns.php" filepath in my browser and it's blank. I then changed the code so it 'echos' instead but it uses the printf function either way so I should see it.</p> <p><a href="https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201506/BasicOperations/GetCampaigns.php" rel="nofollow">https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201506/BasicOperations/GetCampaigns.php</a></p> </div>

Facebook Ads API无效参数问题ADGROUP_STATUS

<div class="post-text" itemprop="text"> <p>I'm trying to create an ad using the Facebook Ads API. So far I've already created the Ad Set, Ad Creative and Campaign. But, when I use the following code to create an ad, I'm receiving <code>Invalid Parameter exception</code>. What, if any, error have I made in the following code?</p> <pre><code>Fatal error: Uncaught exception 'FacebookAds\Http\Exception\AuthorizationException' with message 'Invalid parameter' in /..../fbsdk/vendor/facebook/php-ads-sdk/src/FacebookAds/Http/Exception/RequestException.php:137 Stack trace: #0 /...../fbsdk/vendor/facebook/php-ads-sdk/src/FacebookAds/Http/Client.php(216): FacebookAds\Http\Exception\RequestException::create(Array, 500) #1 /..../fbsdk/vendor/facebook/php-ads-sdk/src/FacebookAds/Http/Request.php(282): FacebookAds\Http\Client-&gt;sendRequest(Object(FacebookAds\Http\Request)) #2 /..../fbsdk/vendor/facebook/php-ads-sdk/src/FacebookAds/Api.php(152): FacebookAds\Http\Request-&gt;execute() #3 /..../fbsdk/vendor/facebook/php-ads-sdk/src/FacebookAds/Api.php(194): FacebookAds\Api-&gt;executeRequest(Object(FacebookAds\Http\Request)) #4 /home1/d2 in /..../fbsdk/vendor/facebook/php-ads-sdk/src/FacebookAds/Http/Exception/RequestException.php on line 137 Your ads couldn't be created for the following reason: You must include the required field "adgroup_status" </code></pre> <p>I have tried by adding this: </p> <pre><code>AdFields::STATUS =&gt; Ad::STATUS_PAUSED or this AdFields::ADGROUP_STATUS =&gt; AdGroup::STATUS_PAUSED, </code></pre> <p>but it did not work. </p> <pre><code>$ad-&gt;setData(array( AdFields::CREATIVE =&gt; array('creative_id' =&gt; $creative-&gt;id), //AdFields::STATUS =&gt; Ad::STATUS_PAUSED, // try this but&lt;-- this is ainvalid FB SDK 2.5.0 AdFields::NAME =&gt; 'My First Ad', AdFields::ADSET_ID =&gt; $adset-&gt;id, )); </code></pre> </div>

如何将Google服务oAuth2转换为Google Ads API oAuth2访问权限

<div class="post-text" itemprop="text"> <p>So I'm working with Google API Client for PHP and I have an OAuth flow that works,</p> <pre><code>class GoogleClient { private static $client_id = "1050479587066-f64vq210hc2m15fdj4r77g8ml7jin30d.apps.googleusercontent.com"; private static $client_Secret = "CK8orQfPNpD9UgF0bqNJinVI"; private static $redirect_uri = '/return.php'; private static $access; private static $client = null; private static function checkForAccess(){ if(isset(self::$access)){ return true; } if(isset($_SESSION['GoogleAuth'])){ self::$access = $_SESSION['GoogleAuth']; return true; } return false; } public static function GetClient(){ if(is_null(self::$client)){ $params = [ "client_id" =&gt; self::$client_id, "client_secret" =&gt; self::$client_Secret, "redirect_uri" =&gt; self::$redirect_uri, "application_name" =&gt; "Test AdWords System" ]; if(self::checkForAccess() &amp;&amp; self::isLoggedIn()){ $param["access_token"] = self::$access['access_token']; } //Create and Request to access Google API $client = new Google_Client($params); } return $client; } public static function doLogin(){ $scopes = [ 'https://www.googleapis.com/auth/adwords', 'https://www.googleapis.com/auth/dfp', "https://www.googleapis.com/auth/userinfo.email"]; return self::GetClient()-&gt;createAuthUrl($scopes); } public static function doLoginFinal(){ if (!$code = $_GET['code']) { throw new Exception("Auth Code is missing."); } $authResponse = self::GetClient()-&gt;authenticate($code); if (isset($authResponse['error'])) { throw new Exception( "Unable to get access token.", null, new Exception( "{$authResponse['error']} {$authResponse['error_description']}" ) ); } $_SESSION['GoogleAuth'] = $authResponse; self::$access = $authResponse; } public static function isLoggedIn(){ if(self::checkForAccess()){ if(isset(self::$access)){ $expiresAt = @self::$access['created']+@self::$access['expires_in']; return (time() &lt; $expiresAt); } } return false; } public static function GetExpiry(){ if(self::checkForAccess()){ return self::$access['created']+self::$access['expires_in']; } throw new Exception("The User is not logged into a google account."); } } </code></pre> <p>now this class is working I'm able to log in and I have the scope for google-adwords the problem comes about due to poor documentation for the <a href="https://github.com/googleads/googleads-php-lib" rel="nofollow noreferrer">googleads-php-lib</a></p> <p>So from the example to <a href="https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201806/BasicOperations/GetCampaigns.php" rel="nofollow noreferrer"><code>getCampaigns</code></a> it uses <code>$oAuth2Credential = (new OAuth2TokenBuilder())-&gt;fromFile()-&gt;build();</code> but i don't have a file so i went into the <a href="https://github.com/googleads/googleads-php-lib/blob/master/src/Google/AdsApi/Common/OAuth2TokenBuilder.php" rel="nofollow noreferrer"><code>OAuth2TokenBuilder</code></a> file I'm unable to work out how i could give the already generated access tokens to the <code>googleads</code> objects.</p> <p>I have double checked the <a href="https://github.com/googleapis/google-api-php-client-services/tree/master/src/Google/Service" rel="nofollow noreferrer"><code>google-php-api-client</code> services repo</a> and there is no adwords Service I can use.</p> <p>I have been digging through the source files of the <a href="https://github.com/googleads/googleads-php-lib" rel="nofollow noreferrer"><code>googleads-php-lib</code></a> to see if I can find a method to implement this but so far I'm just getting stuck as everything seems to require specific parameter types so I can rig something to provide the details, but the code always seems to rely on multiple classes so I can't just build one that extends a class. and i pass that through.</p> <p>Keys will be destoried after this test is working!</p> </div>

如何获取Google AdWords API的刷新令牌?

<div class="post-text" itemprop="text"> <p>My client is in another country. When I try to get the refresh token as described here <a href="https://github.com/googleads/googleads-php-lib/wiki/Using-OAuth-2.0" rel="nofollow noreferrer">https://github.com/googleads/googleads-php-lib/wiki/Using-OAuth-2.0</a>, it asks me to log in. The client gave me the Google account credentials but Google then labels it as a suspicious login and wants a phone number and won't let me in! </p> <p><img src="https://i.imgur.com/tt8s30X.png" alt="Imgur"></p> <p>I even sent the client the URL obtained by running <code>GetRefreshToken.php</code>, and they visited the URL and sent me back the refresh token. When I tried to use the refresh token, it gave the error </p> <pre><code>An error has occurred: { "error" : "invalid_grant" } </code></pre> <p>The refresh token <em>is</em> working for the test MCC account that I created myself using a throwaway GMail account. I think it would be silly to have the client set up a development environment and run the code themselves to get the refresh token. </p> </div>

ADS1256调试不准确啊,有没有做过的大神

各位大神有没有用过ADS1256?小弟用的时候能读出来电压值,可是电压值偏差很大,有做过的没?快要崩溃啦

dump 1090解码器的工作原理,是怎么得到交替IQ数据的?急急急!!

在解码ADS-B信号时,提取原始数据的特征时,信号的幅度是怎么来的?也就是IQ数据。

twincat ads 信号批量通讯问题

在虚拟调试的时候,需要让twincat和pc机上另一个软件进行通讯,需要传输的信号量很多,但是目前很笨的方法是一个信号一个线程,请问有什么好的方法能够做到很高效,我目前的思路是将所有的不需要特殊对待的信号放到一个结构体中,用一个线程进行轮询读或写,不知这样的可行性怎样,或者有没有更好的方法实现批量通讯

关于ADS1282的数据采集内核驱动的问题

内核态,对双缓存中buf1进行数据内核到用户空间的拷贝时,会影响到buf2上数据采集。 处理器:I.MX6Q 内核:Linux 3.0.35 内存:4*2GB DDR3 、1*8GB emmc/NANDFLASH 详细描述:内核模块程序中,我们实现了对设备驱动的注册之后,完成对ADS1282的初始化后,kmalloc申请了两块用于存放数据的内存,然后让ADC进入工作状态,双缓存交替工作,其中一个存采集数据时,另一个将采完的数据从内核空间拷贝到用户空间,通过应用程序最终将数据文件存放到8GB emmc/NANDFLASH上。但是采得的数据效果十分不好,数据效果如下图所示,对此我们做过以下尝试: ![图片说明](https://img-ask.csdn.net/upload/201803/13/1520927864_515830.png) (1)期望的数据效果 ![图片说明](https://img-ask.csdn.net/upload/201803/13/1520927893_904038.png) (2)存在毛刺的数据 1.单缓存时,数据采集到的数据效果优。 2.双缓存时,通过FTP方式启动,将采集的数据传回PC,数据效果优。 3.双缓存时,将外接固态SSD挂载到开发板上,直接将数据存入SSD而不是emmc/NANDFLASH上时,数据效果良好,有个别数据有毛刺。 4.双缓存时,copy_to_user方式和mmap方式实现内核空间到用户空间的数据拷贝,两种方式采得的数据均是有毛刺,但比存入emmc/NANDFLASH的数据效果要好。 由于该驱动是用于野外设备工作的,工作时,数据量十分大,在线将数据传回也不太现实,于是我们也不知道程序应该朝哪个方向改,希望有经验的前辈们不吝赐教,能给点指导性的意见。

GoogleAds PHP SoapFault - AdError.CANNOT_SET_FIELD @ operations [0] .operand.ad.url

<div class="post-text" itemprop="text"> <p>I am using the library <code>googleads/googleads-php-lib</code> from github.</p> <p>I am trying to create a text ad, but I am getting an error that I cannot set the URL field. The code has been working for quite some time but has suddenly stopped due to this error.</p> <p>The SoapFault exception that is thrown is:</p> <blockquote> <p>[AdError.CANNOT_SET_FIELD @ operations[0].operand.ad.url]</p> </blockquote> <p>My code is as follows:</p> <pre><code>require_once('Google/Api/Ads/AdWords/Lib/AdWordsUser.php'); $developerToken = '*removed*'; $clientCustomerId = '*removed*'; $userAgent = 'test'; $settingsIniPath = './vendor/googleads/googleads-php-lib/src/Google/Api/Ads/AdWords/settings.ini'; $oAuth = array( 'client_id' =&gt; '*removed*', 'client_secret' =&gt; '*removed*', 'refresh_token' =&gt; '*removed*', ); $adWordsUser = new AdWordsUser(null, $developerToken, $userAgent, $clientCustomerId, $settingsIniPath, $oAuth); $adWordsUser-&gt;SetDefaultVersion('v201409'); $adGroupId = *removed*; $textAd = new TextAd(); $textAd-&gt;headline = 'headline text'; $textAd-&gt;description1 = 'description1 text'; $textAd-&gt;description2 = 'description2 text'; $textAd-&gt;displayUrl = 'www.example.com'; $textAd-&gt;url = 'http://www.example.com/'; $adGroupAd = new AdGroupAd($adGroupId, $textAd); $operations = array(new AdGroupAdOperation($adGroupAd, null, 'ADD')); $adGroupAdService = $adWordsUser-&gt;GetService('AdGroupAdService'); $result = $adGroupAdService-&gt;mutate($operations); </code></pre> <p>I am not sure what could be causing this error. Any help would be greatly appreciated.</p> </div>

ADS的调频调制器使用问题

为什么我的ADS模拟调频系统出来的信号是0啊?求高手指点啊,谢谢![图片说明](https://img-ask.csdn.net/upload/201503/28/1427510308_487436.jpg)就这么一个最简单的FM调制

ADS 安装完成后却不能打开MCP文件

ADS 安装成功后确打开补了MCP文件弹出一个如下图的对话框,怎么破解![图片说明](https://img-ask.csdn.net/upload/201808/19/1534666163_221581.png)

获取Google AdWords API所有广告系列统计信息,了解总展示次数和点击次数

<div class="post-text" itemprop="text"> <p>How to get total impressions and clicks for all campaigns on Google AdWords API? Right now I am doing this way</p> <pre><code> // Get the service, which loads the required classes. $campaignService = $user-&gt;GetService('CampaignService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); $selector-&gt;fields = array('Id', 'Name', 'Impressions', 'Clicks', 'Cost', 'Ctr'); $selector-&gt;predicates[] = new Predicate('Impressions', 'GREATER_THAN', array(0)); // Set date range to request stats for. $dateRange = new DateRange(); $dateRange-&gt;min = date('Ym01', time()); $dateRange-&gt;max = date('Ymd', time()); $selector-&gt;dateRange = $dateRange; // Make the get request. $page = $campaignService-&gt;get($selector); // get results. $impressions = 0; $clicks = 0; if (isset($page-&gt;entries)) { foreach ($page-&gt;entries as $campaign) { $impressions += $campaign-&gt;campaignStats-&gt;impressions; $clicks += $campaign-&gt;campaignStats-&gt;clicks; } } else { //print "No matching campaigns were found. "; } return array('impressions'=&gt;$impressions, 'clicks'=&gt;$clicks); </code></pre> <p>I am wondering if I can just get total without using foreach and loop through the campaigns.</p> </div>

Facebook Ads API - 必需的父ID

<div class="post-text" itemprop="text"> <p>I am getting an error when trying to create an ad on Facebook through the PHP API.</p> <pre><code>Exception in AbstractCrudObject.php line 113: A parent ID is required. </code></pre> <p>The thing is, I copied the code from <a href="https://developers.facebook.com/docs/marketing-api/guides/lead-ads/create/v2.8" rel="nofollow">https://developers.facebook.com/docs/marketing-api/guides/lead-ads/create/v2.8</a> and just modified it to match what I need. I am confused as to what is missing, since I can't find something on this thus far through the documentation. Anyone else have the same issue or find out how to fix it?</p> <p>Here is my code:</p> <pre><code>$link_data = new AdCreativeLinkData(); $link_data-&gt;setData([ AdCreativeLinkDataFields::LINK =&gt; $creativeInfo-&gt;link, AdCreativeLinkDataFields::MESSAGE =&gt; $creativeInfo-&gt;message, AdCreativeLinkDataFields::IMAGE_HASH =&gt; $image-&gt;{AdImageFields::HASH}.PHP_EOL, AdCreativeLinkDataFields::CAPTION =&gt; $creativeInfo-&gt;caption, AdCreativeLinkDataFields::DESCRIPTION =&gt; $creativeInfo-&gt;description, AdCreativeLinkDataFields::CALL_TO_ACTION =&gt; [ 'type' =&gt; $creativeInfo-&gt;cta, 'value' =&gt; [ 'lead_gen_form_id' =&gt; $creativeInfo-&gt;leadform, ], ], ]); $story = new AdCreativeObjectStorySpec(); $story-&gt;setData([ AdCreativeObjectStorySpecFields::PAGE_ID =&gt; $creativeInfo-&gt;page_id, AdCreativeObjectStorySpecFields::LINK_DATA =&gt; $link_data, ]); $creative = new AdCreative(); $creative-&gt;setData([ AdCreativeFields::OBJECT_STORY_SPEC =&gt; $story, ]); $creative-&gt;create(); </code></pre> </div>

Google Ads API未发送正确的关键字估算值

<div class="post-text" itemprop="text"> <p>As Google Ads provide keywords forecast service to see the estimated results. I am working on integrating the same in my clients site. I used Google Ads API and use the Estimate Keyword traffic API to get the results. All works fine but the result data is different if in Google Keyword Plan Tool and using the API? Anyone know why there is a difference?</p> <p>Google Keyword planner shows:</p> <h2>Keyword: chat robot, Clicks: 6.67, Cost: €3.31, CPC: €0.50</h2> <p>Results using API:</p> <p><strong>Keyword: chat robot, Clicks: 0.97, Cost: €0.44, CPC: €0.46</strong></p> </div>

ADS怎么直接显示波时域,频域波形啊?急急急!

本人刚开始做射频,刚开始使用ADS,ADS怎么直接显示波时域,频域波形啊?急急急!!!

C/C++学习指南全套教程

C/C++学习的全套教程,从基本语法,基本原理,到界面开发、网络开发、Linux开发、安全算法,应用尽用。由毕业于清华大学的业内人士执课,为C/C++编程爱好者的教程。

定量遥感中文版 梁顺林著 范闻捷译

这是梁顺林的定量遥感的中文版,由范闻捷等翻译的,是电子版PDF,解决了大家看英文费时费事的问题,希望大家下载看看,一定会有帮助的

YOLOv3目标检测实战:训练自己的数据集

YOLOv3是一种基于深度学习的端到端实时目标检测方法,以速度快见长。本课程将手把手地教大家使用labelImg标注和使用YOLOv3训练自己的数据集。课程分为三个小项目:足球目标检测(单目标检测)、梅西目标检测(单目标检测)、足球和梅西同时目标检测(两目标检测)。 本课程的YOLOv3使用Darknet,在Ubuntu系统上做项目演示。包括:安装Darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 Darknet是使用C语言实现的轻型开源深度学习框架,依赖少,可移植性好,值得深入探究。 除本课程《YOLOv3目标检测实战:训练自己的数据集》外,本人推出了有关YOLOv3目标检测的系列课程,请持续关注该系列的其它课程视频,包括: 《YOLOv3目标检测实战:交通标志识别》 《YOLOv3目标检测:原理与源码解析》 《YOLOv3目标检测:网络模型改进方法》 敬请关注并选择学习!

sql语句 异常 Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your

在我们开发的工程中,有时候会报 [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ------ 这种异常 不用多想,肯定是我们的sql语句出现问题,下面...

浪潮集团 往年的软件类 笔试题 比较详细的哦

浪潮集团 往年的软件类 笔试题 比较详细的哦

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

I2c串口通信实现加速度传感器和FPGA的交流

此代码能实现加速度传感器与FPGA之间的交流,从而测出运动物体的加速度。

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

机器学习初学者必会的案例精讲

通过六个实际的编码项目,带领同学入门人工智能。这些项目涉及机器学习(回归,分类,聚类),深度学习(神经网络),底层数学算法,Weka数据挖掘,利用Git开源项目实战等。

eclipseme 1.7.9

eclipse 出了新的eclipseme插件,官方有下载,但特慢,我都下了大半天(可能自己网速差)。有急需要的朋友可以下哦。。。

Spring Boot -01- 快速入门篇(图文教程)

Spring Boot -01- 快速入门篇 今天开始不断整理 Spring Boot 2.0 版本学习笔记,大家可以在博客看到我的笔记,然后大家想看视频课程也可以到【慕课网】手机 app,去找【Spring Boot 2.0 深度实践】的课程,令人开心的是,课程完全免费! 什么是 Spring Boot? Spring Boot 是由 Pivotal 团队提供的全新框架。Spring Boot...

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

最简单的倍频verilog程序(Quartus II)

一个工程文件 几段简单的代码 一个输入一个输出(50Mhz倍频到100Mhz)

计算机组成原理实验教程

西北工业大学计算机组成原理实验课唐都仪器实验帮助,同实验指导书。分为运算器,存储器,控制器,模型计算机,输入输出系统5个章节

4小时玩转微信小程序——基础入门与微信支付实战

这是一个门针对零基础学员学习微信小程序开发的视频教学课程。课程采用腾讯官方文档作为教程的唯一技术资料来源。杜绝网络上质量良莠不齐的资料给学员学习带来的障碍。 视频课程按照开发工具的下载、安装、使用、程序结构、视图层、逻辑层、微信小程序等几个部分组织课程,详细讲解整个小程序的开发过程

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

基于RSA通信密钥分发的加密通信

基于RSA通信密钥分发的加密通信,采用pycrypto中的RSA、AES模块实现

不同变质程度煤尘爆炸残留气体特征研究

为分析不同变质程度煤尘爆炸残留气体成分的特征规律,利用水平管道煤尘爆炸实验装置进行了贫瘦煤、肥煤、气煤、长焰煤4种不同变质程度的煤尘爆炸实验,研究了不同变质程度煤尘爆炸后气体残留物含量的差异,并对气体

设计模式(JAVA语言实现)--20种设计模式附带源码

课程亮点: 课程培训详细的笔记以及实例代码,让学员开始掌握设计模式知识点 课程内容: 工厂模式、桥接模式、组合模式、装饰器模式、外观模式、享元模式、原型模型、代理模式、单例模式、适配器模式 策略模式、模板方法模式、观察者模式、迭代器模式、责任链模式、命令模式、备忘录模式、状态模式、访问者模式 课程特色: 笔记设计模式,用笔记串连所有知识点,让学员从一点一滴积累,学习过程无压力 笔记标题采用关键字标识法,帮助学员更加容易记住知识点 笔记以超链接形式让知识点关联起来,形式知识体系 采用先概念后实例再应用方式,知识点深入浅出 提供授课内容笔记作为课后复习以及工作备查工具 部分图表(电脑PC端查看):

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

软件测试2小时入门

本课程内容系统、全面、简洁、通俗易懂,通过2个多小时的介绍,让大家对软件测试有个系统的理解和认识,具备基本的软件测试理论基础。 主要内容分为5个部分: 1 软件测试概述,了解测试是什么、测试的对象、原则、流程、方法、模型;&nbsp; 2.常用的黑盒测试用例设计方法及示例演示;&nbsp; 3 常用白盒测试用例设计方法及示例演示;&nbsp; 4.自动化测试优缺点、使用范围及示例‘;&nbsp; 5.测试经验谈。

几率大的Redis面试题(含答案)

本文的面试题如下: Redis 持久化机制 缓存雪崩、缓存穿透、缓存预热、缓存更新、缓存降级等问题 热点数据和冷数据是什么 Memcache与Redis的区别都有哪些? 单线程的redis为什么这么快 redis的数据类型,以及每种数据类型的使用场景,Redis 内部结构 redis的过期策略以及内存淘汰机制【~】 Redis 为什么是单线程的,优点 如何解决redis的并发竞争key问题 Red...

手把手实现Java图书管理系统(附源码)

【超实用课程内容】 本课程演示的是一套基于Java的SSM框架实现的图书管理系统,主要针对计算机相关专业的正在做毕设的学生与需要项目实战练习的java人群。详细介绍了图书管理系统的实现,包括:环境搭建、系统业务、技术实现、项目运行、功能演示、系统扩展等,以通俗易懂的方式,手把手的带你从零开始运行本套图书管理系统,该项目附带全部源码可作为毕设使用。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/27513 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程2年有效观看时长,大家可以抓紧时间学习后一起讨论哦~ 【学员专享增值服务】 源码开放 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化

jsp+servlet入门项目实例

jsp+servlet实现班级信息管理项目

winfrom中嵌套html,跟html的交互

winfrom中嵌套html,跟html的交互,源码就在里面一看就懂,很简单

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

python实现数字水印添加与提取及鲁棒性测试(GUI,基于DCT,含测试图片)

由python写的GUI,可以实现数字水印的添加与提取,提取是根据添加系数的相关性,实现了盲提取。含有两种攻击测试方法(高斯低通滤波、高斯白噪声)。基于python2.7,watermark.py为主

Xshell6完美破解版,亲测可用

Xshell6破解版,亲测可用,分享给大家。直接解压即可使用

你连存活到JDK8中著名的Bug都不知道,我怎么敢给你加薪

CopyOnWriteArrayList.java和ArrayList.java,这2个类的构造函数,注释中有一句话 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 public ArrayList(Collection&lt;? ...

相关热词 c# dbml文件 修改 c#遍历tree c# 能够控制单片机 c#对象写入数据库 c# 添加activex c#2005 json c# 数据库在云端 c# 字符串移位加密 c#禁用滚轮 c#实体类list去重复
立即提问