mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
Fixing submodule
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
|||||||
[submodule "src/ros2_interfaces_pkg"]
|
|
||||||
path = src/ros2_interfaces_pkg
|
|
||||||
url = git@github.com:SHC-ASTRA/ros2_interfaces_pkg.git
|
|
||||||
3
src/ros2_interfaces_pkg/.gitignore
vendored
3
src/ros2_interfaces_pkg/.gitignore
vendored
@@ -1,3 +0,0 @@
|
|||||||
build
|
|
||||||
install
|
|
||||||
log
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
cmake_minimum_required(VERSION 3.8)
|
|
||||||
project(ros2_interfaces_pkg)
|
|
||||||
|
|
||||||
if(POLICY CMP0148)
|
|
||||||
cmake_policy(SET CMP0148 OLD)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
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(geometry_msgs REQUIRED)
|
|
||||||
find_package(rosidl_default_generators REQUIRED)
|
|
||||||
|
|
||||||
rosidl_generate_interfaces(${PROJECT_NAME}
|
|
||||||
"action/AutoCommand.action"
|
|
||||||
"msg/control/ArmIK.msg"
|
|
||||||
"msg/control/ArmManual.msg"
|
|
||||||
"msg/control/ControllerState.msg"
|
|
||||||
"msg/control/CoreControl.msg"
|
|
||||||
"msg/feedback/AutoFeedback.msg"
|
|
||||||
"msg/feedback/SocketFeedback.msg"
|
|
||||||
"msg/feedback/DigitFeedback.msg"
|
|
||||||
"msg/feedback/FaerieFeedback.msg"
|
|
||||||
"msg/feedback/CoreFeedback.msg"
|
|
||||||
DEPENDENCIES std_msgs geometry_msgs
|
|
||||||
)
|
|
||||||
|
|
||||||
if(BUILD_TESTING)
|
|
||||||
find_package(ament_lint_auto REQUIRED)
|
|
||||||
# the following line skips the linter which checks for copyrights
|
|
||||||
# comment the line when a copyright and license is added to all source files
|
|
||||||
set(ament_cmake_copyright_FOUND TRUE)
|
|
||||||
# the following line skips cpplint (only works in a git repo)
|
|
||||||
# comment the line when this package is in a git repo and when
|
|
||||||
# a copyright and license is added to all source files
|
|
||||||
set(ament_cmake_cpplint_FOUND TRUE)
|
|
||||||
ament_lint_auto_find_test_dependencies()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
ament_package()
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
# rover-Interfaces
|
|
||||||
Standard repo for all ROS2 Interface files.
|
|
||||||
Inteded to be a git submodule within the other ros2-related repos.
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# Goal
|
|
||||||
int64 mission_type
|
|
||||||
float64 gps_lat_target
|
|
||||||
float64 gps_long_target
|
|
||||||
float64 target_radius
|
|
||||||
float64 period
|
|
||||||
---
|
|
||||||
# Result
|
|
||||||
int64 final_result
|
|
||||||
---
|
|
||||||
# Feeedback
|
|
||||||
int64 current_status
|
|
||||||
float64 distance_remaining
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
# Topic: /arm/control/ik
|
|
||||||
|
|
||||||
# User's input on x, y, z axis described as a vector
|
|
||||||
geometry_msgs/Vector3 movement_vector # [x, y, z] values for the arm's movement in 3D space
|
|
||||||
|
|
||||||
# Gripper control
|
|
||||||
# -1: Closing
|
|
||||||
# 0: Stopped
|
|
||||||
# +1: Opening
|
|
||||||
int32 gripper
|
|
||||||
|
|
||||||
# Linear Actuator movement direction
|
|
||||||
# -1: Retracting
|
|
||||||
# 0: Stopped
|
|
||||||
# +1: Extending
|
|
||||||
int32 linear_actuator
|
|
||||||
|
|
||||||
# Laser state
|
|
||||||
# 0: Off
|
|
||||||
# 1: On
|
|
||||||
int32 laser
|
|
||||||
|
|
||||||
# Effector Roll movement direction
|
|
||||||
# -1: Counterclockwise
|
|
||||||
# 0: No movement
|
|
||||||
# +1: Clockwise
|
|
||||||
int32 effector_roll
|
|
||||||
|
|
||||||
# Effector Yaw movement direction
|
|
||||||
# -1: Counterclockwise
|
|
||||||
# 0: No movement
|
|
||||||
# +1: Clockwise
|
|
||||||
int32 effector_yaw
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
# Topic: /arm/control/manual
|
|
||||||
|
|
||||||
# Axis control for rotation and speed multiplier
|
|
||||||
# Direction of rotation:
|
|
||||||
# -1: Counterclockwise
|
|
||||||
# 0: No movement
|
|
||||||
# +1: Clockwise
|
|
||||||
# Speed multiplier:
|
|
||||||
# -2: 2x speed CCW
|
|
||||||
# 0: No movement
|
|
||||||
# +2: 2x speed CW
|
|
||||||
int32 axis0 # Axis 0 control
|
|
||||||
int32 axis1 # Axis 1 control
|
|
||||||
int32 axis2 # Axis 2 control
|
|
||||||
int32 axis3 # Axis 3 control
|
|
||||||
|
|
||||||
# Effector Roll movement direction
|
|
||||||
# -1: Counterclockwise
|
|
||||||
# 0: No movement
|
|
||||||
# +1: Clockwise
|
|
||||||
int32 effector_roll
|
|
||||||
|
|
||||||
# Effector Yaw movement direction
|
|
||||||
# -1: Counterclockwise
|
|
||||||
# 0: No movement
|
|
||||||
# +1: Clockwise
|
|
||||||
int32 effector_yaw
|
|
||||||
|
|
||||||
# Gripper control
|
|
||||||
# -1: Closing
|
|
||||||
# 0: Stopped
|
|
||||||
# +1: Opening
|
|
||||||
int32 gripper
|
|
||||||
|
|
||||||
# Linear Actuator movement direction
|
|
||||||
# -1: Retracting
|
|
||||||
# 0: Stopped
|
|
||||||
# +1: Extending
|
|
||||||
int32 linear_actuator
|
|
||||||
|
|
||||||
# Laser state
|
|
||||||
# 0: Off
|
|
||||||
# 1: On
|
|
||||||
int32 laser
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
# Controller state message to transmit the entire state of the controller
|
|
||||||
# This is depricated and currently no longer in use. It remains as a backup in case it's needed.
|
|
||||||
|
|
||||||
#Triggers
|
|
||||||
float64 lt
|
|
||||||
float64 rt
|
|
||||||
|
|
||||||
#Bumbers
|
|
||||||
bool lb
|
|
||||||
bool rb
|
|
||||||
|
|
||||||
#Menu/Pause buttons (plus/minus on the Gulikit)
|
|
||||||
bool plus
|
|
||||||
bool minus
|
|
||||||
|
|
||||||
#Left stick values
|
|
||||||
float64 ls_x
|
|
||||||
float64 ls_y
|
|
||||||
|
|
||||||
#Right stick values
|
|
||||||
float64 rs_x
|
|
||||||
float64 rs_y
|
|
||||||
|
|
||||||
#Buttons
|
|
||||||
bool a
|
|
||||||
bool b
|
|
||||||
bool x
|
|
||||||
bool y
|
|
||||||
|
|
||||||
#D-pad
|
|
||||||
bool d_up
|
|
||||||
bool d_down
|
|
||||||
bool d_left
|
|
||||||
bool d_right
|
|
||||||
|
|
||||||
#Home button
|
|
||||||
bool home
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
# Topic: /core/control
|
|
||||||
|
|
||||||
# Left and right stick control
|
|
||||||
# Percentage of max speed for each stick (range: 0.0 to 1.0)
|
|
||||||
float32 left_stick # Left stick percentage of max speed
|
|
||||||
float32 right_stick # Right stick percentage of max speed
|
|
||||||
|
|
||||||
# Maximum speed setting
|
|
||||||
int32 max_speed # Maximum duty cycle (range: 0 to 100)
|
|
||||||
|
|
||||||
# Brake mode
|
|
||||||
bool brake # Is brake mode enabled?
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
# Current mission type
|
|
||||||
int32 mission_type
|
|
||||||
|
|
||||||
# Target Latitude
|
|
||||||
float64 target_lat
|
|
||||||
|
|
||||||
# Target Longitude
|
|
||||||
float64 target_long
|
|
||||||
|
|
||||||
# Estimated Distance remaining
|
|
||||||
float32 distance
|
|
||||||
|
|
||||||
# Update
|
|
||||||
string update
|
|
||||||
|
|
||||||
# Current job
|
|
||||||
string current
|
|
||||||
|
|
||||||
# Warning
|
|
||||||
string warn
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
# Topic: /core/feedback
|
|
||||||
|
|
||||||
# GPS Data
|
|
||||||
float64 gps_lat # GPS latitude
|
|
||||||
float64 gps_long # GPS longitude
|
|
||||||
int32 gps_sats # Number of active GPS satellites
|
|
||||||
|
|
||||||
# BNO055 Sensor Data
|
|
||||||
geometry_msgs/Vector3 bno_gyro # x, y, z gyroscope readings from BNO055
|
|
||||||
geometry_msgs/Vector3 bno_accel # x, y, z acceleration readings from BNO055
|
|
||||||
|
|
||||||
# Rover Orientation
|
|
||||||
float64 orientation # Orientation of the rover relative to North (0 - 359 degrees)
|
|
||||||
|
|
||||||
# BMP Sensor Data
|
|
||||||
float64 bmp_temp # Temperature reading in Celsius
|
|
||||||
float64 bmp_alt # Altitude reading in meters
|
|
||||||
float64 bmp_pres # Pressure reading in millibars (might be hPa)
|
|
||||||
|
|
||||||
# Voltage Readings
|
|
||||||
float64 bat_voltage # Current voltage of the battery
|
|
||||||
float64 voltage_12 # Current voltage of the 12V rail
|
|
||||||
float64 voltage_5 # Current voltage of the 5V rail
|
|
||||||
float64 voltage_3 # Current voltage of the 3.3V rail
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# Topic: /arm/feedback/digit
|
|
||||||
|
|
||||||
# Current wrist yaw angle
|
|
||||||
float32 wrist_angle
|
|
||||||
|
|
||||||
# Current voltage of the battery
|
|
||||||
float32 bat_voltage
|
|
||||||
|
|
||||||
# Current voltage of the 12V rail
|
|
||||||
float32 voltage_12
|
|
||||||
|
|
||||||
# Current voltage of the 5V rail
|
|
||||||
float32 voltage_5
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
# Topic: /arm/feedback/faerie
|
|
||||||
|
|
||||||
# Voltage readings
|
|
||||||
float32 bat_voltage # Current voltage of the battery
|
|
||||||
float32 voltage_12 # Current voltage of the 12V rail
|
|
||||||
float32 voltage_5 # Current voltage of the 5V rail
|
|
||||||
|
|
||||||
# SHT sensor data
|
|
||||||
float32 sht_temp # Temperature in Celsius from the SHT sensor on FAERIE
|
|
||||||
float32 sht_humidity # Humidity in percentage from the SHT sensor on FAERIE
|
|
||||||
|
|
||||||
# Lux sensor readings
|
|
||||||
# (placeholders, these will eventually each associate with a specific color)
|
|
||||||
float32 lux_1 # Lux reading 1
|
|
||||||
float32 lux_2 # Lux reading 2
|
|
||||||
float32 lux_3 # Lux reading 3
|
|
||||||
float32 lux_4 # Lux reading 4
|
|
||||||
float32 lux_5 # Lux reading 5
|
|
||||||
float32 lux_6 # Lux reading 6
|
|
||||||
float32 lux_7 # Lux reading 7
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
# Topic: /arm/feedback/socket
|
|
||||||
|
|
||||||
# Axis 0 feedback
|
|
||||||
float32 axis0_angle # Current joint angle in degrees
|
|
||||||
float32 axis0_temp # Current motor temperature in Celsius
|
|
||||||
float32 axis0_voltage # Current motor voltage in volts
|
|
||||||
float32 axis0_current # Current motor amperage in milliamps
|
|
||||||
|
|
||||||
# Axis 1 feedback
|
|
||||||
float32 axis1_angle # Current joint angle in degrees
|
|
||||||
float32 axis1_temp # Current motor temperature in Celsius
|
|
||||||
float32 axis1_voltage # Current motor voltage in volts
|
|
||||||
float32 axis1_current # Current motor amperage in milliamps
|
|
||||||
|
|
||||||
# Axis 2 feedback
|
|
||||||
float32 axis2_angle # Current joint angle in degrees
|
|
||||||
float32 axis2_temp # Current motor temperature in Celsius
|
|
||||||
float32 axis2_voltage # Current motor voltage in volts
|
|
||||||
float32 axis2_current # Current motor amperage in milliamps
|
|
||||||
|
|
||||||
# Axis 3 feedback
|
|
||||||
float32 axis3_angle # Current joint angle in degrees
|
|
||||||
float32 axis3_temp # Current motor temperature in Celsius
|
|
||||||
float32 axis3_voltage # Current motor voltage in volts
|
|
||||||
float32 axis3_current # Current motor amperage in milliamps
|
|
||||||
|
|
||||||
# Voltage feedback
|
|
||||||
float32 bat_voltage # Current voltage of the battery
|
|
||||||
float32 voltage_12 # Current voltage of the 12V rail
|
|
||||||
float32 voltage_5 # Current voltage of the 5V rail
|
|
||||||
float32 voltage_3 # Current voltage of the 3.3V rail
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<?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>ros2_interfaces_pkg</name>
|
|
||||||
<version>0.0.0</version>
|
|
||||||
<description>TODO: Package description</description>
|
|
||||||
<maintainer email="tristanmcginnis26@gmail.com">tristan</maintainer>
|
|
||||||
<license>TODO: License declaration</license>
|
|
||||||
|
|
||||||
<buildtool_depend>ament_cmake</buildtool_depend>
|
|
||||||
|
|
||||||
<depend>gemoetry_msgs</depend>
|
|
||||||
|
|
||||||
<buildtool_depend>rosidl_default_generators</buildtool_depend>
|
|
||||||
<exec_depend>rosidl_default_runtime</exec_depend>
|
|
||||||
<member_of_group>rosidl_interface_packages</member_of_group>
|
|
||||||
|
|
||||||
|
|
||||||
<test_depend>ament_lint_auto</test_depend>
|
|
||||||
<test_depend>ament_lint_common</test_depend>
|
|
||||||
|
|
||||||
<export>
|
|
||||||
<build_type>ament_cmake</build_type>
|
|
||||||
</export>
|
|
||||||
</package>
|
|
||||||
Reference in New Issue
Block a user