-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
2,201 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
SubjuGator/command/subjugator_launch/config/adaptive_controller.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
kp: 1000, 1000, 1000, 5000, 5000, 5000 | ||
kd: 150, 150, 150, 50, 100, 25 | ||
kg: 5,5,5,5,5,5 | ||
ki: 5,5,5,5,10,5 | ||
use_learned: false | ||
kp: 120, 150, 200, 100, 50, 50 | ||
kd: 25, 25, 25, 25, 25, 25 | ||
kg: 2.5,2.5,2.5,2.5,2.5,2.5 | ||
ki: 2.5,2.5,2.5,2.5,2.5,2.5 | ||
use_learned: true |
6 changes: 6 additions & 0 deletions
6
SubjuGator/command/subjugator_launch/config/adaptive_controller_gazebo.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
kp: 1000, 1000, 1000, 5000, 5000, 5000 | ||
kd: 150, 150, 150, 50, 100, 25 | ||
kg: 5,5,5,5,5,5 | ||
ki: 5,5,5,5,10,5 | ||
use_learned: false |
7 changes: 7 additions & 0 deletions
7
SubjuGator/command/subjugator_launch/launch/bag_debugging_controller.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<launch> | ||
<arg name="prefix_name" default="controller_debug" /> | ||
<arg name="bag_name" default="$(find subjugator_controller)/debug_bags/$(arg prefix_name)" /> | ||
<node name="record" pkg="rosbag" type="record" args="-o $(arg bag_name) /adaptive_controller/pose_error /adaptive_controller/twist_error /adaptive_controller/adaptation /adaptive_controller/dist /adaptive_controller/drag /wrench /trajectory /odom /imu/data_raw /dvl/range"> | ||
</node> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
SubjuGator/command/subjugator_launch/launch/subsystems/adaptive_controller.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<launch> | ||
<arg name="debug" default="True" /> | ||
<arg name="debug" default="True"/> | ||
<arg name="environment" default="real"/> | ||
<node pkg="subjugator_controller" type="adaptive_controller" name="adaptive_controller"> | ||
<rosparam param="" file="$(find subjugator_launch)/config/adaptive_controller.yaml" /> | ||
<param name="debug" value="$(arg debug)" /> | ||
<rosparam if="$(eval environment == 'real')" param="" file="$(find subjugator_launch)/config/adaptive_controller.yaml"/> | ||
<rosparam if="$(eval environment == 'gazebo')" param="" file="$(find subjugator_launch)/config/adaptive_controller_gazebo.yaml"/> | ||
<param name="debug" value="$(arg debug)"/> | ||
</node> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,10 @@ | |
<description>The subjugator_launch package</description> | ||
<maintainer email="[email protected]">Jacob Panikulam</maintainer> | ||
<license>MIT</license> | ||
<build_depend>rosbag</build_depend> | ||
<build_depend>roslaunch</build_depend> | ||
<run_depend>roslaunch</run_depend> | ||
<run_depend>rosbag</run_depend> | ||
<run_depend>robot_state_publisher</run_depend> | ||
<run_depend>nodelet</run_depend> | ||
<run_depend>c3_trajectory_generator</run_depend> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/sh | ||
exec socat -d -d pty,link=/tmp/depth,raw,echo=0 tcp:mil-sub-gumstix.ad.mil.ufl.edu:33056 | ||
exec socat -d -d pty,link=/tmp/depth,raw,echo=0 tcp:192.168.37.61:33056 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/sh | ||
exec socat -d -d pty,link=/tmp/dvl,raw,echo=0 tcp:mil-sub-gumstix.ad.mil.ufl.edu:349 | ||
exec socat -d -d pty,link=/tmp/dvl,raw,echo=0 tcp:192.168.37.61:349 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/sh | ||
exec socat -d -d pipe:/tmp/imu,wronly=1 tcp:mil-sub-gumstix.ad.mil.ufl.edu:1382 | ||
exec socat -d -d pipe:/tmp/imu,wronly=1 tcp:192.168.37.61:1382 |
2 changes: 1 addition & 1 deletion
2
SubjuGator/drivers/sub8_actuator_board/sub8_actuator_board/handle.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
SubjuGator/drivers/sub8_actuator_board/sub8_actuator_board/packets.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
SubjuGator/drivers/sub8_actuator_board/sub8_actuator_board/simulation.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
SubjuGator/drivers/sub8_thrust_and_kill_board/sub8_thrust_and_kill_board/simulation.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
project(sub9_thrust_and_kill_board) | ||
find_package(catkin REQUIRED COMPONENTS | ||
mil_usb_to_can | ||
) | ||
add_rostest(test/simulated_board.test) | ||
catkin_python_setup() | ||
catkin_package() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0"?> | ||
<package format="2"> | ||
<name>sub9_thrust_and_kill_board</name> | ||
<version>0.0.0</version> | ||
<description>The sub9_thrust_and_kill_board package</description> | ||
<maintainer email="[email protected]">Cameron Brown</maintainer> | ||
<license>MIT</license> | ||
<author>Cameron Brown</author> | ||
<buildtool_depend>catkin</buildtool_depend> | ||
<build_depend>mil_usb_to_can</build_depend> | ||
<build_export_depend>mil_usb_to_can</build_export_depend> | ||
<exec_depend>mil_usb_to_can</exec_depend> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD | ||
|
||
from catkin_pkg.python_setup import generate_distutils_setup | ||
from setuptools import setup | ||
|
||
# Fetch values from package.xml | ||
setup_args = generate_distutils_setup( | ||
packages=["sub9_thrust_and_kill_board"], | ||
) | ||
|
||
setup(**setup_args) |
11 changes: 11 additions & 0 deletions
11
SubjuGator/drivers/sub9_thrust_and_kill_board/sub9_thrust_and_kill_board/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from .handle import ThrusterAndKillBoard | ||
from .packets import ( | ||
HeartbeatReceivePacket, | ||
HeartbeatSetPacket, | ||
KillReceivePacket, | ||
KillSetPacket, | ||
KillStatus, | ||
ThrustSetPacket, | ||
) | ||
from .simulation import ThrusterAndKillBoardSimulation | ||
from .thruster import Thruster |
Oops, something went wrong.