Skip to content

Commit 57a58d5

Browse files
authored
Merge pull request #2 from bdaiinstitute/jlb/fix_enum_handling
Messages with enum handling and a few other small things fixed
2 parents c24941b + 8b1ee85 commit 57a58d5

18 files changed

+12
-29
lines changed

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
510510
"msg/HipRangeOfMotionResult.msg"
511511
"msg/HipRangeOfMotionResultError.msg"
512512
"msg/ICEServer.msg"
513-
"msg/ICEServerservertype.msg"
513+
"msg/ICEServerServertype.msg"
514514
"msg/IREnableDisableRequest.msg"
515515
"msg/IREnableDisableRequestRequest.msg"
516516
"msg/IREnableDisableResponse.msg"
@@ -946,6 +946,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
946946
"msg/SelfRightCommandRequest.msg"
947947
"msg/SensorCompatibilityStatus.msg"
948948
"msg/Sequence.msg"
949+
"msg/SerializedMessage.msg"
949950
"msg/SeriesBlockIndex.msg"
950951
"msg/SeriesBlockIndexBlockEntry.msg"
951952
"msg/SeriesDescriptor.msg"

msg/ConstantValueOneOfValue.msg

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ int8 VALUE_FLOAT_VALUE_SET=1
1212
int8 VALUE_STRING_VALUE_SET=2
1313
int8 VALUE_INT_VALUE_SET=3
1414
int8 VALUE_BOOL_VALUE_SET=4
15+
int8 VALUE_MSG_VALUE_SET=5
1516

1617
# Only one of the above can be filled in. Use the enum to choose which.
1718
int8 value_choice

msg/DoorCommandAutoGraspCommand.msg

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ bool search_ray_end_in_frame_is_set
1313

1414
# The side of the hinge with respect to the robot when facing the door.
1515
bosdyn_msgs/DoorCommandHingeSide hinge_side
16-
bool hinge_side_is_set
1716

1817
# The direction the door moves with respect to the robot.
1918
bosdyn_msgs/DoorCommandSwingDirection swing_direction
20-
bool swing_direction_is_set

msg/DoorCommandAutoPushCommand.msg

-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ bool push_point_in_frame_is_set
99

1010
# The side of the hinge with respect to the robot when facing the door.
1111
bosdyn_msgs/DoorCommandHingeSide hinge_side
12-
bool hinge_side_is_set

msg/DoorCommandWarmstartCommand.msg

-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22

33
# The side of the hinge with respect to the robot when facing the door.
44
bosdyn_msgs/DoorCommandHingeSide hinge_side
5-
bool hinge_side_is_set
65

76
# The direction the door moves with respect to the robot.
87
bosdyn_msgs/DoorCommandSwingDirection swing_direction
9-
bool swing_direction_is_set
108

119
# The type of handle on the door.
1210
bosdyn_msgs/DoorCommandHandleType handle_type
13-
bool handle_type_is_set

msg/EdgeAnnotations.msg

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ bool cost_is_set
4949

5050
# How this edge was made.
5151
bosdyn_msgs/EdgeEdgeSource edge_source
52-
bool edge_source_is_set
5352

5453
# If true, disables alternate-route-finding for this edge.
5554
bool disable_alternate_route_finding

msg/Element.msg

-7
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,3 @@ bool is_skipped
3737
# Considering using various thresholds depending on the target's distance from the dock
3838
bosdyn_msgs/BatteryMonitor battery_monitor
3939
bool battery_monitor_is_set
40-
41-
# Maximum duration of action execution time, including all wrappers.
42-
# If they take longer than this duration, the action will be considered a failure.
43-
# Not including, or including a zero duration will set the action to NOT have a
44-
# timeout.
45-
builtin_interfaces/Duration action_duration
46-
bool action_duration_is_set

msg/GlobalParameters.msg

-6
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,3 @@ int32 self_right_attempts
2424
# is often found in post-mission callbacks includes uploading data to the cloud or
2525
# sending an email. The callbacks will be executed serially (first in, first executed).
2626
bosdyn_msgs/ActionRemoteGrpc[] post_mission_callbacks
27-
28-
# It can be useful to have the robot run a walk without collecting data.
29-
# If this boolean is set to true, the compiled mission will still navigate to the
30-
# target of each element, however it will not actually perform the associated
31-
# action & action wrappers.
32-
bool skip_actions

msg/ICEServer.msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Possible types of servers
66
# STUN or TURN server.
7-
bosdyn_msgs/ICEServerservertype type
7+
bosdyn_msgs/ICEServerServertype type
88
# Network address of the server.
99
string address
1010
# Only the least significant 16 bits are used.
File renamed without changes.

msg/MutateWorldObjectRequestMutation.msg

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
# The action (add, change, or delete) to be applied to a world object.
44
bosdyn_msgs/MutateWorldObjectRequestAction action
5-
bool action_is_set
65

76
# World object to be mutated.
87
# If an object is being changed/deleted, then the world object id must match a world
-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# AUTOMATICALLY GENERATED BY PROTO CONVERSION
22

33
bosdyn_msgs/NamedArmPositionsCommandPositions position
4-
bool position_is_set

msg/NodeInfo.msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ string name
1212
bosdyn_msgs/UserData user_data
1313
bool user_data_is_set
1414
# Info on all children of this node, if any are present.
15-
# bosdyn_msgs/NodeInfo[] children
15+
bosdyn_msgs/SerializedMessage[] children # Serialized bosdyn_msgs/NodeInfo to break recursion

msg/NodeOneOfType.msg

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
string node_reference
99

1010
int8 TYPE_NOT_SET=0
11-
int8 TYPE_NODE_REFERENCE_SET=1
11+
int8 TYPE_IMPL_SET=1
12+
int8 TYPE_NODE_REFERENCE_SET=2
1213

1314
# Only one of the above can be filled in. Use the enum to choose which.
1415
int8 type_choice

msg/ResourceTree.msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
string resource
88

99
# Sub-resources that make up this resource.
10-
# bosdyn_msgs/ResourceTree[] sub_resources
10+
bosdyn_msgs/SerializedMessage[] sub_resources # Serialized bosdyn_msgs/ResourceTree to break recursion

msg/SerializedMessage.msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# AUTOMATICALLY GENERATED BY PROTO CONVERSION
2+
3+
# Message to hold serialized data for recursive messages
4+
int8[] serialized_msg

msg/StreamParamsAwbMode.msg

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# AUTOMATICALLY GENERATED BY PROTO CONVERSION
22

33
bosdyn_msgs/StreamParamsAwbModeEnum awb
4-
bool awb_is_set

msg/WaypointAnnotations.msg

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ bool scan_match_region_is_set
1717

1818
# How this waypoint was made.
1919
bosdyn_msgs/WaypointWaypointSource waypoint_source
20-
bool waypoint_source_is_set
2120

2221
# Information about the state of the client when this waypoint was created.
2322
bosdyn_msgs/ClientMetadata client_metadata

0 commit comments

Comments
 (0)