Closed MeiYutingg closed 6 months ago
Same thing is happening to me. Have you managed to find a solution?
Same thing is happening to me. Have you managed to find a solution?
Okay, I somehow made it work. I've tried lots of things so I don't know which ones exactly are needed to make it run without problems. I would recommend installing a lot of dependencies of ROS Noetic, more than the ones listed on the readme, and try again. Also, if you have Anaconda/Miniconda installed, deactivate it and don't use any conda environment at all. Also I think you should make sure that the package is built and being executed using Python3 instead of 2.7.
These steps are basically everything I did, and it worked for me. Also I would delete and recreate the full ROS workspace after every major change, just in case.
Thank you @RetroVortex ! I've finally solved this following your suggestions. Specifically, I rebuilt Noetic from source. Since my system is Ubuntu22, I downloaded these extra packages with:
rosinstall_generator genmsg effort_controllers diagnostics position_controllers controller_interface gazebo_ros_pkgs joint_state_publisher_gui gazebo_ros_control joint_state_controller effort_controllers joint_trajectory_controller move_base slam_gmapping hector_slam map_server global_planner dwa_local_planner --rosdistro noetic --deps --tar > noetic-packages.rosinstall
vcs import --input noetic-packages.rosinstall ./src
I also replaced the urdf and rosconsole packages to be compatible for Ubuntu22:
cd workspace here
# Download and use fix branch
git clone https://github.com/dreuter/rosconsole.git
cd rosconsole
git checkout noetic-jammy
cd ..
mv rosconsole src
git clone https://github.com/dreuter/urdf.git
cd urdf
git checkout set-cxx-version
cd ..
mv urdf src
Then I made sure I was using system-provided python3 by buiding Neotic with ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3
After rebuilding Neotic ros_unitree worked fine. I think this problem may be primarily caused by incomplete packages of Neotic on Ubuntu22. Thanks again!
Hello ! After running
roslaunch go1_description go1_rviz.launch
I ran into this; it seems that the legs are not properly transformed: Here's the output of terminal:I've tried
apt-get install unicode
and I've installedros-neotic-joint-state-publisher-gui
, but none of them worked. Could you please look into this problem? Thank you!