自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(33)
  • 资源 (2)
  • 收藏
  • 关注

原创 ssh连接虚拟机 ubuntu

【代码】ssh连接虚拟机 ubuntu。

2024-04-03 13:51:38 261

原创 【正点原子】开发板不显示ip4 addr地址

【代码】【正点原子】开发板不显示ip4 addr地址。

2023-10-06 16:41:07 120

原创 【正点原子】无法打开 源 文件 “linux/time_types.h“ (dependency of “linux/ide.h“)

不用管这个错误,理解这是由于编译器问题造成的,实际操作不影响后续用户空间和内核空间的交互。

2023-10-04 10:44:29 393

原创 【正点原子】开发板可以ping通电脑,电脑ping不通开发板

uboot模式下因为相关服务没有开启,只能uboot ping通电脑,电脑ping不通开发板。

2023-09-29 09:55:47 343

原创 开发板TFTP调试

开发板和host(此处指虚拟机linux)可以平通,但是通过uboot tftp下载请求时一直显示T T T, 即超时使用wireshark抓包也显示超时。

2023-09-24 17:01:48 102

原创 windows主机和vmware ubuntu18.04虚拟机ping通

网线连接电脑,读取当前windows的相关信息powershell 更改IP地址指令。

2023-09-21 16:11:08 322

原创 c++入门 结构体struct

C++结构体方式一:不需要typedef即可定义struct Student{int a;float b;}Stu;Stu.a=1;Stu.b=2.2;可以直接用Stu.a;而不需要Stu s1;然后再s1.a;方式二:用typedef定义typedef struct Student{int a;float b;}Stu1;Stu1 stu1;stu1.a=1;stu1.b=2.2;使用时必须先Stu1 stu1申明。https://www.cnblogs.com

2020-05-21 10:14:32 207

原创 c++入门-namespace

namespace是为了解决C++中的名字冲突而引入的。什么是名字冲突呢?比如,在文件x.h中有个类MyClass,在文件y.h中也有个类MyClass,而在文件z.cpp中要同时引用x.h和y.h文件。显然,按通常的方法是行不能的,那怎么办呢?引入namespace即可。例如:在x.h中的内容为// x.hnamespace MyNamespace1{ class MyClass { public: void f(); private: int m

2020-05-21 09:19:15 153

原创 pandas 学习记录

目录安装pandas读取csv文件1. 读取文件夹中的所有csv文件2. 读取单个文件整列数据移动1. 将原来一列向下移动一行成为新的一列2.同理,向上移动安装pandas#使用清华源,加快速度pip install --upgrade pandas -i https://pypi.tuna.tsinghua.edu.cn/simple/读取csv文件1. 读取文件夹中的所有csv文件...

2020-03-17 22:14:41 148

原创 baidu Apollo Auto-Calibration System

baidu Apollo Auto-Calibration System - An industry-level data-driven and learning based vehicle longitude dynamic calibrating algorithm

2019-12-15 15:48:35 577

原创 MPC-Based Approach to Active Steering for Autonomous Vehicle Systems

2019-12-15 15:42:44 470 1

原创 VMware+ubuntu 18.04 百度Apollo5.0平台搭建

文章目录更改 apt-get 添加镜像源:Install DockerInstall ROS(melodic version)小海龟例子Download ApolloInstall Apollo KernelInstall Apollo platformApollo 编译附录本文基本按照该地址步骤进行:https://blog.csdn.net/qq_34906391/article/det...

2019-12-04 22:16:32 3550 4

原创 无人驾驶车辆模型预测控制 - 7.5

1. Introductionset the desired angle is 0 rad, and the initial value is -0.35 rad. velocity is 6 m/s.the discrete vehicle model is built referring to page 112.2. model and simulation

2019-11-21 22:01:49 878 2

原创 Matlab 神经网络 自定义权重和偏置

权重、偏置自定义将net1训练完成的IW,LW,b赋值给同样架构的net2作为初始值训练。hiddenLayerSize = 2;net2 = fitnet(hiddenLayerSize,trainFcn);net2 = configure(net2,x,t);%very important codenet2.IW = net1.IW;net2.LW = net1.LW;net...

2019-11-06 11:21:21 4611

原创 matlab neural network example

% Solve an Input-Output Fitting problem with a Neural Network% Script generated by Neural Fitting app% Created 29-Oct-2019 21:21:55%% This script assumes these variables are defined:%% x - inp...

2019-10-30 15:19:45 829

原创 ROS : unable to process source ; urlopen error timed out

jeremyma@jeremyma-virtual-machine:~$ sudo rosdep initWrote /etc/ros/rosdep/sources.list.d/20-default.listRecommended: please runrosdep updatejeremyma@jeremyma-virtual-machine:~$ rosdep updateread...

2019-10-19 14:59:21 7988 3

原创 ubuntu--sign_and_send_pubkey: signing failed: agent refused operation Permission denied (publickey).

Ubuntu github connect deniedsign_and_send_pubkey: signing failed: agent refused operationPermission denied (publickey).type the code as below in red boxes, this issue will disappear.

2019-10-19 10:26:07 160

原创 lookup and interpolation using prelookup

书籍《simulink仿真及代码生成技术入门到精通》1. Model2. Interpolation using Prelookup比如设定数列为:[0 5 10 20 50 100]当输入为55时,输出k = 4(下标从0开始计)---->也就是它能恰好排在谁的后面。f = ( 55 - 50)/(100 - 50) = 0.1...

2019-10-15 14:53:01 1166

原创 无人驾驶车辆模型预测控制 -6.4

