Skip to content

Commit d247149

Browse files
committed
initial commit
0 parents  commit d247149

7 files changed

+63
-0
lines changed

CMakeLists.txt

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
cmake_minimum_required(VERSION 2.8.3)
2+
project(fs_msgs)
3+
4+
find_package(catkin REQUIRED COMPONENTS
5+
geometry_msgs
6+
message_generation
7+
message_runtime
8+
)
9+
10+
add_message_files(
11+
FILES
12+
ControlCommand.msg
13+
FinishedSignal.msg
14+
GoSignal.msg
15+
Track.msg
16+
TrackObject.msg
17+
)
18+
19+
generate_messages(
20+
DEPENDENCIES
21+
geometry_msgs
22+
)
23+
24+
25+
catkin_package(
26+
CATKIN_DEPENDS
27+
geometry_msgs
28+
message_runtime
29+
)
30+

msg/ControlCommand.msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Header header
2+
float64 throttle # [-] range : (0, 1)
3+
float64 steering # [-] range : (-1, 1)
4+
float64 brake # # [-] range : (0, 1)

msg/FinishedSignal.msg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Header header
2+
bool placeholder

msg/GoSignal.msg

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Header header
2+
string mission
3+
string track

msg/Track.msg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fs_msgs/TrackObject[] track

msg/TrackObject.msg

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
geometry_msgs/Point location #x,y,z [m] wrt to the car start location (origin)
2+
uint8 color # use the enum below
3+
# Constants
4+
uint8 BLUE=0
5+
uint8 YELLOW=1
6+
uint8 ORANGE_BIG=2
7+
uint8 ORANGE_SMALL=3
8+
uint8 UNKNOWN=4

package.xml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0"?>
2+
<package format="2">
3+
<name>fs_msgs</name>
4+
<version>0.1.0</version>
5+
<description>
6+
Common Formula Student ROS messages
7+
</description>
8+
<maintainer email="[email protected]">David Oort Alonso</maintainer>
9+
<maintainer email="[email protected]">Sijmen Huizenga</maintainer>
10+
<license>Apache-License-2.0</license>
11+
<buildtool_depend>catkin</buildtool_depend>
12+
<depend>message_generation</depend>
13+
<depend>message_runtime</depend>
14+
<depend>geometry_msgs</depend>
15+
</package>

0 commit comments

Comments
 (0)