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

Max breadcrumb log #574

Merged
merged 4 commits into from
Aug 25, 2020
Merged

Max breadcrumb log #574

merged 4 commits into from
Aug 25, 2020

Conversation

nkoenig
Copy link
Contributor

@nkoenig nkoenig commented Aug 24, 2020

This adds an event to the events.yml file when a rock fall has reached its maximum deployment.

Requires: gazebosim/gz-sim#308

To Test:

  1. ign launch cloudsim_sim.ign worldName:=cave_circuit_practice_01 circuit:=cave robotName1:=X1 robotConfig1:=X1_SENSOR_CONFIG_1

  2. tail -f /tmp/ign/logs/events.yml

  3. Move the robot to a rock fall:

ign service -s /world/cave_circuit_practice_01/set_pose /set_pose --reqtype ignition.msgs.Pose --reptype ignition.msgs.Boolean --timeout 300 --req 'name: "X1", position { x: 282 y:-105.3  z: -24.44}'
  1. Move the robot out of the rock fall detector:
ign service -s /world/cave_circuit_practice_01/set_pose /set_pose --reqtype ignition.msgs.Pose --reptype ignition.msgs.Boolean --timeout 300 --req 'name: "X1", position { x: 0 y:0  z: 0}'
  1. Repeat steps 3 & 4 five more times, and you should see:
- event:
  type: max_rock_falls
  time_sec: 37
  model: medium_rock_fall_1

Nate Koenig added 4 commits August 18, 2020 12:44
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Copy link
Contributor

@acschang acschang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as intended for me. There are no complications with breadcrumb deployment events.

@nkoenig nkoenig merged commit bd77424 into master Aug 25, 2020
@nkoenig nkoenig deleted the max_breadcrumb_log branch December 10, 2020 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants