Skip to content

Commit 29065be

Browse files
committed
first commit
0 parents  commit 29065be

File tree

444 files changed

+52677
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

444 files changed

+52677
-0
lines changed

README.md

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# CICRSIM
2+
3+
## 仿真世界加载二维码
4+
Clone our project and put [apriltag](/apriltag/) in /home/${USER_NAME}/.gazebo/models, so you can see apriltags on the wall in the simulation world.
5+
6+
## 仿真器相关话题
7+
We provide a basic quadrotor model with a depth camera attached to it. Users can subscribe to odom topic and depth topic published in the simulation. Some topics are as follows:
8+
```
9+
odom_topic: /ardrone/ground_truth/odometry
10+
11+
depth_topic: /camera/depth/image_raw
12+
13+
quadrotor control topic: /gazebo/set_model_state
14+
```
15+
## 仿真器编译
16+
This project has been tested on 18.04(ROS Melodic) and 20.04(ROS Noetic). Take Ubuntu 18.04 as an example, run the following commands to install required tools:
17+
18+
```
19+
sudo apt-get install ros-melodic-joy ros-melodic-octomap-ros ros-melodic-mavlink python-wstool python-catkin-tools protobuf-compiler libgoogle-glog-dev ros-melodic-control-toolbox ros-melodic-mavros
20+
```
21+
Then simply clone and compile our package (using ssh here):
22+
```
23+
cd ${YOUR_WORKSPACE_PATH}/src
24+
git clone [email protected]:SYSU-STAR/CICRSIM.git
25+
cd ../
26+
catkin_make
27+
```
28+
## 键盘控制节点
29+
For keyboard, you should install ```pygame``` first, by:
30+
```
31+
sudo apt-get install python-pygame
32+
```
33+
在仿真世界加载完成之后再启动键盘控制!!!!!!即先启动launch文件
34+
```
35+
source devel/setup.bash
36+
37+
roslaunch uav_simulation keyboard_control.launch
38+
39+
等待仿真加载完成,打开新终端
40+
41+
source devel/setup.bash
42+
43+
rosrun uav_simulation keyboard_control.py
44+
45+
控制方式:方向键控制无人机前后左右的速度, W和S控制飞机上下, A和D控制飞机yaw角朝向
46+
```
47+
## Acknowledegments
48+
We use [RotorS](https://github.com/ethz-asl/rotors_simulator) to generate a quadrotor and odometry information, [apriltag_ros](https://github.com/AprilRobotics/apriltag_ros.git) to detect Apriltags. We really appreciate these open source projects!
49+
50+
+169
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
material apriltag/Diffuse0
2+
{
3+
receive_shadows off
4+
technique
5+
{
6+
pass
7+
{
8+
texture_unit
9+
{
10+
texture apriltag-0.png
11+
filtering anistropic
12+
max_anisotropy 16
13+
}
14+
}
15+
}
16+
}
17+
18+
material apriltag/Diffuse1
19+
{
20+
receive_shadows off
21+
technique
22+
{
23+
pass
24+
{
25+
texture_unit
26+
{
27+
texture apriltag-1.png
28+
filtering anistropic
29+
max_anisotropy 16
30+
}
31+
}
32+
}
33+
}
34+
35+
material apriltag/Diffuse2
36+
{
37+
receive_shadows off
38+
technique
39+
{
40+
pass
41+
{
42+
texture_unit
43+
{
44+
texture apriltag-2.png
45+
filtering anistropic
46+
max_anisotropy 16
47+
}
48+
}
49+
}
50+
}
51+
52+
material apriltag/Diffuse3
53+
{
54+
receive_shadows off
55+
technique
56+
{
57+
pass
58+
{
59+
texture_unit
60+
{
61+
texture apriltag-3.png
62+
filtering anistropic
63+
max_anisotropy 16
64+
}
65+
}
66+
}
67+
}
68+
69+
material apriltag/Diffuse4
70+
{
71+
receive_shadows off
72+
technique
73+
{
74+
pass
75+
{
76+
texture_unit
77+
{
78+
texture apriltag-4.png
79+
filtering anistropic
80+
max_anisotropy 16
81+
}
82+
}
83+
}
84+
}
85+
86+
material apriltag/Diffuse5
87+
{
88+
receive_shadows off
89+
technique
90+
{
91+
pass
92+
{
93+
texture_unit
94+
{
95+
texture apriltag-5.png
96+
filtering anistropic
97+
max_anisotropy 16
98+
}
99+
}
100+
}
101+
}
102+
103+
material apriltag/Diffuse6
104+
{
105+
receive_shadows off
106+
technique
107+
{
108+
pass
109+
{
110+
texture_unit
111+
{
112+
texture apriltag-6.png
113+
filtering anistropic
114+
max_anisotropy 16
115+
}
116+
}
117+
}
118+
}
119+
120+
material apriltag/Diffuse7
121+
{
122+
receive_shadows off
123+
technique
124+
{
125+
pass
126+
{
127+
texture_unit
128+
{
129+
texture apriltag-7.png
130+
filtering anistropic
131+
max_anisotropy 16
132+
}
133+
}
134+
}
135+
}
136+
137+
material startflag/Diffuse
138+
{
139+
receive_shadows off
140+
technique
141+
{
142+
pass
143+
{
144+
texture_unit
145+
{
146+
texture h.png
147+
filtering anistropic
148+
max_anisotropy 16
149+
}
150+
}
151+
}
152+
}
153+
154+
material startflag/Diffuse1
155+
{
156+
receive_shadows off
157+
technique
158+
{
159+
pass
160+
{
161+
texture_unit
162+
{
163+
texture apriltag-0.png
164+
filtering anistropic
165+
max_anisotropy 16
166+
}
167+
}
168+
}
169+
}
3.54 KB
Loading
3.55 KB
Loading
3.55 KB
Loading
3.54 KB
Loading
3.55 KB
Loading
3.54 KB
Loading
3.54 KB
Loading
3.54 KB
Loading

apriltag/materials/textures/h.png

234 KB
Loading

apriltag/model.config

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0"?>
2+
3+
<model>
4+
<name>aruco</name>
5+
<version>1.0</version>
6+
<sdf version="1.4">model.sdf</sdf>
7+
8+
<author>
9+
<name>zhuang</name>
10+
</author>
11+
12+
<description>
13+
aruco for uav
14+
</description>
15+
</model>

apriltag/model.sdf

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version='1.0'?>
2+
<sdf version='1.4'>
3+
<model name="aruco">
4+
<link name='link'>
5+
<pose>0 0 0.115 0 1.57 0</pose>
6+
<inertial>
7+
<mass>0.390</mass>
8+
<inertia>
9+
<ixx>0.00058</ixx>
10+
<ixy>0</ixy>
11+
<ixz>0</ixz>
12+
<iyy>0.00058</iyy>
13+
<iyz>0</iyz>
14+
<izz>0.00019</izz>
15+
</inertia>
16+
</inertial>
17+
18+
<collision name='collision'>
19+
<geometry>
20+
<box>
21+
<size>.496 .496 .01</size>
22+
</box>
23+
</geometry>
24+
</collision>
25+
26+
<visual name='visual'>
27+
<geometry>
28+
<box>
29+
<size>.496 .496 .01</size>
30+
</box>
31+
</geometry>
32+
33+
<material>
34+
<script>
35+
<uri>model://aruco/materials/scripts</uri>
36+
<uri>model://aruco/materials/textures</uri>
37+
<name>startflag/Diffuse1</name>
38+
</script>
39+
</material>
40+
</visual>
41+
</link>
42+
</model>
43+
</sdf>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2+
Changelog for package realsense_gazebo_plugin
3+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
5+
1.1.0 (2020-01-30)
6+
------------------
7+
* Merge branch 'pointcloud_ferrum' into 'ferrum-devel'
8+
added methods to publish the pointcloud information
9+
See merge request device/realsense_gazebo_plugin!14
10+
* added methods to publish the pointcloud information
11+
* Update readme to remove explicit mention to REEM-C
12+
* Contributors: Sai Kishor Kothakota, Victor Lopez
13+
14+
1.0.4 (2019-12-10)
15+
------------------
16+
* Merge branch 'gazebo_xacro_ferrum' into 'ferrum-devel'
17+
remove gazebo and URDF xacro
18+
See merge request device/realsense_gazebo_plugin!12
19+
* remove gazebo and URDF xacro
20+
* Contributors: Sai Kishor Kothakota, Victor Lopez
21+
22+
1.0.3 (2019-11-05)
23+
------------------
24+
* Add SYSTEM to include_directories
25+
* Contributors: Victor Lopez
26+
27+
1.0.2 (2019-10-30)
28+
------------------
29+
* Merge branch 'mesh-fix-ferrum' into 'ferrum-devel'
30+
fixed the issue with mesh location
31+
See merge request device/realsense_gazebo_plugin!10
32+
* fixed the issue with mesh location
33+
* Contributors: Adria Roig, Sai Kishor Kothakota
34+
35+
1.0.1 (2019-10-30)
36+
------------------
37+
* Merge branch 'multi-realsense-ferrum' into 'ferrum-devel'
38+
Update plugin to support multiple realsense camera's
39+
See merge request device/realsense_gazebo_plugin!7
40+
* Update plugin to support multiple realsense camera's
41+
* Contributors: Adria Roig, Sai Kishor Kothakota
42+
43+
1.0.0 (2019-09-10)
44+
------------------
45+
* Adapted to latest gazebo API changes
46+
* Contributors: Jordan Palacios
47+
48+
0.0.3 (2019-03-28)
49+
------------------
50+
* Fix licenses for public release
51+
* Contributors: Adria Roig
52+
53+
0.0.2 (2019-03-05)
54+
------------------
55+
* Merge branch 'realsense' into 'master'
56+
Fix missing installation files
57+
See merge request device/realsense_gazebo_plugin!2
58+
* Fix missing installation files
59+
* Contributors: Adria Roig
60+
61+
0.0.1 (2019-03-01)
62+
------------------
63+
* Rm unnecessary dependees
64+
* Fix dependencies
65+
* Merge branch 'realsense' into 'master'
66+
Realsense
67+
See merge request adriaroig/realsense_gazebo_plugin!1
68+
* Rm unnecessary files
69+
* Rm unneccessary files
70+
* Delete CMakeLists.txt.user
71+
* Initial commit
72+
* Contributors: Adria Roig

0 commit comments

Comments
 (0)