Skip to content

Commit

Permalink
Merge pull request #180 from BCLab-UNM/scoot_refactor
Browse files Browse the repository at this point in the history
Scoot refactor, Drive & joint movment blocking, overshoot turn fix
  • Loading branch information
gmfricke authored Apr 28, 2021
2 parents 09188b2 + a13cd60 commit f0ccb02
Show file tree
Hide file tree
Showing 16 changed files with 502 additions and 471 deletions.
16 changes: 8 additions & 8 deletions src/scoot/launch/scoot.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@

<node name="Core" pkg="scoot" type="Core.py" respawn="true">
<param name="HEADING_RESTORE_FACTOR" value="1.0"/>
<param name="GOAL_DISTANCE_OK" value="0.1"/>
<param name="ROTATE_THRESHOLD" value="0.19"/>
<param name="GOAL_DISTANCE_OK" value="0.05"/>
<param name="ROTATE_THRESHOLD" value="0.001"/>
<param name="DRIVE_ANGLE_ABORT" value="1.5"/>

<!-- Default drive speeds. These are also used for manual driving. -->
<param name="DRIVE_SPEED" value="5"/>
<param name="REVERSE_SPEED" value="3"/>
<param name="TURN_SPEED" value="5"/>
<param name="DRIVE_SPEED" value="1"/>
<param name="REVERSE_SPEED" value="1"/>
<param name="TURN_SPEED" value="1"/>

<!-- Additional slow and fast drive speeds available through the Swarmie API -->
<param name="DRIVE_SPEED_SLOW" value="0.1"/>
<param name="DRIVE_SPEED_SLOW" value="0.5"/>
<param name="TURN_SPEED_SLOW" value="0.5"/>
<param name="DRIVE_SPEED_FAST" value="0.25"/>
<param name="TURN_SPEED_FAST" value="1.1"/>
<param name="DRIVE_SPEED_FAST" value="2"/>
<param name="TURN_SPEED_FAST" value="2"/>
</node>

<node name="odom" pkg="scoot" type="FakeLocalization.py" args="$(arg name)" respawn="true" >
Expand Down
3 changes: 2 additions & 1 deletion src/scoot/msg/MoveRequest.msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
float64 r
float64 x
float64 y
float64 theta
float64 timer
float64 angular
Expand Down
1 change: 0 additions & 1 deletion src/scoot/src/Core.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
rospy.loginfo("Core Starting without Task")

while not rospy.is_shutdown():
driver.run()
r.sleep()
except rospy.ROSInterruptException:
pass
Loading

0 comments on commit f0ccb02

Please sign in to comment.