-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update repo to run with packaged warehouse models and edy arm #2
base: master
Are you sure you want to change the base?
Conversation
@acmiyaguchi I suppose this code is for generating data in gazebo. Why do you need a physical kinect? |
This code is actually from last September, before I actually knew how to set up simulated camera nodes. In particular scripts like: simData_imgSaver/src/visuomotor_grasp_3D_Box_affordance.py Lines 194 to 205 in 026fe33
🤔 I can go through and verify that these scripts work, which should probably be done before merging this PR in. |
Sorry I still don't get it. The part of code you cited is about spawning kinect in the gazebo. |
Again, that was just reiterating that when I originally opened the PR I didn't know much about gazebo. See this closed trello ticket for some context: https://trello.com/c/fsrCGKDL/17-play-with-models-code-in-simdataimgsaver-and-ivahandy-with-respect-to-a-functional-opencv-bridge
Anyways, I tried running the visuomotor_grasp_3D_Box script. # to start up the gazebo environment
$ roslaunch robotic_gazebo empty_world.launch
# then running the script
$ python src/visuomotor_grasp_3D_Box.py
Waiting for gazebo servies, be sure to spawn gazebo_ros with rosrun gazebo_ros gazebo or rosrun gazebo_ros gzserver
Gazebo services are up!
MoiveIt! services are up!
World properties:
sim_time: 40.796
model_names:
- ground_plane
rendering_enabled: True
success: True
status_message: "GetWorldProperties: got properties"
Loading the table
Loading the kinect
Waiting for Kinect topics to publish However, when I get to this point, I find that the kinect isn't publishing to the image topics. This is the set of topics:
If I kill the script and run it again with the gazebo service still up, I see the model spawn but presumably stuck on getting data from the camera: I've reached the threshold of time for this, so I'll come back to it in the future. |
I got your point. You thought the issue is due to missing connecting to a physical kinect camera. I will take a look at it and let you know if I have some thoughts. |
@acmiyaguchi
I couldn't have Kinect camera spawned in the Gazebo. After searching over, it seems there is no update for kinect model between previous and noetic version. Not sure where the problem is. I will spend some more time tomorrow. |
@ruinianxu Did you add the updated simData repo to your catkin workspace run |
Yes I did. But the kinect_ros model locates in |
@acmiyaguchi |
Relies on ivalab/simData#1
This adds some dependencies on simData and ivaEdy so that the launch files work correctly. It removes some of the instructions regarding modifying source files to make things work.
We add a new launch file to test that the warehouse data is working:
I also manually ran the python scripts, but I don't have access to a kinect or any other hardware, so unfortunately I can't see what side-effects these changes might also have.