-
Notifications
You must be signed in to change notification settings - Fork 7
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
Huge commit adding fully working integration test #17
base: master
Are you sure you want to change the base?
Conversation
…nd on tests, fixed install and dependencies
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.
Hi,
Thanks for this !
Currently, I can't test it, because robotpkg-ros-ouster-gazebo-simulation
depends on a ros-control version that is not compatible with the one required by robotpkg-py27-talos-dev
: we need the fork from PAL. I'll fix this on Monday, and try again.
@@ -24,6 +24,14 @@ Preparing your environment variables: | |||
source ./test_ws/install/setup.bash | |||
source $HOME/bin/setup-opt-robotpkg.sh | |||
``` | |||
If your installation uses the binaries, you will need to install the following packages, on top of the required `robotpkg-sot-core-v3` and `robotpkg-py27-talos-dev`: | |||
``` | |||
sudo apt install robotpkg-talos-simulation robotpkg-talos-metapkg-ros-control-sot robotpkg-py27-sot-talos-balance robotpkg-py27-sot-pattern-generator-v3 robotpkg-ros-ouster-gazebo-simulation |
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.
This shouldn't be required. The point of the robotpkg-py27-talos-dev
package, is that this package contains nothing but comes with dependencies on everything we need. robotpkg-ros-ouster-gazebo-simulation
is not yet included, that's true, but I'd prefer to fix that, instead of documenting a workaround.
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.
Ok, should I add the necessary dependencies in robotpkg-p27-talos-dev
directly then? And even though robotpkg-ros-ouster-gazebo-simulation
is not in it yet, shouldn't at least talos-simulation
for example already be in it?...
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.
robotpkg-talos-simulation
is an indirect dependency of robotpkg-py27-talos-dev
. So installing robotpkg-py27-talos-dev
is a sufficient condition to get robotpkg-talos-simulation
.
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 added these installations because they were missing after installing robotpkg-sot-core-v3
and robotpkg-py27-talos-dev
, which made the build fail. Perhaps ouster_gazebo_simulation
was the only one really necessary on top of these two, I'll try again later.
Hi @Hugo-L3174, I have updated |
Hi, Trying this again, I had to remove But this still doesn't work for me:
Am I doing something wrong ? |
What are you launching that gives you this error? |
|
I'm guessing the error happens when the robot is spawning, can you try launching a roscore, and do |
If I do this, I have the exact same error, which appears in the log of the first |
I think the issue comes from this change you made because if I change it this way I also get the "invalid parameter gpu" problems you had. |
You were right, this looks better now: I can see a talos with the lidar on its head inside the bauzil room (previously, the room here, but empty) :) But we're still not done:
I'll add ros-aicp-mapping to py-talos-dev… |
Now I'm getting:
I guess this is caused by Gepetto/aicp_mapping#5 |
Yes I forgot to make a pull request on some changes I made in the CMakeLists.txt files for aicp_mapping, but they were just supposed to export and install the files correctly. Without that you might get some of these messages because it can not find the files in the install folders... |
The success of the test comes if the robot reaches the right position (here I only evaluated x and z so it does not matter how long he walks as long as it is in a straight line). The principle is the same as in the online_walking tests. What you see on rviz are the transforms, but you are also supposed to see the map building itself. |
Running |
The roscore error you get when running the script is normal, it just tries to launch a roscore but won't if there is already one. It is just a warning but won't change anything. Could you get in your workspace and do :
preferably after running a roscore in a separate terminal. |
This gave me more logs, but I don't see anything useful: https://framabin.org/p/?c1bc04b2003397e1#jx0nAJjyhR3UiUgFiXU3YIj62SIwRP/OO/Eynfo8VhY= |
Is aicp outputting an error on your terminal? Like pose not initialized or map service disabled? |
|
You are right I meant /aicp/aligned_map. Is it not being published? Is it ticked in the left section of rviz (called output map here)? |
Everything (including output map) is ticked, except Velodyne, and when I tick it, I get a segfault, and both RVIZ & gazebo close. |
added fully integrated walking+lidar+aicp, fixed exit conditions on tests, fixed install and dependencies