BCLab-UNM / SC2

Swarmathon Team Code for the NASA Space Challenge 2 Competition
MIT License
2 stars 0 forks source link

Go, dig n drop #77

Closed Carter90 closed 4 years ago

Carter90 commented 4 years ago

Some fine tuning needed for sure, my sim is running at ~1/4 speed so everything looks bad, but also some fine tuning for driving goals and offsets is needed as well sleeps but theses behaviors should work something like this.

#build n such
./srcp2-competitors/docker/scripts/launch/roslaunch_docker --run-round 2
#open another term
source ./devel/setup.bash
roslaunch ./launch/scoot.launch "search:=searchRandomWalk" "mode:=manual" "name:=excavator_1"
#open another term
source ./devel/setup.bash
rosparam set /excavator_1/round 2
ROS_NAMESPACE="/excavator_1" rosrun scoot repl.py
excavator.goto_volatile.main(scoot)
excavator.dig.main(scoot)
scoot.bucket_info().mass_in_bucket #check that bucket mass
excavator.dropoff.main(scoot)

resolves #62