-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: master
Are you sure you want to change the base?
Conversation
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.
Also whoever merges this, please squash it its gross. |
try: | ||
import googlemapskey as gmpskey | ||
except ImportError as e: | ||
pass |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
PTAL.
ci_scripts/simulation
passes locally, and so doesci_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)?