Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge NaviGator into monorepo #3

Merged
merged 1,577 commits into from
Sep 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1577 commits
Select commit Hold shift + click to select a range
84f51c8
Merge pull request #408 from uf-mil/simulation
Grymestone Oct 21, 2018
95cc486
SIMULATION: update VMRC
kev-the-dev Oct 28, 2018
c35e6a0
SIMULATION: add obstacle course
kev-the-dev Oct 28, 2018
e3aa4a0
Merge pull request #410 from uf-mil/simulation-vmrc-obstacle-course
Grymestone Oct 29, 2018
2ebe9bf
PASSIVE SONAR: launch passive sonar driver
kev-the-dev Oct 21, 2018
6f8a01a
VISUALIZATION: update nviz for new passive sonar system
kev-the-dev Oct 21, 2018
dfdb22e
MISSIONS: add mission interface for hydrophone position / direction
kev-the-dev Oct 21, 2018
6000064
LAUNCH: depend on mil_passive_sonar
kev-the-dev Oct 21, 2018
480a371
Merge pull request #409 from uf-mil/passive-sonar-integration
Grymestone Oct 29, 2018
2a75c14
LAUNCH: run pneumatic actuator driver at launch
kev-the-dev Sep 26, 2018
e09ae4a
MISSIONS: add retract/deploy thruster mission
kev-the-dev Sep 26, 2018
14d485e
REMOTE CONTROL: retract/deploy thrusters with xbox controller
kev-the-dev Sep 26, 2018
4c7b840
ACTUATORS: tune autodeploy script / config after real testing
kev-the-dev Oct 1, 2018
572a66e
ALIASES: add pneumatic actuator aliases with autocomplete
kev-the-dev Oct 1, 2018
3ccc32d
FORMAT: fix pep8 violations in navigator_joystick
kev-the-dev Oct 9, 2018
bd97dc6
MISSIONS: add functions for launcher reload/fire to singleton
kev-the-dev Oct 9, 2018
c9340ee
ACTUATORS: update valve ids from latest testing
kev-the-dev Oct 9, 2018
ebc2c4d
MISSIONS: add standalone missions to fire/reload launcher
kev-the-dev Oct 9, 2018
1452dee
LAUNCH: depend on mil_pneumatic_actuator
kev-the-dev Oct 9, 2018
ab6567d
REMOTE CONTROL: error check thruster deploy /retrack task
kev-the-dev Oct 23, 2018
86c159d
MISSIONS: make deploy/retract/launcher timing ROS params
kev-the-dev Oct 23, 2018
53e4605
Merge pull request #387 from uf-mil/thruster-autodeploy
Grymestone Oct 29, 2018
cb08487
TOOLS: deprecate navigator_tools bounds in favor of mil_bounds
kev-the-dev Sep 22, 2018
690b184
TF: publish tf for /ecef
kev-the-dev Sep 22, 2018
aaa6cdb
PERCEPTION: deprecate navigator_lidar_oa for PCODAR
kev-the-dev Sep 22, 2018
a04ef91
TF: fix ecef transform
kev-the-dev Sep 22, 2018
ccd9d0d
LAUNCH: fix mil_bounds launch, update boudns for wauburg
kev-the-dev Sep 22, 2018
c032e64
SIMULATION: modify world to more closely track robotx2018
kev-the-dev Oct 6, 2018
7a02342
MISSIONS: use PCODAR for objectdb query, not batcave
kev-the-dev Apr 22, 2018
269c54c
LAUNCH: disable ogrid arbiter
kev-the-dev Oct 7, 2018
8210094
SIMULATION: fix totem names
kev-the-dev Oct 7, 2018
6bf3342
BOUNDS: update wauburg bounds with more precise clicking
kev-the-dev Oct 9, 2018
2309d6a
VISUALIZATION: update nviz for pcodar markers
kev-the-dev Oct 10, 2018
3876a47
SIMULATION: fix child frame id in sylphase sim
kev-the-dev Oct 10, 2018
dcc0823
SIMULATION: add bounds and PCODAR params to gazebo
kev-the-dev Oct 10, 2018
03bb984
LAUNCH: depend on bounds & pcodar
kev-the-dev Oct 29, 2018
84a5fb5
LAUNCH: deprecate bag.launch
kev-the-dev Oct 29, 2018
7d28ef6
FORMAT: resolve pep8 violations in navigator_missions
kev-the-dev Oct 29, 2018
b83f223
Merge pull request #381 from uf-mil/pcodar-integration
Grymestone Oct 29, 2018
760b297
Remove autonomous, keyboard, kill toggling, and other deprecated func…
zobeld Nov 3, 2018
72e7642
Change button labels to match current desired controller functionality.
zobeld Nov 3, 2018
d6b023c
Move thruster retract/deploy after controller inactive check, for bot…
zobeld Nov 3, 2018
5f14ad0
Fix format error in emergency controller node
zobeld Nov 3, 2018
faa94a4
Merge pull request #415 from zobeld/controller
kev-the-dev Nov 3, 2018
bc3f083
LAUNCH: launch hydrophones with master launch
kev-the-dev Oct 29, 2018
82fe57f
LAUNCH: update gazebo bounds to include obstacle course
kev-the-dev Oct 29, 2018
2a2e326
SIMULATION: add obstacle course to PCODAR simulation
kev-the-dev Oct 29, 2018
21b5111
SIMULATION: add shooter frame
kev-the-dev Nov 3, 2018
365c900
LAUNCH: use new seecam for starboard camera launch
kev-the-dev Nov 10, 2018
f15f209
LAUNCH: add calibration for starboard seecam
kev-the-dev Nov 11, 2018
ba67b29
SIMULATION: fix frame of pinger direction
kev-the-dev Nov 11, 2018
4582fe8
VISUALIZATION: remove old PingerDirection topic from rviz config
kev-the-dev Nov 11, 2018
077642d
VISUALIZATION: make pinger direction marker longer
kev-the-dev Nov 11, 2018
0b2bdf1
MISSIONS: block missions from firing launcher while reloading
kev-the-dev Nov 3, 2018
8b060ce
LANUCH: launch motor driver for grinch
kev-the-dev Nov 10, 2018
61f8f79
LAUNCH: depend on sabertooth2x12
kev-the-dev Nov 10, 2018
57fc468
LAUNCH: fix port for grinch
kev-the-dev Nov 10, 2018
2faac64
Created a "using_markers" package. Displays an arrow on rviz
thedpws Oct 9, 2018
144b751
Added package vector3_and_odom_to_navsatfix. Long,Lat is tested. Orie…
thedpws Oct 14, 2018
6371ed7
rename vector3_and_odom_to_navsatfix to point_stamped_and_odom_to_nav…
thedpws Oct 14, 2018
dbae2e4
Working pointstamped to navsatfix converter. Need to display navigato…
thedpws Oct 21, 2018
86e3e5a
Not working. About to redo
thedpws Oct 21, 2018
7342172
Revert "Not working. About to redo"
thedpws Oct 21, 2018
f3a0d4f
Revert "Working pointstamped to navsatfix converter. Need to display …
thedpws Oct 21, 2018
928c4a8
Scale markers by factor 20. Update navigator.rviz (/satellite/rviz_sa…
thedpws Nov 4, 2018
d5e0782
Dynamic reload. Inaccurate, but better than previous.
thedpws Nov 4, 2018
836f3ae
Works perfectly.
thedpws Nov 11, 2018
59720bf
SATELLITE: Working code
thedpws Nov 18, 2018
029c040
Add metadata and remove deprecated files from /satellite
thedpws Nov 18, 2018
fa25844
remove more unused files
thedpws Nov 18, 2018
c9d8dc1
VISUALZIATION: update rviz for satillite imagery
kev-the-dev Nov 19, 2018
3d9cee6
LAUNCHER: tune reload timing
kev-the-dev Nov 18, 2018
a53cf2b
Add files via upload
ericgorday Nov 9, 2018
1bb7433
Revert "Add files via upload"
ericgorday Nov 9, 2018
d53ee32
Review
ericgorday Nov 9, 2018
5f1b671
Review
ericgorday Nov 10, 2018
832214a
Review
ericgorday Nov 11, 2018
4f55259
Deleting the old nav_tui.py
ericgorday Nov 11, 2018
0549115
Deleting old navigator_status tui
ericgorday Nov 16, 2018
1b089ca
Re-uploading tui
ericgorday Nov 16, 2018
3078cfa
Used the my_patch.txt file as specified in your comment and applied i…
ericgorday Nov 19, 2018
143fd97
navigator_robotx_comms package (#383)
whimbree Nov 19, 2018
c11da4e
remove teleop_twist_keyboard
thedpws Nov 19, 2018
863f9e7
Update readme. Remove legacy launch notes
thedpws Nov 19, 2018
6c93641
SIMULATION: add ring recovery reference buoy
kev-the-dev Nov 19, 2018
13ba2a9
Merge pull request #434 from thedpws/master
kev-the-dev Nov 23, 2018
32798a1
Merge pull request #439 from uf-mil/ring-sim
kev-the-dev Nov 23, 2018
065a535
FORMATTING: ignore satilite
kev-the-dev Nov 23, 2018
8a0f9da
MISSIONS: add get_sorted_objects function
kev-the-dev Nov 23, 2018
fcdfe0a
COMMUNICATION PROTOCOL: fix bug with mode
kev-the-dev Nov 23, 2018
fb89524
SIMULATOR: add circle totems challenge to sim
kev-the-dev Nov 24, 2018
ea033f2
Merge pull request #447 from uf-mil/circle-totems-sim
kev-the-dev Nov 26, 2018
2edb85c
Merge pull request #441 from uf-mil/communication-protocol-mode-bug
kev-the-dev Nov 26, 2018
166981b
Merge pull request #443 from uf-mil/get-sorted-objects
kev-the-dev Dec 1, 2018
b5302b3
POI: intergrate into launch, sim, and rviz
kev-the-dev Nov 15, 2018
80119d9
MISSIONS: add interface for POI to navigator singleton
kev-the-dev Nov 23, 2018
5123527
MISSIONS: add go_to_poi mission
kev-the-dev Nov 23, 2018
cc55045
SIMULATION: add POIs for circle totems, ring challenge
kev-the-dev Dec 1, 2018
89feb86
Merge pull request #432 from uf-mil/poi-integration
kev-the-dev Dec 1, 2018
086f014
ALIASES: add nrespawn alias
kev-the-dev Dec 1, 2018
cb65636
Merge pull request #449 from uf-mil/alias-nrespawn
kev-the-dev Dec 2, 2018
9a67bb1
Start Gate Mission
jaxnb Oct 29, 2018
76e5e4c
Improving start gate mission to include multiple options between mult…
jaxnb Nov 9, 2018
b3c89a9
working...
jaxnb Nov 9, 2018
9d994f2
Added filtering for out or range vectors on intersections pinger finder
jaxnb Nov 9, 2018
7aa1e9e
Entrance gate mission works!
jaxnb Nov 28, 2018
da6c886
Unnecessary change
jaxnb Nov 28, 2018
bc81b53
Fix formatting
jaxnb Nov 30, 2018
062e02e
Whoops, put import in the wrong spot
jaxnb Nov 30, 2018
a255981
Replace find nearest with more generalized get_sorted_objects
jaxnb Dec 2, 2018
e26de47
Remove rospy references
jaxnb Dec 2, 2018
72279f7
Change argparse syntax
jaxnb Dec 2, 2018
685b1bc
Fix unused import
jaxnb Dec 2, 2018
0fd42c1
Merge pull request #448 from jaxnb/startgate
kev-the-dev Dec 2, 2018
0d50f45
LAUNCH: add custom PCODAR config for navigator
kev-the-dev Dec 2, 2018
37d890c
VISUALIZATION: use interactive marker topic for PCODAR
kev-the-dev Dec 2, 2018
5e64134
BAGGING: update bagging alises for hydrophones
kev-the-dev Dec 4, 2018
c4fcc2b
Merge pull request #458 from uf-mil/hydrophones-bag
kev-the-dev Dec 5, 2018
c36a37d
Merge pull request #450 from uf-mil/pcodar-interactive-marker
kev-the-dev Dec 5, 2018
d422406
MISSIONS: deprecate old start gate mission
kev-the-dev Nov 23, 2018
ac744f6
MISSIONS: add new demonstrate navigation challenge mission
kev-the-dev Nov 23, 2018
434ef4a
MISSIONS: add functions for grinch control
kev-the-dev Nov 24, 2018
d6ec6da
MISSIONS: add RingRecovery mission
kev-the-dev Nov 24, 2018
b493154
Merge pull request #446 from uf-mil/ring-challenge-mission
kev-the-dev Dec 6, 2018
41bffce
Merge pull request #444 from uf-mil/demonstrate-navigation
kev-the-dev Dec 6, 2018
887223f
Merge pull request #424 from uf-mil/starboard-cam
kev-the-dev Dec 6, 2018
50a75ef
MISSIONS: add circle totem simple mission
kev-the-dev Nov 4, 2018
b1eb0eb
COMMS PROTOCOL/GUI : Modified comms scan_code_message to send upon re…
whimbree Dec 9, 2018
9758b43
LABELS: update bags yaml and json with labels
kev-the-dev Dec 9, 2018
6fd0d93
Run CI again
whimbree Dec 9, 2018
555f993
Fix building
whimbree Dec 9, 2018
934a6b3
Merge pull request #460 from uf-mil/labels
kev-the-dev Dec 10, 2018
b09bad6
Fix building
whimbree Dec 10, 2018
3601b28
Clang format
whimbree Dec 10, 2018
3d00643
Merge pull request #459 from BSpwr/bs/nav_judgepanel
kev-the-dev Dec 10, 2018
abb0c73
ALARMS: disable software network kill
kev-the-dev Dec 10, 2018
61b96f1
Merge pull request #463 from uf-mil/disable-network-software-kill
kev-the-dev Dec 10, 2018
df7fabe
CAMERAS: update calibrations
Dec 10, 2018
5e31ca8
Obstacle Avoid Lawnmower functional and passed qual round
jaxnb Dec 11, 2018
f8c530e
BOUNDS: add bounds for course A
kev-the-dev Dec 10, 2018
f7609eb
CAMERAS: lower frame rate
kev-the-dev Dec 10, 2018
cec8e51
Formatting and cleanup
jaxnb Dec 11, 2018
f491edd
recommit, circle totem work
kev-the-dev Dec 11, 2018
78c5383
move circle tower simple to circle tower
kev-the-dev Dec 11, 2018
911bd07
PCODAR: tune params from competition
kev-the-dev Dec 11, 2018
6139a31
Merge pull request #468 from uf-mil/pcodar-params
kev-the-dev Dec 11, 2018
4e194d2
Merge pull request #465 from uf-mil/bounds-comp
kev-the-dev Dec 11, 2018
7e18d65
Merge pull request #467 from uf-mil/cameras-lower-fps
kev-the-dev Dec 11, 2018
17688b4
Merge pull request #466 from uf-mil/camera-calibration
kev-the-dev Dec 11, 2018
364f7b5
Merge pull request #464 from jaxnb/obstacle-avoidance-mission
kev-the-dev Dec 11, 2018
7252621
CAMERAS: fix frame id on cameras
kev-the-dev Dec 11, 2018
bf079eb
MISSIONS: circle tower the faster way
kev-the-dev Dec 11, 2018
319eddc
Merge pull request #469 from uf-mil/cam
kev-the-dev Dec 11, 2018
b4ef0ba
Merge pull request #420 from uf-mil/circle-totems
kev-the-dev Dec 11, 2018
bd86431
BOUNDS: add course_c bounds
Dec 11, 2018
cd76715
ROBOTX COMMS: use robot.server domain
Dec 11, 2018
45a0e6e
MISSIONS: add rviz clicked navigation channel
kev-the-dev Dec 11, 2018
776d7b0
Merge pull request #471 from uf-mil/robotx-comms
kev-the-dev Dec 12, 2018
533bcc1
Merge pull request #470 from uf-mil/bounds
kev-the-dev Dec 12, 2018
6fe9627
Merge pull request #472 from uf-mil/nav-pass-simple
kev-the-dev Dec 12, 2018
a28473e
GRINCH: finish motor interface, mission function
kev-the-dev Dec 12, 2018
684475e
Merge pull request #473 from uf-mil/grinch
kev-the-dev Dec 12, 2018
f93d068
LAUNCH: change the FTDI id and valve ports
kev-the-dev Nov 11, 2018
47f6f27
Merge pull request #474 from uf-mil/pneumatic-l
kev-the-dev Dec 12, 2018
11f0f70
RC: use new wired xbox controller in launch
kev-the-dev Dec 12, 2018
f3fae8e
Merge pull request #475 from uf-mil/wired-xbox
kev-the-dev Dec 13, 2018
268d788
GRINCH: use totem_gator as name of grinch marker
kev-the-dev Dec 12, 2018
49df825
CAMERAS: recalibrate starboard
kev-the-dev Dec 12, 2018
b00cbe2
Merge pull request #477 from uf-mil/starboard-cam-calibration
kev-the-dev Dec 13, 2018
9b1baee
Merge pull request #476 from uf-mil/grinch-label
kev-the-dev Dec 13, 2018
ca8211d
MISSIONS: accept 2 towers to circle
Jan 2, 2012
68c7b66
GRINCH: tune timing
Jan 2, 2012
3e146a1
GRINCH: spin other way after hardware changes
kev-the-dev Dec 13, 2018
b7fcbf7
MISSIONS: default entrance gate to 5m
Jan 2, 2012
5c2109d
ROBOTX COMMS: use robot.server
Jan 2, 2012
e8decd9
kip cam
Jan 2, 2012
ca1dd54
CAMERAS: kip camera
Jan 2, 2012
9f91951
Merge pull request #484 from uf-mil/kip-cam
kev-the-dev Dec 14, 2018
41494be
Merge pull request #483 from uf-mil/robotx-comms
kev-the-dev Dec 14, 2018
a3687b6
Merge pull request #479 from uf-mil/circle-tower
kev-the-dev Dec 14, 2018
9e9a6c9
Merge pull request #480 from uf-mil/grinch
kev-the-dev Dec 14, 2018
a60f093
Merge pull request #482 from uf-mil/entrance-gate-defaults
kev-the-dev Dec 14, 2018
60bc0af
RC: edit navigator_joystick for wired controller
Jan 2, 2012
3362765
Merge pull request #481 from uf-mil/wired-xbox
kev-the-dev Dec 14, 2018
5bd7613
original commit
kev-the-dev Dec 13, 2018
527152c
Added comms protocol
jaxnb Dec 14, 2018
fbef071
Scan the code mission
jaxnb Dec 14, 2018
928c585
Add init file entry
jaxnb Dec 14, 2018
b46c5fc
Fix formatting
jaxnb Dec 14, 2018
9667f94
Fix formatting
jaxnb Dec 14, 2018
a832c3a
Added stc chaining
jaxnb Dec 14, 2018
0b08b9c
Merge pull request #485 from jaxnb/comprotocol
kev-the-dev Dec 14, 2018
108c806
Fixed small semantics issue
jaxnb Dec 14, 2018
75ce804
Merge pull request #478 from uf-mil/stc
kev-the-dev Dec 14, 2018
fcbc3d1
Merge pull request #486 from jaxnb/stc
kev-the-dev Dec 14, 2018
2189056
Merge pull request #487 from jaxnb/towerchain
kev-the-dev Dec 14, 2018
86fc331
working
jaxnb Dec 14, 2018
24a2839
LAUNCH: bounds for course B and add obstacle course to POI
kev-the-dev Dec 15, 2018
d47a534
PNEUMATICS: pulse launcher
kev-the-dev Dec 15, 2018
2b3c718
Merge pull request #491 from uf-mil/pneumatics
kev-the-dev Dec 15, 2018
767b8ad
Merge pull request #489 from uf-mil/course-config
kev-the-dev Dec 15, 2018
3ea78fa
get_sorted_object return less then n when throw is false
kev-the-dev Dec 15, 2018
806ef92
Merge pull request #494 from uf-mil/jaxon-hotfix
kev-the-dev Dec 15, 2018
2a46568
SCAN THE CODE: timeout, bug fix, deprecate old
kev-the-dev Dec 15, 2018
bd4e44c
MISSIONS: circle grinch closer, backup to allow deploy
kev-the-dev Dec 15, 2018
0705ae0
GRINCH: fixes for compatiblity with limit switch, new motor controllers
kev-the-dev Dec 15, 2018
7979ad0
Merge pull request #495 from uf-mil/ring-challenge
kev-the-dev Dec 15, 2018
81635e8
Merge pull request #493 from uf-mil/grinch-hardware-changes
kev-the-dev Dec 15, 2018
a27cab8
Change defaults for finals
jaxnb Dec 15, 2018
3115030
Merge pull request #490 from uf-mil/stc-mission
kev-the-dev Dec 15, 2018
467ad57
Adjusted speed control for obstacle avoidance
jaxnb Dec 15, 2018
bba365d
Merge pull request #496 from jaxnb/entrance-gate-mission
kev-the-dev Dec 15, 2018
c7fb49b
Scan the code perception sanity checks
kev-the-dev Dec 15, 2018
4cfcc0b
Merge pull request #497 from jaxnb/obstacle-avoidance-mission
kev-the-dev Dec 15, 2018
36639e4
Merge pull request #498 from uf-mil/scan_the_code_perception
kev-the-dev Dec 15, 2018
4d131e1
PERCEPTION: fill pcodar from ObjectsInImage
kev-the-dev Dec 15, 2018
c00b278
MISSIONS: add exploer towers mission
kev-the-dev Dec 15, 2018
38a6866
PERCEPTION: max distance on bbox_pcodar
kev-the-dev Dec 15, 2018
d098f06
bug fix for explor towers
kev-the-dev Dec 15, 2018
d653fcd
label unknown
kev-the-dev Dec 15, 2018
c41fb77
formating
kev-the-dev Dec 15, 2018
0fb783c
Marshalls all-nigher
jaxnb Dec 15, 2018
f353514
stuff
kev-the-dev Dec 15, 2018
776c80b
Merge pull request #492 from uf-mil/bbox_pcodar
kev-the-dev Dec 15, 2018
9c791bf
Refactor of pauls work
kev-the-dev Oct 31, 2018
995431a
Messey initial work, publishing good-ish Pose
kev-the-dev Nov 2, 2018
7cc9a51
MISSIONS: add track target mission
kev-the-dev Nov 3, 2018
671991f
VISION: add tracking / PnP-based pose to detect_deliver_target
kev-the-dev Nov 3, 2018
49f3554
VISION: cleanup/paramter tuning for detect_deliver_target
kev-the-dev Nov 10, 2018
adca7ac
Detect deliver mission
jaxnb Dec 9, 2018
50e78e1
Formatting fixes
jaxnb Dec 9, 2018
7fe44de
Working on docking. Docking not done.
jaxnb Dec 14, 2018
1ce783d
init file
jaxnb Dec 14, 2018
c1da2f9
Perception for docking appears to work in bag
jaxnb Dec 14, 2018
6a08045
working on docking
jaxnb Dec 14, 2018
11741d0
working
jaxnb Dec 15, 2018
d953d12
Cleaning up night before finals
jaxnb Dec 15, 2018
d2e2712
cleaning up
jaxnb Dec 15, 2018
a64e906
Didn't need to add this
jaxnb Dec 15, 2018
949514f
Working before finals
jaxnb Dec 15, 2018
9801881
working
jaxnb Dec 15, 2018
6ef49d6
working...
jaxnb Dec 15, 2018
134987d
last minute stc
jaxnb Dec 15, 2018
e816fbf
Fix bug
jaxnb Dec 15, 2018
ed729db
last minute fixes
jaxnb Dec 15, 2018
003789d
Merge pull request #462 from jaxnb/detect-deliver-mission
kev-the-dev Dec 15, 2018
8d00ec9
Merge pull request #499 from jaxnb/stc_marshall
kev-the-dev Dec 15, 2018
25c93d2
Move all NaviGator code to subdirectory for monorepo merge
kev-the-dev Sep 7, 2019
c0dd5fd
Merge branch 'master' of github.com:uf-mil/mil into navigator-merge
kev-the-dev Sep 7, 2019
c7badf9
Merge remote-tracking branch 'monorepo/master' into navigator-merge
kev-the-dev Sep 7, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[submodule "gnc/lqRRT"]
path = NaviGator/gnc/navigator_path_planner/lqRRT
url = https://github.com/uf-mil/lqRRT
[submodule "simulation/vmrc"]
path = NaviGator/simulation/vmrc
url = https://github.com/uf-mil/vmrc
[submodule "txros"]
path = mil_common/txros
url = https://github.com/txros/txros.git
Expand Down
50 changes: 50 additions & 0 deletions NaviGator/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
dockerNode(image: 'uf-mil:navigator') {
stage("Checkout") {
checkout scm
sh '''
source ~/.mil/milrc > /dev/null 2>&1
git submodule update --init --recursive
ln -s $PWD $CATKIN_DIR/src/NaviGator
git clone --recursive https://github.com/uf-mil/mil_common $CATKIN_DIR/src/mil_common
'''
}
stage("Build") {
sh '''
source ~/.mil/milrc > /dev/null 2>&1
catkin_make -C $CATKIN_DIR -B
'''
}
stage("Test") {
sh '''#!/bin/bash -i
source ~/.mil/milrc > /dev/null 2>&1
source $CATKIN_DIR/devel/setup.bash > /dev/null 2>&1
$(navtest)
catkin_test_results $CATKIN_DIR/build/test_results --verbose
'''
}
stage("Format") {
sh '''#!/bin/bash -i
source ~/.mil/milrc > /dev/null 2>&1
source $CATKIN_DIR/devel/setup.bash > /dev/null 2>&1
OUT=$(navfmt)
if [ $? -ne 0 ]; then
echo $OUT
echo "The preceding Python following files are not formatted correctly"
exit 1
fi
'''
sh '''
source /opt/ros/kinetic/setup.bash > /dev/null 2>&1
wget -O ~/.clang-format https://raw.githubusercontent.com/uf-mil/installer/master/.clang-format
for FILE in $(find -path ./deprecated -prune -o -path ./satellite -prune -o -path ./simulation/vmrc -prune -o -regex ".*/.*\\.\\(c\\|cc\\|cpp\\|h\\|hpp\\)$"); do
if [ ! -z "$(clang-format-3.8 -style=file -output-replacements-xml $FILE | grep '<replacement ')" ]; then
FILES+=( "$FILE" )
fi
done
if (( ${#FILES[@]} > 0 )); then
echo "The following C++ files are not formatted correctly: ${FILES[@]}"
exit 1
fi
'''
}
}
Empty file.
8 changes: 8 additions & 0 deletions NaviGator/deprecated/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# NaviGator deprecated code
This directory contains libraries, scripts, and executables which have been abandoned, replaced, or no longer used.
These files are not compiled or tested, but remain temporarily in the repository for reference or future use.

Note: if code has been moved to mil_common, do not put it in the deprecated folder.

If you add files to the deprecated folder, please preserve the directory structure. For example,
perception/navigator_vision/2016_old_node.py should be moved to deprecated/perception/navigator_vision/2016_old_node.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
#!/usr/bin/env python
from geometry_msgs.msg import WrenchStamped
from navigator_msgs.srv import WrenchSelect
import rospy
from std_msgs.msg import Bool, String


rospy.init_node("wrench_arbiter")


class WrenchArbiter(object):

def __init__(self):

# Set the four receiving variables
self.rc_wrench = None
self.rc_emergency = None
self.keyboard_wrench = None
self.autonomous_wrench = None

# This is what is used to determine which input should be output
self.control = None
self.control_inputs = ["rc", "emergency", "keyboard", "autonomous"]

# ROS stuff - Wrench changing service, final output wrench, and the three input sources
rospy.Service("/change_wrench", WrenchSelect, self.change_wrench)
self.wrench_pub = rospy.Publisher("/wrench/cmd", WrenchStamped, queue_size=1)
self.control_pub = rospy.Publisher("/wrench/current", String, queue_size=1)
self.learn = rospy.Publisher("learn", Bool, queue_size=1)

# Subscribers to listen for wrenches
rospy.Subscriber("/wrench/rc", WrenchStamped,
lambda msg: self.republish(msg, control_t="rc", learn=False))
rospy.Subscriber("/wrench/emergency", WrenchStamped,
lambda msg: self.republish(msg, control_t="emergency", learn=False))
rospy.Subscriber("/wrench/keyboard", WrenchStamped,
lambda msg: self.republish(msg, control_t="keyboard", learn=False))
rospy.Subscriber("/wrench/autonomous", WrenchStamped,
lambda msg: self.republish(msg, control_t="autonomous", learn=True))

def republish(self, msg, control_t, learn):
'''
Republishes message if it's the correct control type. `learn` will publish to the learn topic
to start or stop concurrent learning.
'''

# If there's no control selected, send zeros
if self.control is None:
msg.wrench.force.x = 0
msg.wrench.force.y = 0
msg.wrench.torque.z = 0
learn = False

elif control_t != self.control:
return

self.learn.publish(learn)
msg.header.frame_id = "/base_link"
self.wrench_pub.publish(msg)
self.control_pub.publish(self.control)

def change_wrench(self, req):
'''
This sets the wrench output to the correct source by setting the "control" variable
to the right source.
'''
rospy.loginfo("Server received request for wrench control change - " + req.str)
self.control = req.str if req.str in self.control_inputs else self.control

self.control_pub.publish(self.control)
# Returns the selected control input
return self.control


if __name__ == "__main__":
arb = WrenchArbiter()
rospy.spin()
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<launch>
<!-- For lidar stuff -->
<arg name="oa" default="true" />

<!-- Stereo right, stereo left, right right cameras -->
<arg name="im_proc_sr" default="false" />
<arg name="im_proc_sl" default="false" />
<arg name="im_proc_rr" default="false" />

<param name="use_sim_time" value="true"/>

<include file="$(find navigator_launch)/launch/gnc/tf.launch"/>

<node name="coordinate_converter" pkg="navigator_tools" type="coordinate_conversion_server.py"/>
<node name="bounds_server" pkg="navigator_tools" type="bounds.py"/>

<rosparam param="bounds">
<!-- This is for Lake Wauberg -->
enforce: True
lla: [[29.535011, -82.303323],
[29.534647, -82.304280],
[29.533440, -82.303577],
[29.533803, -82.302639]]
</rosparam>

<node name="front_right_proc" pkg="image_proc" type="image_proc" ns="/camera/front/right" if="$(arg im_proc_sr)"/>
<node name="front_left_proc" pkg="image_proc" type="image_proc" ns="/camera/front/left" if="$(arg im_proc_sl)"/>
<node name="starboard_proc" pkg="image_proc" type="image_proc" ns="/camera/starboard" if="$(arg im_proc_rr)"/>

<node name="action_server" pkg="navigator_tools" type="fake_action_server.py" output="screen"/>

<group if="$(arg oa)">
<include file="$(find navigator_launch)/launch/gnc/object_classification.launch" />
<node name="ogrid_arbiter" pkg="navigator_msg_multiplexer" type="ogrid_arbiter.py" output="screen" respawn="true"/>
</group>
</launch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<launch>
<node pkg="navigator_shooter" type="ShooterControl.py" name="shooter_controller">
<rosparam file="$(find navigator_shooter)/launch/config.yaml" />
</node>
</launch>

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env python
import txros
import numpy as np
from mil_misc_tools.text_effects import fprint

@txros.util.cancellableInlineCallbacks
def main(navigator, **kwargs):
fprint("STARTING CORAL SURVEY, GETTING A TOWER BOUY AS A TEST", msg_color="green")
yield navigator.database_query("tower")
yield navigator.nh.sleep(5)
fprint("COMPLETED CORAL SURVEY", msg_color="green")
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env python
import txros
import numpy as np
from mil_misc_tools.text_effects import fprint

@txros.util.cancellableInlineCallbacks
def main(navigator, **kwargs):
fprint("STARTING EMPTY TEST", msg_color="green")
yield navigator.nh.sleep(5)
fprint("COMPLETED EMPTY TEST", msg_color="green")
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env python
import txros
import numpy as np
from mil_misc_tools.text_effects import fprint


@txros.util.cancellableInlineCallbacks
def main(navigator, **kwargs):
fprint("STARTING FIND THE BREAK, GETTING A BOUY AS A TEST", msg_color="green")
# Get all objects within a certain radius of type unknown or buoy
# Get all combinations and find the ones with the correct distance
fprint("COMPLETED FIND THE BREAK", msg_color="green")
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env python
import txros


@txros.util.cancellableInlineCallbacks
def main(navigator):
while True:
target_raw = raw_input("Lat, Long: ")
if target_raw == 'q':
break

target = map(float, target_raw.split(','))
waypoint = yield navigator.move.to_lat_long(*target)

go = raw_input("Move {} meters? (y/n) ".format(waypoint.distance))
if go == 'y':
yield waypoint.go()
elif go == 'q':
break
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#!/usr/bin/env python
"""Scan The Code Mission Script."""
import txros
from navigator_scan_the_code import ScanTheCodeMission
from mil_misc_tools.text_effects import fprint
from navigator import Navigator

___author___ = "Tess Bianchi"


def _get_color(c):
if c == 'r':
return "RED"
if c == 'b':
return 'BLUE'
if c == 'y':
return 'YELLOW'
if c == 'g':
return 'GREEN'


class ScanTheCode(Navigator):
@txros.util.cancellableInlineCallbacks
def run(self, parameters):
"""Main Script of Scan The Code."""
# attempts = kwargs["attempts"]
# fprint("ATTEMPTS {}".format(attempts), msg_color="green")
self.change_wrench("autonomous")
fprint("Moving to stc", msg_color='green')
mission = ScanTheCodeMission(self)
yield mission.init_(self.tf_listener)
pose, look_at = yield mission.initial_position()
yield self.move.set_position(pose).look_at(look_at).go()
yield self.nh.sleep(1)
fprint("Finished getting the initial position", msg_color='green')

# circle = self.move.circle_point(look_at).go()
# circle.addErrback(lambda x: x)
# yield mission.correct_pose()
# circle.cancel()

mission.correct_pose(pose)
circle = self.move.d_circle_point(look_at, radius=8, granularity=30, direction='cw')
# print list(circle)
for p in list(circle)[::-1]:
if mission.stc_correct:
break
yield p.go()
# yield self.nh.sleep(2)

fprint("Finished getting the correct stc face", msg_color='green')

defer = mission.find_colors()

# TRY WITHOUT CIRCLES
colors = None
try:
colors = yield txros.util.wrap_timeout(defer, 15)
except txros.util.TimeoutError:
pass

# TRY WITH CIRCLEs
# circle = self.move.d_circle_point(look_at, radius=8, granularity=4, direction='cw')
# colors = None
# for i in circle:
# try:
# colors = yield txros.util.wrap_timeout(defer, 15)
# break
# except txros.util.TimeoutError:
# yield i.go()
# fprint("go", msg_color="red")

if colors is None:
colors = "r", "g", "b"
c1, c2, c3 = colors
print colors
yield self.mission_params["scan_the_code_color1"].set(_get_color(c1))
yield self.mission_params["scan_the_code_color2"].set(_get_color(c2))
yield self.mission_params["scan_the_code_color3"].set(_get_color(c3))

@txros.util.cancellableInlineCallbacks
def cleanup(self):
"""Safe exit of the Scan The Code mission."""
yield self.mission_params["scan_the_code_color1"].set("RED")
yield self.mission_params["scan_the_code_color2"].set("GREEN")
yield self.mission_params["scan_the_code_color3"].set("BLUE")
Loading