Skip to content

Commit

Permalink
FW 2.5 Release tweaks (#503)
Browse files Browse the repository at this point in the history
* help message for simple-viz
* disable fps warning
  • Loading branch information
kairenw authored Apr 3, 2023
1 parent 9a81b1d commit d730798
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ouster_client/src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@ bool init_logger(const std::string& log_level, const std::string& log_file_path,

std::shared_ptr<client> init_client(const std::string& hostname, int lidar_port,
int imu_port) {
logger().info("initializing sensor: {} with ports: {}/{}", hostname,
lidar_port, imu_port);
logger().info("initializing sensor: {} with lidar port/imu port: {}/{}",
hostname, lidar_port, imu_port);

auto cli = std::make_shared<client>();
cli->hostname = hostname;
Expand Down
3 changes: 2 additions & 1 deletion ouster_client/src/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,8 @@ static data_format parse_data_format(const Json::Value& root) {
if (root.isMember("fps")) {
format.fps = root["fps"].asInt();
} else {
logger().warn("No fps found. Trying to use one from lidar mode (or 0)");
// logger().warn("No fps found. Trying to use one from lidar mode (or
// 0)");
format.fps = 0;
}

Expand Down
5 changes: 3 additions & 2 deletions python/src/ouster/sdk/simple_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ def main() -> None:
group.add_argument('--sensor', metavar='HOST', help='sensor hostname')
group.add_argument('--pcap', metavar='PATH', help='path to pcap file')
parser.add_argument('--meta', metavar='PATH', help='path to metadata json')
parser.add_argument('--lidar-port', type=int, help='lidar port for sensor')
parser.add_argument('--lidar-port', type=int,
help='configure sensor to use specified port for lidar data if running against sensor')
parser.add_argument('-x',
'--no-auto-dest',
action='store_true',
help='do not auto configure udp destination')
help='do not auto configure udp destination if running against sensor')
parser.add_argument('--extrinsics',
metavar="F",
type=float,
Expand Down

0 comments on commit d730798

Please sign in to comment.