自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 收藏
  • 关注

原创 实际操作——以小乌龟为例

打开终端,启动roscore竖直分屏,输入:rosrun turtlesim turtlesim_node,程序运行后会出现小乌龟水平分屏,输入:rosrun turtlesim turtle_teleop_key,程序运行后,可以通过上下左右键控制小乌龟。

2023-09-23 15:53:18 90

原创 P83使用Python实现参数服务器

这个系列文章,是我学习所做的学习记录,目的是整理学习过程中的思路。着力推荐赵老师的。

2023-09-20 20:04:11 79

原创 P82参数服务器删除的两中方式

这个系列文章,是我学习所做的学习记录,目的是整理学习过程中的思路。着力推荐赵老师的学习教程。实现参数删除有两种方式。

2023-09-07 16:12:54 48

原创 P81参数查询的各个函数

选中src文件夹,新建文件,名为demo02_param_get.cpp。

2023-09-06 14:41:23 40

原创 P80C++实现参数服务器

小结。

2023-06-28 22:55:56 40

原创 P76先启动客户端再启动服务端

客户端先启动会抛出异常。

2023-06-28 21:13:32 29

原创 P75优化程序,动态传入参数

优化程序,P74中的两个参数是固定的。修改后,可以在执行节点时,动态的传入参数。

2023-06-28 11:04:13 27

原创 P74服务通信——python——客户端实现

ROS服务通信,客户端编写,python语言实现

2023-06-28 10:37:45 31

原创 接入点三种模式

1、无线终端模式:wireless Station。2、接入点模式:发射信号,让它设备连接;IPV4:例如:192.168.0.3。怎么查找,自己电脑的IP地址。打开命令终端(命令提示符)3、混合模式:两种模式。输入:ipconfig。

2023-06-27 23:02:49 252

原创 P73 服务通信—python—服务端实现

ros平台,使用python语言实现服务通信(服务端)

2023-06-27 23:00:11 39

原创 第三次面试题目

public class TestString { String str="want you to know one thing"; public static void main(String[] args) { TestString ts=new TestString(); ts.testString(); } public vo...

2019-04-24 21:51:51 155

原创 1/2和1.0/2有大区别,第三次面试

public class Adf { public static void main(String[] args) { Adf adf=new Adf(); adf.sum(6); } public void sum(int n){ double sum=0; if(n%2==0){ ...

2019-04-24 21:14:20 1073

原创 第二次面试的一个题目

当n为任意数时,输出如图所示规律public class TestAray { public static void main(String[] args) { new TestAray().Print(5); } public void Print(int n) { int[][] a=new int[n][n]; ...

2019-04-08 20:45:49 374

原创 基于注解的

@Service("bookShopService")public class BookShopServiceImpl implements BookShopService{ @Autowired private BookShopDao bookShopDao; @Override public void purchase(String username, Str...

2019-03-28 23:01:10 135

原创 spring事务准备

public class SpringTracelation { private ApplicationContext ctx=null; private BookShopDao bookShopDao=null; private BookShopService bookShopService=null; { ctx=new ClassPa...

2019-03-28 22:58:57 434

原创 使用 JdbcTemplate和JdbcDaoSupport

//@Test public void testStudentsDao() { Students student =studentsDao.getStudents("001"); System.out.println(student); } //@Test public void testEmployeeDao() {...

2019-03-27 22:58:56 507

原创 Spring 使用具名参数

<!-- 配置NamedParameterJdbcTemplate,该对象可以使用具名参数,其没有无参数的构造器,所以必须为其构造器指定参数 --> <bean id="namedParameterJdbcTemplate" class="org.springframework.jdbc.core.namedparam.NamedParameterJdb...

2019-03-27 22:56:30 741

原创 Spring-使用反射生成动态代理

定义一个ArithmeticCalculator接口public interface ArithmeticCalculator {int add(int i,int j);int sub(int i,int j);int mul(int i,int j);int div(int...

2019-03-26 08:52:45 332

原创 Spring-helloworld

先定义一个类public class HelloWorld {private String name;public HelloWorld(){System.out.println("先调用无参构造器");}public void setName(String name) {this.name = name;}...

2019-03-26 08:32:56 99

原创 在eclipse中配置spring环境

1.打开eclipse2.下载spring在Java中的插件:springsource-tool-suite-3.4.0.RELEASE-e4.3.1-updatesite3.Help—>install new software—>add...选择下载好的插件4.下载spring的4个基础依赖包(包含在spring中:http://repo.s...

2019-03-26 08:26:31 4409

原创 使用循环输出等腰三角形

public class Triangle { //SIZE为给定的行数 private static int SIZE=8; public static void main(String[] args) { //k1控制输出空格,k2控制行数 for(int k1=SIZE, k2=1;k1&gt;0;k1--,k2++){ ...

2019-03-08 18:02:56 1922

转载 Arrays类中方法的应用

public class ArraysTest { public static void main(String[] args) { int[] a=new int[]{3,4,5,6}; int[] a2=new int[]{3,4,5,6}; System.out.println("a数组和a2数组是否相等:"+Arrays.equal...

2019-03-08 17:01:29 127

原创 顺序表基本运算的实现

#include&lt;stdio.h&gt;#include&lt;malloc.h&gt;#define  Maxsize 50typedef int ElemType;typedef struct{ ElemType data[Maxsize];    int length;}SqList;//初始化顺序表void InitList(SqList *&amp;L){      L=(SqLi...

2018-06-19 13:12:59 484

原创 基于C语言的折半插入排序算法

#include&lt;stdio.h&gt;/*折半插入排序*/typedef int KeyType;typedef struct{ KeyType key; char a;}RecType;void InsertSort(RecType R[],int n){ int i,j,low,high,mid; RecType temp; for(i=1;i&lt;n;i++){ temp=R[i...

2018-06-12 21:33:54 418

原创 基于C语言的直接插入排序算法

#include&lt;stdio.h&gt;/*直接插入排序*/typedef int KeyType;typedef struct{ KeyType key; char a;}RecType;void InsertSort(RecType R[],int n){ int i,j; RecType temp; for(i=1;i&lt;n;i++){ temp=R[i]; j=i-1; w...

2018-06-12 21:19:20 261

转载 冒泡排序法/选择排序/插入排序

public class Monkey {private String name;private float  hight;public Monkey(String name, float  hight) { this.name = name; this.hight = hight;}public String getName() { return name;}public void setNam...

2018-02-16 13:23:28 330

原创 用Java语言实现记事本的简单功能

用Java语言实现记事本的简单功能

2017-12-26 22:49:45 1197

原创 第一个博客,练练手

第一个博客,练练手

2017-12-26 22:34:19 118

空空如也

空空如也

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

TA关注的人

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