BCLab-UNM / SC2

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

Expanded light service and added try/except service error call handling #81

Closed abbypribis closed 4 years ago

abbypribis commented 4 years ago

To test:

  1. Start simulation
  2. MAKE SURE launcher.start() and launcher.launch(task_node) ARE COMMENTED OUT IN MinCore.py TO USE REPL, at least until Carter's fix is merged into master
  3. roslaunch ./launch/scoot.launch "ROS_NAMESPACE:=/scout_1" "search:=searchRandomWalk"
  4. ROS_NAMESPACE="/scout_1" rosrun scoot repl.py

In the repl, try: scoot.light_on() scoot.light_off() scoot.light_low() scoot.light_intensity(1) scoot.light_intensity(0.1) scoot.light_intensity("0.3") scoot.light_intensity(100000) scoot.light_intensity(-100000)

Expands on this closed issue: #68