Skip to content

Initial commit of the virtual fence#6

Merged
gmfricke merged 1 commit into
masterfrom
virtual_fence
Aug 24, 2017
Merged

Initial commit of the virtual fence#6
gmfricke merged 1 commit into
masterfrom
virtual_fence

Conversation

@gmfricke

Copy link
Copy Markdown
Contributor

This new controller tells robots not to leave a particular area.
The valid search area can be set by publishing to the /virtualFence topic:

rostopic pub /virtualFence std_msgs/Float32MultiArray -f shapemessage.yaml

where the contents of file shapemessage.yaml is:

layout:
dim: []
data_offset: 0
data: [2, 0, 0, 8, 12]

Known bugs:

The obstacle avoidance controller has higher priority than the range controller. This means that rovers in constant collision can move out of the allowed range.

This new controller tells robots not to leave a particular area.
The valid search area can be set by publishing to the /virtualFence topic:

rostopic pub /virtualFence std_msgs/Float32MultiArray -f shapemessage.yaml

where the contents of file shapemessage.yaml is:

layout:
  dim: []
  data_offset: 0
data: [2, 0, 0, 8, 12]

Known bugs:

The obstacle avoidance controller has higher priority than the range controller. This means that rovers in constant collision can move out of the allowed range.
@gmfricke gmfricke merged commit e562707 into master Aug 24, 2017
@gmfricke gmfricke deleted the virtual_fence branch August 25, 2017 22:42
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.

1 participant