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

On our way to Simulation Tests #212

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

On our way to Simulation Tests #212

wants to merge 9 commits into from

Conversation

joshuamorton
Copy link
Member

PTAL. ci_scripts/simulation passes locally, and so does ci_scripts/unittest, this feels stabler than it was before.

I'm a bit confused by the horrendously long timeout required in the simulation test, but it's necessary.

Also running with roslaunch buzzmobile simulation_test.launch gzclient:=True works, which I don't think did for me before, but I have no clue why that is (also note I made some related changes in pyros).

I'd like to be able to see rviz output as well, @Sahit, do you know if there's a way to somehow show rviz data (or just do bits of buzzmobile namespaced topic visualization in gazebo)?

Sahit, please try running ` roslaunch buzzmobile simulation_test.launch`
locally and seeing what happens. I get errors that the controller
manager cannot find dependencies, and I want to see if that's true for
you as well.

I think this implies some issues in either the urdf or in
sim_car_interface.cpp, but I'm not 100% sure of that.
Pip and pytest provide system binary aliases (`pip` and `pytest`). These
are hardcoded to use different versions of python than those in the
virtualenv. Swapping this to `python -m BINARYNAME` forces use of the
virtualenv-local python version, in our case forcing python2 vs. my
system's python3 default.
@joshuamorton
Copy link
Member Author

Also whoever merges this, please squash it its gross.

try:
import googlemapskey as gmpskey
except ImportError as e:
pass
Copy link
Member

Choose a reason for hiding this comment

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

are you sure we want to fail silently here? Maybe a warning message that says they should init the googlemapskey. If you're ok with that I can push it to this branch.

Copy link
Member Author

Choose a reason for hiding this comment

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

a "This should be a test and you should be faking gmpskey" warning wouldn't be a terrible thing.

</group>

<!-- Start gazebo server, load world, optionally start viz client -->
<node pkg="gazebo_ros" name="gazebo" type="gzserver"
Copy link
Member

Choose a reason for hiding this comment

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

I'm getting a bunch of warnings on running this saying "deprecated syntax". can you replicate?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't see those, no.

Copy link
Member

Choose a reason for hiding this comment

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

Oh wait I'm testing these on kinetic, pushing a reminder to myself to test it on indigo in my VM tomorrow.

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