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

cannot launch autodock #8

Open
artelrobotics opened this issue Jun 2, 2022 · 9 comments
Open

cannot launch autodock #8

artelrobotics opened this issue Jun 2, 2022 · 9 comments

Comments

@artelrobotics
Copy link

when launching autodock_sim i have an error:

[simple_autodock-2] process has died [pid 3189120, exit code 1, cmd /home/user/catkin_ws/src/autodock/autodock_core/scripts/simple_autodock.py --server --rosparam __name:=simple_autodock __log:=/home/user/.ros/log/f978cfa0-e22e-11ec-ac9d-75877b4c1b58/simple_autodock-2.log].
log file: /home/user/.ros/log/f978cfa0-e22e-11ec-ac9d-75877b4c1b58/simple_autodock-2*.log

@AmelFaidi
Copy link

AmelFaidi commented Jun 2, 2022

did you launch autodock with gazebo simulation or with your robot?
i launched it with gazebo without error and i can help you

@artelrobotics
Copy link
Author

artelrobotics commented Jun 6, 2022

#8 (comment)
yes i want to launch in gazebo,
I would be glad if you help me

@AmelFaidi
Copy link

as mentioned this package was tested with ros noetic.you should also install dependencies (Dependencies

Fiducial
Turtlebot Simulation
sudo apt install ros-noetic-turtlebot3*
sudo apt install ros-noetic-turtlebot3-gazebo

1. launch turtlebot3 gazebo world, and also autodock_server

roslaunch autodock_sim tb3_nav_dock_sim.launch

2. launch navigation stack, with provided map. You can also remap the environment by following the turtlebot sim tutorial

New Terminal

export TURTLEBOT3_MODEL=burger
roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:=$HOME/catkin_ws/src/autodock/autodock_sim/maps/map.yaml open_rviz:=0
then

3. send a dock action. make sure that the robot's camera is facing the charger

New Terminal

rostopic pub /autodock_action/goal autodock_core/AutoDockingActionGoal {} --once

@youliangtan
Copy link
Contributor

@artelrobotics pls do share the full log printout.

@artelrobotics
Copy link
Author

I found an error
from autodock_core.msg import AutoDockingFeedback ModuleNotFoundError: No module named 'autodock_core.msg'

@artelrobotics
Copy link
Author

I found an error from autodock_core.msg import AutoDockingFeedback ModuleNotFoundError: No module named 'autodock_core.msg'

how can i fix it?

@youliangtan
Copy link
Contributor

from autodock_core.msg should be avail after a successful compilation of autodock_core. Check if the repo is avail with:

cd ~/catkin_ws
source install/setup.bash
rospack list | grep autodock

@artelrobotics
Copy link
Author

from autodock_core.msg should be avail after a successful compilation of autodock_core. Check if the repo is avail with:

cd ~/catkin_ws
source install/setup.bash
rospack list | grep autodock

autodock_core /home/user/catkin_ws/src/autodock/autodock_core autodock_examples /home/user/catkin_ws/src/autodock/autodock_examples autodock_sim /home/user/catkin_ws/src/autodock/autodock_sim
it's my output for your command

@Sajith33
Copy link

My autodock was not opening, I clicked that app icon,it will load at 9% then it suddenly closed

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

No branches or pull requests

4 participants