larics / lattice_planner

ROS implementation of a 2D path planner for nonholonomic vehicles.
MIT License
50 stars 34 forks source link

NO MAPSERVER IN SOURCE CODE #7

Open xionghuachuan opened 2 years ago

xionghuachuan commented 2 years ago

Hello sir! First,thanks for your job!However,I got the problem when i roslaunch test.launch file.like this :<<<ERROR: cannot launch node of type [map_server/map_server]: map_server>>>!How can I fix it ?

fpetric commented 2 years ago

hi @xiongHCCCCCCCCCCC,

I think you are missing and need to install map_server from the ROS Navigation Stack. Hope that clears the issue.

xionghuachuan commented 2 years ago

Thanks! That work!

xionghuachuan commented 2 years ago

[planner-3] process has died [pid 25545, exit code -11, cmd /home/x/laris_code/devel/lib/lattice_planner/pathPlanner /home/x/laris_code/src/lattice_planner/params/params_p3dx.mat name:=planner log:=/home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/planner-3.log]. log file: /home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/planner-3*.log

when i set the start point with 2D Pose Eistmate AND goal point with 2D Nav Goal ,the red ERRO happend.

fpetric commented 2 years ago

Hi, can you post the whole traceback and possibly log file? From the above, I cannot say what the issue may be.

xionghuachuan commented 2 years ago

Hi, can you post the whole traceback and possibly log file? From the above, I cannot say what the issue may be.

thanks for your answer !! All content of log file is like this: argv[1] = /home/x/laris_code/src/lattice_planner/params/params_p3dx.mat argv[2] = name:=planner argv[3] = log:=/home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/planner-3.log

fpetric commented 2 years ago

ok, that does not help much sadly :'(

can you copy the whole output from the terminal when you run: roslaunch lattice_planner test.launch

xionghuachuan commented 2 years ago

ok:... logging to /home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/roslaunch-x-HP-Pavilion-Notebook-27866.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://x-HP-Pavilion-Notebook:40433/

SUMMARY

PARAMETERS

NODES / dummy (lattice_planner/dummy_robot.py) map_server (map_server/map_server) planner (lattice_planner/pathPlanner) rviz (rviz/rviz)

ROS_MASTER_URI=http://localhost:11311

process[map_server-1]: started with pid [27892] process[dummy-2]: started with pid [27893] process[planner-3]: started with pid [27894] process[rviz-4]: started with pid [27895]

xionghuachuan commented 2 years ago

when I set start point and goal point with ROS kits ,the BIG RED ERRO happend

fpetric commented 2 years ago

[planner-3] process has died [pid 25545, exit code -11, cmd /home/x/laris_code/devel/lib/lattice_planner/pathPlanner /home/x/laris_code/src/lattice_planner/params/params_p3dx.mat name:=planner log:=/home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/planner-3.log]. log file: /home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/planner-3*.log

when i set the start point with 2D Pose Eistmate AND goal point with 2D Nav Goal ,the red ERRO happend.

and the error is just this? I don't have any issues when setting the pose estimate and nav goal (I am also running melodic)

xionghuachuan commented 2 years ago

[planner-3] process has died [pid 25545, exit code -11, cmd /home/x/laris_code/devel/lib/lattice_planner/pathPlanner /home/x/laris_code/src/lattice_planner/params/params_p3dx.mat name:=planner log:=/home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/planner-3.log]. log file: /home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/planner-3*.log when i set the start point with 2D Pose Eistmate AND goal point with 2D Nav Goal ,the red ERRO happend.

and the error is just this? I don't have any issues when setting the pose estimate and nav goal (I am also running melodic) yes,that's error!!what a pity!!!

xionghuachuan commented 2 years ago

[planner-3] process has died [pid 25545, exit code -11, cmd /home/x/laris_code/devel/lib/lattice_planner/pathPlanner /home/x/laris_code/src/lattice_planner/params/params_p3dx.mat name:=planner log:=/home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/planner-3.log]. log file: /home/x/.ros/log/83f6291c-a377-11ec-833b-a402b94a49a3/planner-3*.log when i set the start point with 2D Pose Eistmate AND goal point with 2D Nav Goal ,the red ERRO happend.

and the error is just this? I don't have any issues when setting the pose estimate and nav goal (I am also running melodic)

Anyway ,thank you ,bro!!!!

fpetric commented 2 years ago

Did you manage to get it to work or?