1. simulation model2. simulation cases2.1 10mps(36kph)2.2 20mps(36kph)2.3 30mps(108kph)3. code3.1 path planfunction [sys,x0,str,ts] = MPC_TrajPlanner(t,x,u,flag)% 该程序功能:用点质量模型设计规划期,能够规避障...

2019-10-13 22:01:05 4138 29

原创 无人驾驶车辆模型预测控制 -6.2.2

%《无人驾驶车辆模型预测控制》6.2.2 P138%此处的xi,yi是相对于(x0,y0)的坐标,即车辆坐标系t=-1:0.1:1;S=1;x0=0;y0=0;v=10;[x,y]=meshgrid(t);xi=x-x0;yi=y-y0;kesi=0.01;Cost=(S*v)./(xi.^2+yi.^2+kesi);surf(x,y,Cost);xlabel('X/...

2019-10-13 16:09:04 1908

原创 无人驾驶车辆模型预测控制 - 5

2019-09-29 23:45:25 2169 40

原创 无人驾驶车辆模型预测控制 - 4

Q=100*eye(Nx*Np,Nx*Np); R=5*eye(Nu*Nc);Np =60;%预测步长Nc=30;%控制步长

2019-09-26 20:37:13 1756 8

原创 Udacity term one - decision tree

def classify(features_train, labels_train): ### import the sklearn module for GaussianNB from sklearn import tree ### create classifier clf = tree.DecisionTreeClassifier(min_samples_sp...

2019-09-25 15:29:00 109

原创 无人驾驶车辆模型预测控制 - 3_5_3

对模型进行调整,将参考路径的圆心坐标调整为(5,1)CEN=[5,1]; 一开始追踪轨迹变为如下图,并没有跟随好;对Q、R进行调整如下:Q=[10 0 0; 0 10 0; 0 0 100];%对状态量误差的权重矩阵R=[200];%r是对控制量误差的weighting matrice再次对Q、R进行调整,观察其跟随变化:...

2019-09-24 09:33:22 1396 1

原创 无人驾驶车辆模型预测控制 - 3_4_3

the comparison result of Np=15 and Np=25.predict path when Np=25clc;clear all;%% 参考轨迹生成ticNx=3;%状态量个数Np=25;%预测时域Nc=2;%控制时域l=1;N=100;%参考轨迹点数量T=0.05;%采样周期Xref=zeros(Np,1);Yref=zeros(Np,...

2019-09-23 15:52:53 2506 1

原创 无人驾驶车辆模型预测控制-3_3_3稍加修改

修改点:源程序采用了近似处理 XOUT=dsolve('Dx-vd11*cos(z)=0','Dy-vd11*sin(z)=0','Dz-vd22=0','x(0)=X00(1)','y(0)=X00(2)','z(0)=X00(3)'); XOUT=dsolve('Dx-vd11*cos(z)=0','Dy-vd11*sin(z)=0','Dz-tan(vd22)/L*vd11=0','x...

2019-09-22 22:28:10 1087

原创 无人驾驶车辆模型预测控制-2.1.2车辆动力学模型验证

验证模型:输入:车速-t前轮偏角-t输出:1 纵向坐标-t2 航向角-tfunction [ sys,x0,str,ts ] = fun_2_1_2( t,x,u,flag )%UNTITLED2 此处显示有关此函数的摘要% 此处显示详细说明switch flag, case 0 [sys,x0,str,ts] = mdlInitializeSize...

2019-09-22 16:41:47 2847 6

原创 CANoe 仿真

应用:实际应用中遇到一些难以复现的case,需要将当时录取的数据重新注入至can线,以复现当时的工况,以便于相应控制器录取当时的内部变量。步骤1:使用CANoe自带工具Logging file Conversion将数据转为CSV格式。note:可以进行如下设置,根据自己需要进行选择。步骤2配置Capl test module “MyTestModule”.设置按键“a”时...

2019-09-11 17:13:24 4142

原创 Prescan

FILING AND SETTING-UP OF THE MODELSThe PreScan scenario models are stored under the DestinationFolder/TestScenarios/LKAS.Note: Before opening the test scenario model, make sure that:1.Simulink is c...

2019-08-27 23:04:24 807

原创 python CANoe

一直报错为“com_error: (-2147352567, ‘\xb7\xa2\xc9\xfa\xd2\xe2\xcd\xe2\xa1\xa3’, (0, None, None, None, 0, -2147467259), None)”后来才发现名称开头不能用数字app.Load('ES8_TK_EPS_interface_test\IDS_Feature_CAN_Tester_ES8\1...

2019-08-23 23:01:17 1885 2

原创 Python入门学习记录

Scrapy执行shell命令报错:ModuleNotFoundError: No module named ‘win32api’解决办法:只要给python装个库:pip install pypiwin32

2019-08-04 13:10:50 84

原创 simulink中无法与Carsim连接

simulink中无法与Carsim连接在matlab中加入Carsim solver路径

2019-06-16 10:02:38 2430

原创 PreScan---Actor Information Receiver(AIR)

from the PreScan help documentActor Information ReceiverThe Actor Information Receiver sensor provides a fast, simple and generic detection solution which is not tied up to a specific technology....

2019-06-12 21:46:08 243

Carsim_Programs_solvers_ReadMe.rar

carsim和simulink联合仿真时输入输出信号的选择,可能由于版本问题有些carsim缺少这个文件夹

2019-09-16

CANoe_StimuliFromCSV.zip

CANoe: 从CSV文件中读取相应的signal,并发送给CANoe的系统变量,环境变量或者CAN DBC上的量;可以用于信号的仿真,或者将数据回放给can线,以实现一些实际工况中不容易复现的工况。

2019-09-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除