ROS学习总结 - Something TO DO

ROS学习总结

Something TO DO posted @ 2017年11月26日 22:35 in Ubuntu with tags tips ROS , 860 阅读

TIPS!

1,ros 包(package)的命名规则

ROS 包的命名遵循一个命名规范,只允许使用小写字母、数字和下划线,而且首字符必须是一个小写字母。一些 ROS工具,包括 catkin,不支持那些不遵循此命名规范的包。

2,引用当前软件包内的头文件

mazhg@mazhg-HP-ProBook-440-G3:~/catkin_ws/src$ tree test_pkg
test_pkg
├── CMakeLists.txt
├── include
│   └── test_pkg
│       └── test_pkg.h
├── package.xml
└── src
    └── test.cpp

3 directories, 4 files

在test.cpp文件中添加

#include "test_pkg/test_pkg.h"

并且将CMakeLists.txt文件中

## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(
#  include
  ${catkin_INCLUDE_DIRS}
)

相应的修改为:

## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(
  include
  ${catkin_INCLUDE_DIRS}
)

3,引用同一工作空间中其他软件包的头文件

(假设my_pkg引用test_pkg的include中的头文件test_pkg.h)

建立my_pkg的时候就将test_pkg作为依赖项

catkin_create_pkg my_pkg std_msgs roscpp rospy test_pkg

my_pkg的CMakeLists.txt文件仍然按照常规的方法修改,而test_pkg的CMakeLists.txt中需要作相应的修改,通知其他软件包(my_pkg) 当前软件包(test_pkg)包含有自定义头文件,在include目录下

catkin_package(
  INCLUDE_DIRS include  ##uncomment this line
#  LIBRARIES test_pkg
#  CATKIN_DEPENDS roscpp rospy std_msgs
#  DEPENDS system_lib
)

4,备用

备用

5,备用

备用

6,备用

备用

7,备用

备用

8,备用

备用

Avatar_small
celeb networth 说:
2021年9月15日 21:06

English actor, producer and former model Tom Hardy net worth has since been nominated for the Academy Award for Best Supporting Actor, two Critics' Choice Movie Awards and two British Academy Film Awards, receiving the 2011 BAFTA Rising Star Award. After studying acting at the Drama Centre London, he made his film debut in Ridley Scott's Black Hawk Down (2001). Hardy has also appeared in such films as Star Trek: Nemesis (2002), RocknRolla (2008), Bronson (2008), Warrior (2011), Tinker Tailor Soldier Spy (2011), Lawless (2012), This Means War (2012), Locke (2013), The Drop (2014), and The Revenant (2015), for which he received a nomination for an Academy Award. In 2015, he portrayed "Mad" Max Rockatansky in Mad Max: Fury Road and both Kray twins in Legend. He has appeared in three Christopher Nolan films: Inception (2010), The Dark Knight Rises (2012) as Bane, and Dunkirk (2017) as an RAF fighter-pilot. He starred as Eddie Brock / Venom in the 2018 anti-hero film Venom, and will reprise his role as Venom in the upcoming film, Venom: Let There Be Carnage (2021). Hardy's television roles include the HBO war drama mini-series Band of Brothers (2001), the BBC historical drama mini-series The Virgin Queen (2005), Bill Sikes in the BBC's mini-series Oliver Twist (2007), ITV's Wuthering Heights (2009), the Sky 1 drama series The Take (2009), and as Alfie Solomons in the BBC historical crime drama series Peaky Blinders (2014–present). He created, co-produced, and took the lead in the eight-part historical fiction series Taboo (2017) on BBC One and FX. In 2020, he also contributed narration work to the Amazon docuseries All or Nothing: Tottenham Hotspur. Hardy has performed on both British and American stages. He was nominated for the Laurence Olivier Award for Most Promising Newcomer for his role as Skank in the production of In Arabia We'd All Be Kings (2003), and was awarded the 2003 Evening Standard Theatre Award for Outstanding Newcomer for his performances in both In Arabia We'd All Be Kings and Blood, in which he played Luca. He starred in the production of The Man of Mode (2007) and received positive reviews for his role in the play The Long Red Road (2010). He is active in charity work and is an ambassador for the Prince's Trust. He was appointed a CBE in the 2018 Birthday Honours for services to drama.

Avatar_small
UPMSP Plus One Previ 说:
2022年8月16日 18:02

The principal goal of the UK Board of School Education, a governmental body responsible for academic administration in this state, is to advance higher secondary education there. These individuals and others urge the pupils to take part in extracurricular activities. This board operates under the direction of the UK government, and it also oversees and manages the schools to which it is linked. UPMSP Plus One Previous Paper 2023 Every year, the 11th-class exams for the UK Board are held, and in the most recent year, the exams for this board began in the month of March. UPMSP Plus One Important Question Paper 2023 will be released in May or June in accordance with last year's schedule.

Avatar_small
true caller en ligne 说:
2023年7月13日 22:04

Truecaller est simplement une application qui vérifie qui vous contacte. Ce type d’identification de l’appelant est important pour détecter les télévendeurs, les appels indésirables et les escrocs. true caller en ligne Truecaller classe les appelants comme Spam ou Safe en fonction des informations de contact des fournisseurs de réseau et des données des autres utilisateurs.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee