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

Extend C-wrapper #80

Merged
merged 1 commit into from
Nov 1, 2017
Merged

Extend C-wrapper #80

merged 1 commit into from
Nov 1, 2017

Conversation

curds01
Copy link
Collaborator

@curds01 curds01 commented Nov 1, 2017

This adds some needed features to the C-wrapper

  1. Per-agent preferred velocity and state id.
  2. Ability to query the name of a state and the total number of states.

Incidentally, required a minor patch on Menge::BFSM::State::getName(); the return type now returns a const ref to the state's name rather than a copy. This allows me to send back a const char* that persists as long as the simulator does.

1. Add per-agent preferred velocity
2. Add state introspection
   - number of states
   - names of states
@curds01 curds01 merged commit 8deba0d into MengeCrowdSim:dev Nov 1, 2017
@curds01 curds01 deleted the extend_c_wrapper branch November 1, 2017 03:29
curds01 added a commit to curds01/Menge that referenced this pull request May 28, 2018
1. Add per-agent preferred velocity
2. Add state introspection
   - number of states
   - names of states
MengeCrowdSim pushed a commit that referenced this pull request May 28, 2018
1. Add per-agent preferred velocity
2. Add state introspection
   - number of states
   - names of states
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