Comments (5)
After running roslaunch carla_ros_bridge client_with_rviz.launch rosbag_fname:=/tmp/save_session.bag and manual_control.py, I got this error :
[INFO] [1547788374.566019, 905.400013]: Reconfigure Request: speed (0.05, 0.0, 0.5),accel (0.02, 0.0, 0.05),
Traceback (most recent call last):
File "/home/kpit/Kartiki/Carla0.9.2/catkin_ws_carla/src/carla_ros_bridge/src/carla_ros_bridge/bridge.py", line 158, in _carla_time_tick
self.update()
File "/home/kpit/Kartiki/Carla0.9.2/catkin_ws_carla/src/carla_ros_bridge/src/carla_ros_bridge/parent.py", line 156, in update
self._create_new_children()
File "/home/kpit/Kartiki/Carla0.9.2/catkin_ws_carla/src/carla_ros_bridge/src/carla_ros_bridge/parent.py", line 101, in _create_new_children
carla_actor=actor, parent=self)
File "/home/kpit/Kartiki/Carla0.9.2/catkin_ws_carla/src/carla_ros_bridge/src/carla_ros_bridge/vehicle.py", line 42, in create_actor
return EgoVehicle.create_actor(carla_actor=carla_actor, parent=parent)
File "/home/kpit/Kartiki/Carla0.9.2/catkin_ws_carla/src/carla_ros_bridge/src/carla_ros_bridge/ego_vehicle.py", line 54, in create_actor
return AckermannControlVehicle(carla_actor=carla_actor, parent=parent)
File "/home/kpit/Kartiki/Carla0.9.2/catkin_ws_carla/src/carla_ros_bridge/src/carla_ros_bridge/ego_vehicle.py", line 327, in init
callback=(lambda config, level: AckermannControlVehicle.reconfigure_pid_parameters(
File "/opt/ros/kinetic/lib/python2.7/dist-packages/dynamic_reconfigure/server.py", line 83, in init
self.set_service = rospy.Service(self.ns + 'set_parameters', ReconfigureSrv, self._set_callback)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 714, in init
get_service_manager().register(self.resolved_name, self)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/service.py", line 116, in register
raise ServiceException(err)
rospy.service.ServiceException: service [/carla/ego_vehicle/set_parameters] already registered
from ros-bridge.
Are you using two ego vehicles? For each you need to run a separate ros-bridge!
from ros-bridge.
@fabianoboril , It is conflicting between the vehicle I have created in manual_control and one from setting.YAML file, how to map vehicle from setting.YAML file to manual_control.py?
from ros-bridge.
Running into the same issue when I was trying to run manual_control.py
with client_with_rviz.launch
, but only when the control_mode
is set to ackermann
(it seemed to work fine with the mode set to pedal
, probably because the pedal controller doesn't use a dynamic reconfigure server). This was on the 0.9.2 ROS bridge version, though, so maybe the issue is resolved now?
from ros-bridge.
The controller has moved to a separate ros node carla_ackermann_control
If you have multiple ego-vehicles, just specify the ros parameter role_name
.
from ros-bridge.
Related Issues (20)
- 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
- The frequency of the ros topic about the vehicle status sent by carla is too low
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.