Comments (5)
I solved this problem using that:
ln -s [PATH_TO_CARLA]/carla_ros_bridge/ ~/ros/catkin_ws_for_carla/src/
source ~/ros/catkin_ws_for_carla/devel/setup.bash
rosdep update
rosdep install --from-paths ~/ros/catkin_ws_for_carla
cd ~/ros/catkin_ws_for_carla
catkin_make
I used the original carla ros bridge as reference since the carla simulator is missing informations like that :(
https://github.com/laurent-george/carla/tree/dev/add_ros_bridge/carla_ros_bridge
But I'm having another problems and ROS bridge still no work here, good luck
from ros-bridge.
Please follow the instructions in the README.md coming with the ros-bridge. This should work. However, we did not test it with ROS Melodic. We only test with ROS Kinetic.
from ros-bridge.
Hi,
Something similar. I am using Carla 0.8.2 and ROS Lunar Ubuntu 16.04 LTS
When I run the
$ roslaunch carla_ros_bridge client.launch
I get the following error. Please advice.
SUMMARY
PARAMETERS
- /carla/Episodes: 2
- /carla/Framesperepisode: -1
- /carla/NumberOfPedestrians: 10
- /carla/NumberOfVehicles: 30
- /carla/QualityLevel: Low
- /carla/SendNonPlayerAgentsInfo: True
- /carla/SynchronousMode: True
- /carla/WeatherId: 1
- /carla/host: localhost
- /carla/port: 2000
- /carla/sensors/camera_depth/SensorType: CAMERA
- /carla/sensors/camera_depth/carla_settings/FOV: 90
- /carla/sensors/camera_depth/carla_settings/ImageSizeX: 320
- /carla/sensors/camera_depth/carla_settings/ImageSizeY: 240
- /carla/sensors/camera_depth/carla_settings/PositionX: 1.8
- /carla/sensors/camera_depth/carla_settings/PositionY: 0
- /carla/sensors/camera_depth/carla_settings/PositionZ: 1.3
- /carla/sensors/camera_depth/carla_settings/PostProcessing: Depth
- /carla/sensors/camera_depth/carla_settings/RotationPitch: 0
- /carla/sensors/camera_depth/carla_settings/RotationRoll: 0
- /carla/sensors/camera_depth/carla_settings/RotationYaw: 0
- /carla/sensors/camera_front/SensorType: CAMERA
- /carla/sensors/camera_front/carla_settings/FOV: 90
- /carla/sensors/camera_front/carla_settings/ImageSizeX: 320
- /carla/sensors/camera_front/carla_settings/ImageSizeY: 240
- /carla/sensors/camera_front/carla_settings/PositionX: 1.8
- /carla/sensors/camera_front/carla_settings/PositionY: 0
- /carla/sensors/camera_front/carla_settings/PositionZ: 1.3
- /carla/sensors/camera_front/carla_settings/PostProcessing: SceneFinal
- /carla/sensors/camera_front/carla_settings/RotationPitch: 0
- /carla/sensors/camera_front/carla_settings/RotationRoll: 0
- /carla/sensors/camera_front/carla_settings/RotationYaw: 0
- /carla_autopilot: True
- /curr_episode:
- /rosbag_fname:
- /rosdistro: lunar
- /rosversion: 1.13.7
NODES
/
carla_ros_bridge (carla_ros_bridge/client.py)
[1mROS_MASTER_URI=http://192.168.0.122:11311/ [0m
]2;/home/xdsim/catkin_ws/src/carla_ros_bridge/client.launch http://192.168.0.122:11311/
[1mprocess[carla_ros_bridge-1]: started with pid [7473] [0m
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
from ros-bridge.
Hi,
I have also faced this problem.Have you solve it ?
auto-starting new master
process[master]: started with pid [3717]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 65386268-4210-11e9-a3c1-4ccc6a9ba76e
process[rosout-1]: started with pid [3728]
started core service [/rosout]
process[carla_ros_bridge-2]: started with pid [3734]
Traceback (most recent call last):
File "/home/wss/Work/carla/catkin_ws_for_carla/src/src/carla_ros_bridge/client.py", line 16, in
from carla_ros_bridge.bridge import CarlaRosBridge
File "/home/wss/Work/carla/catkin_ws_for_carla/src/src/carla_ros_bridge/bridge.py", line 18, in
from derived_object_msgs.msg import ObjectArray
ImportError: No module named derived_object_msgs.msg
[carla_ros_bridge-2] process has died [pid 3734, exit code 1, cmd /home/wss/Work/carla/catkin_ws_for_carla/src/src/carla_ros_bridge/client.py __name:=carla_ros_bridge __log:=/home/wss/.ros/log/65386268-4210-11e9-a3c1-4ccc6a9ba76e/carla_ros_bridge-2.log].
log file: /home/wss/.ros/log/65386268-4210-11e9-a3c1-4ccc6a9ba76e/carla_ros_bridge-2*.log
from ros-bridge.
Wang-Dashan, I solved this problem doing that:
ln -s [PATH_TO_CARLA]/carla_ros_bridge/ ~/ros/catkin_ws_for_carla/src/
source ~/ros/catkin_ws_for_carla/devel/setup.bash
rosdep update
rosdep install --from-paths ~/ros/catkin_ws_for_carla
cd ~/ros/catkin_ws_for_carla
catkin_make
from ros-bridge.
Related Issues (20)
- Shutting down node using Ctrl+C, doesnt completely destroy all the spawned objects HOT 1
- UE4-CarlaUE4 crashes while importing .fbx file in the content browser, also at first python3.6 stops working and then UE4-CarlaUE4
- Can not find the location of senor_msgs in ros-bridge? HOT 1
- Bump CARLA version to 0.9.14 HOT 1
- Can carla_ros_bridge be used on windows? HOT 1
- PCL Recorder - Could not create directory
- How does CARLA server transmit simulation data through the TCP Socket to ROS? HOT 1
- Missing 0.9.13 Tag
- ROS2 😿[ERROR] [bridge-1]: process has died😿 HOT 2
- Linker error librviz_carla_plugin.so: undefined symbol: fromMsg HOT 2
- My ROS system is ROS2 foxy, but there was an error compiling ROS bridge on Ubuntu 20. I don't know how to solve it HOT 8
- About origin of spawn_point
- Lidar sensor doesn't recognize map made by RoadRunner HOT 2
- Unable to record any carla_msgs HOT 1
- Use_sim_time HOT 1
- AttributeError: 'float' object has no attribute 'arctan2'
- [bridge-1] ModuleNotFoundError: No module named 'rclpy._rclpy'
- Argument list too long on build
- Rosbag replay error
- Map imports are inconsistent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros-bridge.