Added robot and things
This commit is contained in:
23
mg_msgs/CMakeLists.txt
Normal file
23
mg_msgs/CMakeLists.txt
Normal file
@ -0,0 +1,23 @@
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
project(mg_msgs)
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_compile_options(-Wall -Wextra -Wpedantic)
|
||||
endif()
|
||||
|
||||
# find dependencies
|
||||
find_package(ament_cmake REQUIRED)
|
||||
find_package(rosidl_default_generators REQUIRED)
|
||||
|
||||
rosidl_generate_interfaces(${PROJECT_NAME}
|
||||
"msg/Point2d.msg"
|
||||
"msg/TEdit.msg"
|
||||
"msg/TEditCycle.msg"
|
||||
"action/MoveStraight.action"
|
||||
"action/MovePoint.action"
|
||||
"action/LookAt.action"
|
||||
"action/Rotate.action"
|
||||
"srv/SetWidth.srv"
|
||||
)
|
||||
|
||||
ament_package()
|
||||
25
mg_msgs/action/LookAt.action
Normal file
25
mg_msgs/action/LookAt.action
Normal file
@ -0,0 +1,25 @@
|
||||
float64 x
|
||||
float64 y
|
||||
|
||||
float64 step 0.01
|
||||
float64 tolerance 0.001
|
||||
float64 max_wheel_speed 3
|
||||
float64 max_angular 3.14
|
||||
float64 max_vel 2
|
||||
float64 pos_mult 15
|
||||
float64 ornt_mult 4
|
||||
float64 t_ornt_mult 0.1
|
||||
float64 obst_mult_a -5
|
||||
float64 obst_mult_b -30
|
||||
float64 obst_mult_c -9
|
||||
string[] ignore_tags []
|
||||
---
|
||||
uint8 SUCCESS=0
|
||||
uint8 BLOCKED=1
|
||||
uint8 TIMEOUT=2
|
||||
uint8 MISALIGNED=3
|
||||
uint8 UNKNOWN=254
|
||||
|
||||
uint8 error
|
||||
---
|
||||
float64 distance_passed
|
||||
25
mg_msgs/action/MovePoint.action
Normal file
25
mg_msgs/action/MovePoint.action
Normal file
@ -0,0 +1,25 @@
|
||||
float64 x
|
||||
float64 y
|
||||
|
||||
float64 step 0.01
|
||||
float64 tolerance 0.001
|
||||
float64 max_wheel_speed 3
|
||||
float64 max_angular 3.14
|
||||
float64 max_vel 2
|
||||
float64 pos_mult 15
|
||||
float64 ornt_mult 4
|
||||
float64 t_ornt_mult 0.1
|
||||
float64 obst_mult_a -5
|
||||
float64 obst_mult_b -30
|
||||
float64 obst_mult_c -9
|
||||
string[] ignore_tags []
|
||||
---
|
||||
uint8 SUCCESS=0
|
||||
uint8 BLOCKED=1
|
||||
uint8 TIMEOUT=2
|
||||
uint8 MISALIGNED=3
|
||||
uint8 UNKNOWN=254
|
||||
|
||||
uint8 error
|
||||
---
|
||||
float64 distance_passed
|
||||
24
mg_msgs/action/MoveStraight.action
Normal file
24
mg_msgs/action/MoveStraight.action
Normal file
@ -0,0 +1,24 @@
|
||||
float64 distance
|
||||
|
||||
float64 step 0.01
|
||||
float64 tolerance 0.001
|
||||
float64 max_wheel_speed 3
|
||||
float64 max_angular 3.14
|
||||
float64 max_vel 2
|
||||
float64 pos_mult 15
|
||||
float64 ornt_mult 4
|
||||
float64 t_ornt_mult 0.1
|
||||
float64 obst_mult_a -5
|
||||
float64 obst_mult_b -30
|
||||
float64 obst_mult_c -9
|
||||
string[] ignore_tags []
|
||||
---
|
||||
uint8 SUCCESS=0
|
||||
uint8 BLOCKED=1
|
||||
uint8 TIMEOUT=2
|
||||
uint8 MISALIGNED=3
|
||||
uint8 UNKNOWN=254
|
||||
|
||||
uint8 error
|
||||
---
|
||||
float64 distance_passed
|
||||
25
mg_msgs/action/Rotate.action
Normal file
25
mg_msgs/action/Rotate.action
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
float64 angle
|
||||
|
||||
float64 step 0.01
|
||||
float64 tolerance 0.001
|
||||
float64 max_wheel_speed 3
|
||||
float64 max_angular 3.14
|
||||
float64 max_vel 2
|
||||
float64 pos_mult 15
|
||||
float64 ornt_mult 4
|
||||
float64 t_ornt_mult 0.1
|
||||
float64 obst_mult_a -5
|
||||
float64 obst_mult_b -30
|
||||
float64 obst_mult_c -9
|
||||
string[] ignore_tags []
|
||||
---
|
||||
uint8 SUCCESS=0
|
||||
uint8 BLOCKED=1
|
||||
uint8 TIMEOUT=2
|
||||
uint8 MISALIGNED=3
|
||||
uint8 UNKNOWN=254
|
||||
|
||||
uint8 error
|
||||
---
|
||||
float64 distance_passed
|
||||
2
mg_msgs/msg/Point2d.msg
Normal file
2
mg_msgs/msg/Point2d.msg
Normal file
@ -0,0 +1,2 @@
|
||||
float64 x
|
||||
float64 y
|
||||
4
mg_msgs/msg/TEdit.msg
Normal file
4
mg_msgs/msg/TEdit.msg
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
uint8 type
|
||||
uint16 idx
|
||||
uint16 idy
|
||||
8
mg_msgs/msg/TEditCycle.msg
Normal file
8
mg_msgs/msg/TEditCycle.msg
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
mg_msgs/TEdit[100] modifications
|
||||
mg_msgs/Point2d[100] new_points
|
||||
uint8 cmodifications 0
|
||||
uint8 cnew_points 0
|
||||
|
||||
uint8 DELETE=1
|
||||
uint8 ADD=0
|
||||
19
mg_msgs/package.xml
Normal file
19
mg_msgs/package.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
|
||||
<package format="3">
|
||||
<name>mg_msgs</name>
|
||||
<version>0.0.0</version>
|
||||
<description>This contains various msg/action used within the project</description>
|
||||
<maintainer email="82343504+Pimpest@users.noreply.github.com">Pimpest</maintainer>
|
||||
<license>MIT</license>
|
||||
|
||||
<buildtool_depend>ament_cmake</buildtool_depend>
|
||||
|
||||
<buildtool_depend>rosidl_default_generators</buildtool_depend>
|
||||
<exec_depend>rosidl_default_runtime</exec_depend>
|
||||
<member_of_group>rosidl_interface_packages</member_of_group>
|
||||
|
||||
<export>
|
||||
<build_type>ament_cmake</build_type>
|
||||
</export>
|
||||
</package>
|
||||
2
mg_msgs/srv/SetWidth.srv
Normal file
2
mg_msgs/srv/SetWidth.srv
Normal file
@ -0,0 +1,2 @@
|
||||
float64 width
|
||||
---
|
||||
Reference in New Issue
Block a user