2赞

19回答

1收藏

飞控套件上手ABC

回答|共 19 个

倒序浏览

11#

ず竹叶萧萧は

发表于 2016-8-23 17:06:02 | 只看该作者

分享到:
22-2016421 发表于 2016-8-22 15:28
大神,为何我的RCReceive.h中没有#define BT_ONLY?难道是代码不够新?
/*
* RCReceive.h

你没删吧,它是被注释掉的。
/*
* RCReceive.h
*
*  Created on: 22.12.2014
*      Author: maan
*/

#ifndef RCRECEIVE_H_
#define RCRECEIVE_H_

#include <DAVE3.h>
#include "BluetoothProtocol/BluetoothProtocol.h"

#define RC_UART_Handle                   UART001_Handle0
#define BT_UART_Handle UART001_Handle2

//-------------------------------------------------
//Only Bluetooth-App-Control needed

//#define BT_ONLY
//-------------------------------------------------
12#

ず竹叶萧萧は

发表于 2016-8-23 17:08:11 | 只看该作者

sjh2100 发表于 2016-8-22 21:16
如何下载pinus 调控板软件?使用jlink方式接线没有说清楚,我的jlink无法连接。请楼主百忙之中指点一二。谢 ...

http://blog.sina.com.cn/s/blog_154d272c90102wo6t.html
这里有接线方式,不知道你是不是想问这个
13#

ず竹叶萧萧は

发表于 2016-8-23 17:11:17 | 只看该作者

sjh2100 发表于 2016-8-22 21:16
如何下载pinus 调控板软件?使用jlink方式接线没有说清楚,我的jlink无法连接。请楼主百忙之中指点一二。谢 ...

http://blog.sina.com.cn/s/blog_154d272c90102wo6t.html
这里有接线方式,不知道你问的是不是这个
14#

22-2016421

发表于 2016-8-23 17:16:34 | 只看该作者

ず竹叶萧萧は 发表于 2016-8-23 17:06
你没删吧,它是被注释掉的。
/*
* RCReceive.h

现在我这有两套飞控代码,是用LARIX_Software_150907还是CORE_Larix_V1.0?
15#

ず竹叶萧萧は

发表于 2016-8-23 17:41:14 | 只看该作者

22-2016421 发表于 2016-8-23 17:16
现在我这有两套飞控代码,是用LARIX_Software_150907还是CORE_Larix_V1.0?

CORE_Larix_V1.0吧,我只有这一套,我也不确定
16#

22-2016421

发表于 2016-8-23 17:56:18 | 只看该作者

ず竹叶萧萧は 发表于 2016-8-23 17:41
CORE_Larix_V1.0吧,我只有这一套,我也不确定

好的。还有一个问题,飞控板上的标有USB的接口的驱动只有WIN10有吗?对于win7有没有解决方案?
17#

cxtdy

发表于 2016-8-23 18:05:12 | 只看该作者

22-2016421 发表于 2016-8-22 15:28
大神,为何我的RCReceive.h中没有#define BT_ONLY?难道是代码不够新?
/*
* RCReceive.h

/*
* RCReceive.h
*
*  Created on: 22.12.2014
*      Author: maan
*/

#ifndef RCRECEIVE_H_
#define RCRECEIVE_H_

#include <DAVE3.h>
#include "BluetoothProtocol/BluetoothProtocol.h"

#define RC_UART_Handle                   UART001_Handle0
#define BT_UART_Handle UART001_Handle2

//-------------------------------------------------
//Only Bluetooth-App-Control needed  //这里

//#define BT_ONLY
//-------------------------------------------------


//Scale factors for angle and power                                                // other divisions tried with good stabilization
#define SCALE_YAW        90.0                        // from -10..+10    // divided by 3
#define SCALE_PITCH        30.0                // from -10..+10                // divided by 10
#define SCALE_ROLL        30.0        // from -10..+10                        // divided by 10
#define SCALE_POWER        100.0                        // from 0..100

//Scale factors for joysticks to norm vaue between -1 and 1
#define THROTTLE_MIN        306
#define THROTTLE_MAX        1783
#define RUDDER_MIN                6450
#define RUDDER_MAX                7884
#define ELEVATOR_MIN        4400
#define ELEVATOR_MAX        5834
#define AILERON_MIN                2354
#define AILERON_MAX                3788

//Values for Flightmode ON/OFF
#define FLIGHTMODE0                        8498
#define FLIGHTMODE1                        9930

void RC_Receive_Int_Handler();
void BT_Receive_Int_Handler();
void WatchRC(void* Temp);
void WatchRC_Init();
uint8_t GetRCCount();
int mergeBytes (uint8_t a, uint8_t b);
void GetRCData(float* power,uint8_t* height_control, float* yaw, float* pitch, float* roll);
long map(long x, long in_min, long in_max, long out_min, long out_max);
#endif /* RCRECEIVE_H_ */
18#

22-2016421

发表于 2016-8-23 18:16:24 | 只看该作者

cxtdy 发表于 2016-8-23 18:05
/*
* RCReceive.h
*

好的,多谢,这个代码后来我也找到了,在CORE_Larix_V1.0里,之前一直在用LARIX_Software_150907。另外,大神,飞控板上的标有USB的接口的驱动只有WIN10有吗?对于win7有没有解决方案?
19#

ず竹叶萧萧は

发表于 2016-8-23 20:11:55 | 只看该作者

22-2016421 发表于 2016-8-23 17:56
好的。还有一个问题,飞控板上的标有USB的接口的驱动只有WIN10有吗?对于win7有没有解决方案? ...

不知道哎,我用的是win10
20#

22-2016421

发表于 2016-8-23 21:32:30 | 只看该作者

手机连不上蓝牙是咋回事,只是显示已配对,没有连接上板子上的蓝牙灯也不亮,希望大神指点
您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条